New skin "flexcolor"

Started by Schnuffel2008, September 21, 2025, 12:13:29 PM

Previous topic - Next topic

For everyone using my new theme flexcolor (if there is one). I have to admit there's a bug in the black color scheme.

When you set a filter in the firewall's live view, the filter is displayed in white text on a white background, as seen in the attached image black_wrong.

Thanks to the system's ability to flexibly change the skin's colors, you can easily fix this bug by yourself.

To do so, open the following file with a text editor:

/usr/local/opnsense/www/themes/flexcolor/build/color_schemes/black/default_scheme.css

Change the following line:

Line 21: --badgeback: #E6E6E6; /* badge background & progress-bar & blockquote*/
to, for example, --badgeback: #2651A6; /* badge background & progress-bar & blockquote*/

This will turn it a shade of blue, as seen in the image black_right. You can also choose any other suitable color that you like and that provides a good contrast to black and white.

Then log into the OPNsense shell and enter "service flexcolor restart". The new color will then be saved, but only until the file is overwritten in an update or after a reinstallation. I will permanently fix this bug in the next skin release.