misc/theme-magikh0e: new theme (dark terminal look)

Open
#5,912 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
css, php, scss
Domain
design, frontend

Research direction

Read the existing theme layout and Rebellion stylesheet in the OPNsense plugins repository, then compare their build rules for SCSS and fonts. Implement the new theme under misc/theme-magikh0e with the described palette, widgets, accessibility behavior, and bundled font licenses. Done means it follows the existing theme layout, builds into build/css and build/fonts, and covers the listed widgets.

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:

Is your feature request related to a problem? Please describe.
Not a problem as such: I'd like to contribute a new theme, and CONTRIBUTING asks for an issue before a new plugin's pull request. This replaces #5910, which didn't use a template.

Describe the solution you'd like
A new plugin, misc/theme-magikh0e: a dark, terminal-style theme that matches the look of my site, magikh0e.pl. It's grey text on near-black (#0a0a0a) with an olive green accent (#8FB65F), JetBrains Mono for the UI and VT323 for page titles and dialog headings.

  • Sidebar submenus are drawn as a tree (├── / └──), and the current page gets a small dot on its branch.
  • Tabs, inputs, buttons, alerts and labels share one style: tinted outlines and square corners.
  • Status colors stay separate from the accent: green for OK, cyan for info, gold for warnings, red for errors. Text and background pairs meet WCAG AA.
  • Faint scanlines are turned off for print and under prefers-contrast: more, and the title cursor stops blinking under prefers-reduced-motion.

The base is Rebellion's stylesheet with its colors re-mapped, so it covers the same widgets (bootgrid, tabulator, bootstrap-select, dialogs, dashboard). The theme's own rules sit in a separate SCSS partial with the palette as CSS custom properties, compiled into build/css like the other themes. It's BSD 2-Clause. The fonts (JetBrains Mono and VT323, latin subsets) are SIL OFL 1.1 and ship in build/fonts with the license text, so nothing loads from a CDN.

If this is welcome, I'll open the PR with the same layout as the existing themes.

Describe alternatives you've considered
Keeping it outside the plugin repository. For now it's on my site as a tarball with an install script (https://magikh0e.pl/pubCode/opnsense-theme.html), but a plugin is easier to install and keep updated from the GUI.

Additional context
I've been running it on 26.7.9. Screenshots are from a test page with example data:

Settings page and a grid
Labels, buttons, progress bars, a menu and a dialog
Login page

Dominant language
PHP
Stars
1.2k
Forks
926
Avg merge
1d 10h
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from opnsense/plugins

All issues in opnsense/plugins

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.