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

オープン
#5,912 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
css, php, scss
領域
design, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
PHP
スター
1.2k
フォーク
926
平均マージ
1日 10時間
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opnsense/plugins のほかの issue

opnsense/plugins の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。