misc/theme-forja: new theme (dark brushed steel, CSS only)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- Over a week
- Newbie friendliness
- 18/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- css, scss
- Domain
- frontend
Research direction
The theme plugin is proposed under misc/theme-forja, laid out like misc/theme-cicada, with the stylesheets under src/opnsense/www/themes/forja/. Start by comparing that layout with the cicada plugin and the default opnsense theme to see which classes and assets must stay untouched. Before any patch, the maintainers need to answer the four open questions in the body: logo and trademark, Sass compiler, plugin name, and light variant. Done means the maintainers have decided those points and the plugin builds and installs cleanly.
Written by the indexing model from the issue text.
Description
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe.
Hi, before opening a PR I'd like your feedback on a new theme. Our community is crucial in shaping the ongoing development of our open-source OPNsense® software products.
OPNsense has a handful of theme plugins, but none with a metal / industrial look. I made one for my own firewall and would like to share it as a plugin, without touching core.
Describe the solution you'd like
What it is
Forja ("forge" in Portuguese) is a dark theme derived from the default opnsense theme. It keeps the original page structure, classes and JavaScript untouched and only changes the look:
- brushed-steel surfaces in three tones (page background < menu and rails < content plates), done with inline SVG noise, no image files;
- content panels as framed plates with small rivets in the corners, engraved section titles, raised buttons and sunken input fields;
- ember-orange accent (
#F97316) for the active menu item, links, focus ring and primary buttons; - the main text/background pairs checked for WCAG contrast ≥ 4.5:1;
- covers the dashboard widgets, Tabulator and bootgrid grids, MVC forms and dialogs, the legacy
*.phpform tables, the sticky Save bar, the log viewers and mobile layouts (390–800 px, no horizontal page scrolling); - uses the Source Sans Pro fonts and glyphicons already served by the default theme (no extra fonts, no external resources, works offline).
Package
Same layout as the existing themes (e.g. misc/theme-cicada):
misc/theme-forja/
Makefile PLUGIN_NAME=theme-forja, PLUGIN_VERSION=1.0, PLUGIN_NO_ABI=yes
pkg-descr
src/opnsense/www/themes/forja/
LICENSE BSD 2-Clause (+ MIT notices for the Bootstrap 3 and bootstrap-select partials)
assets/ SCSS sources and build notes
build/css/ compiled stylesheets
build/images/ logo, favicon, caret and the small SVG icons used by the stylesheet
About 100 files and 1.3 MB, most of it the SCSS sources and the Bootstrap partials. There is no theme.js: the plugin is CSS only. Some behaviour I built for my own firewall (grid column fitting, expand/collapse buttons for trees, chart colours that follow the theme) needs JavaScript; if you find any of it useful I would propose it separately to opnsense/core, one small PR each, so it works for every theme.
Inline data: SVGs are moved to files under build/images/ after compiling, because the legacy pages have a Content Security Policy without data: in img-src.
Questions before I open the PR
- Logo. The theme uses the OPNsense 10-year anniversary logo, with the official drawing and orange. Is that acceptable regarding the OPNsense® trademark, or should the plugin ship the logo of the default theme?
- Sass compiler. I compiled with
sassc(libsass). A handful of expressions in the Bootstrap 3 partials usecalc()for Sass math, which libsass doesn't evaluate, so I adapted them. Which compiler do you use for theme plugins, so I can keep the partials identical to yours? - Name. Is
theme-forjafine, or would you prefer an English name? - Light variant. I also have a light version (lighter brushed steel). Would you rather have it in the same plugin as a second theme folder, later in a follow-up, or not at all?
I'm happy to keep the PR small and to maintain the plugin. Maintainer: igortoledo007 (please reach me here on GitHub).
Describe alternatives you've considered
- Keeping it as a local customisation: works for me, but nobody else can install or update it.
- Changing the default theme: themes are meant to live in plugins, and the default look should stay as it is.
Additional context
AI disclosure
Developed with AI assistance: Claude (Anthropic), a mix of the Fable 5.2 and Opus 5.5 models. I reviewed and tested the result on my own OPNsense 26.7.9 firewall.
Screenshots
Taken on my own firewall running OPNsense 26.7.9; addresses, interface, gateway and host names are blurred.
- Login
- Dashboard
- Firewall: Rules
- Lobby: License
- Form with the sticky Save bar (System: Settings: Administration)
- Confirmation panel (Power: Reboot)
- Dominant language
- PHP
- Stars
- 1.2k
- Forks
- 926
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 25
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opnsense/plugins
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opnsense/plugins#5976 · 1 comment ·
Maintainers usually reply within 1 day
-
net/haproxy: IPv6 literal in real server "Source address" generates an invalid `source` directiveOpenincomplete
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
opnsense/plugins#5973 · 1 comment ·
Maintainers usually reply within 1 day
-
[dns/ddclient] Support hiding unused standard fields per service (optional_hiding)Possibly taken @bringha1 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
q-feeds-connector: "error in configd communication" every update when the Unbound DNSBL rebuild takes longer than 120sPossibly taken @mhatipog claimed this 9 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
All issues in opnsense/plugins
Similar issues
-
15.0
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
open-telemetry/opentelemetry-php-distro#176 ·
Maintainers usually reply within 2 days
-
No Code Attached Yet
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
joomla/joomla-cms#48941 ·
Maintainers usually reply within 1 day
-
needs-triage Platform(Default)
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug new
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
moodle-an-hochschulen/moodle-theme_boost_union#1500 ·
Maintainers usually reply within 1 day