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

Aperta
#5,912 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
css, php, scss
Ambito
design, frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
PHP
Stelle
1.2k
Fork
926
Merge medio
1g 10h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opnsense/plugins

Tutte le issue di opnsense/plugins

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.