forumify / forumify-riso-theme
A risograph print zine: fluorescent inks, misregistered offset shadows and paper grain.
Package info
github.com/forumify/forumify-riso-theme
Language:CSS
Type:forumify-theme
pkg:composer/forumify/forumify-riso-theme
Requires
- php: >=8.4
- forumify/forumify-platform: ^1.3
- forumify/forumify-theme: ^1.0
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpstan/phpstan-symfony: ^2.0
- slevomat/coding-standard: ^8.15
- squizlabs/php_codesniffer: ^3.13
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-11 18:42:28 UTC
README
A risograph print zine: fluorescent inks, misregistered offset shadows and paper grain.
A risograph print zine. Two fluorescent inks, pink and blue, on recycled paper, run through the press slightly out of register: page titles carry a pink ghost and every panel casts a hard pink offset instead of a soft shadow. Paper grain sits on top of everything, the header bleeds into a halftone field and forum groups take turns being printed in blue, pink and yellow. Buttons have an ink edge and press down when clicked.
Dark mode reprints the zine with the same inks on navy stock.
Type is set in Bricolage Grotesque, condensed and heavy for headings.
Screenshots
| Light | Dark |
|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Phone | Phone menu |
|---|---|
![]() |
![]() |
How it is built
The theme only styles forumify's own CSS framework: box, card, the btn-* buttons,
menus, form fields, tables, tabs, tags and alerts, plus the forum's own building blocks.
It overrides no templates. Pages added by forumify updates or by plugins are built from
the same classes, so they pick up the look without any extra work.
Every colour comes from a theme variable. forumify writes the light or dark set of variables depending on the visitor's preference, and the stylesheet never needs to know which one is active. forumify's own variables keep their meaning (the admin panel uses them too), only their defaults change.
Theme variables
On top of forumify's own colours, borders and font size, the theme adds these. All of them can be changed under Admin → Settings → Themes, separately for dark mode.
| Variable | What it does |
|---|---|
riso-ink |
Outlines, rules and the hard shadow behind buttons |
riso-pink |
The second ink: offset shadows and misregistered headings |
riso-blue |
Third drum, used for alternating forum groups |
riso-yellow |
Highlighter, active states and the editor toolbar |
riso-paper |
Page background |
riso-offset |
How far the pink layer is printed out of register |
riso-grain |
Opacity of the paper grain, 0 to 1 |
riso-font |
Font family |
color-scheme |
light or dark, so native controls and scrollbars match |
Requirements
- PHP 8.4 or newer
- Composer
What's in here
src/
RisoTheme.php Theme class: name, author, stylesheets, variables
public/
style.css Loaded on every page while the theme is active
templates/ Overrides for forumify's and plugins' templates
Two things in composer.json make it a theme:
{
"type": "forumify-theme",
"extra": {
"forumify-plugin-class": "Forumify\\RisoTheme\\RisoTheme"
}
}
forumify discovers installed themes by that package type, and reads the class named in
extra for the theme's name, stylesheets and variables.
Variables
Your theme class extends forumify's base theme, so it starts out with every variable forumify's own styles rely on: colours, elevations, borders and font size. Admins can change all of them under Admin → Settings → Themes, with separate values for dark mode.
Add your own by overriding getThemeConfig(), the docblock on your theme class shows
how. Each variable becomes a CSS custom property:
.header { background-color: var(--c-header); }
Stylesheets and other static files
Everything in public/ is linked into the forumify instance at
public/themes/forumify/forumify-riso-theme/ when the theme is installed or refreshed.
Stylesheets listed in getStylesheets() are loaded on every page, anything else
(images, fonts) can be referenced relative to them.
Using an asset builder for sass or similar? Keep the sources in assets/ and build into
public/: only public/ reaches the forumify instance.
Overriding templates
Templates in templates/ replace forumify's own. The first directory is Forumify for
core templates, or the plugin class name for a plugin's templates:
templates/Forumify/frontend/forum/list.html.twig
templates/AcmeCalendarPlugin/frontend/calendar.html.twig
Extend the original with the @! prefix and override only the blocks you need, so your
theme keeps working when forumify updates the template:
{% extends '@!Forumify/frontend/forum/list.html.twig' %}
{% block body %}
<div class="flex gap-4">
{{ parent() }}
</div>
{% endblock %}
Missing a block you need? Add it to the original template and open a pull request on the platform repository.
Developing against a forumify instance
Point a local forumify instance at your working copy with a path repository, so your changes are live without publishing anything:
cd /path/to/your/forumify-instance
composer config repositories.forumify-riso-theme path /path/to/forumify-riso-theme
composer require forumify/forumify-riso-theme:@dev
The theme then shows up under Admin → Settings → Themes, where you can activate it. If it doesn't, refresh the plugin list:
php bin/console forumify:plugins:refresh
Code quality
make quality # phpcs + phpstan make quality-fix # fix what phpcs can fix automatically
Publishing
- Push the repository to GitHub.
- Submit it to Packagist.
- Tag a release. Users install it with
composer require forumify/forumify-riso-theme.











