Custom OPNsense theme package repository.
cd src/unsense-theme
yarn install
yarn buildcd src/unsense-theme
yarn build # copies fonts/images + compiles SCSS → build/Output goes to src/unsense-theme/build/:
build/
├── css/main.css
├── fonts/
└── images/
cd src/unsense-theme
sh scripts/package.sh
# → repo/FreeBSD_14_amd64/opnsense-theme-unsense-1.0.txzThe script stages build/* into usr/local/opnsense/www/themes/unsense/, generates a +MANIFEST, and archives into a .txz.
The Makefile in src/unsense-theme/ defines plugin metadata for the OPNsense build system:
PLUGIN_NAME= theme-unsense-dark
PLUGIN_VERSION= 0.1
PLUGIN_REVISION= 1build_collect stages build/* into work/src/usr/local/opnsense/www/themes/unsense/ for the plugin framework (expects ../../Mk/plugins.mk).
sudo pkg add -f work/opnsense-theme-mytheme-1.0.txzThen select the theme at System > Settings > General.
Theme files install to /usr/local/opnsense/www/themes/unsense/ on the OPNsense appliance.