jerrykuku / luci-theme-argon

Argon is a clean and tidy OpenWrt LuCI theme that allows users to customize their login interface with images or videos. It also supports automatic and manual switching between light and dark modes.
Apache License 2.0
3.99k stars 783 forks source link

Text for interfaces in firewall settings are really hard to see in Dark Mode #205

Open NovaViper opened 3 years ago

NovaViper commented 3 years ago

Describe the bug The colored blocks in the Firewall settings for the firewall rules are extremely hard to see on Dark Mode

To Reproduce Steps to reproduce the behavior:

  1. Apply Argon's dark mode
  2. Go to Firewall settings
  3. See error

Expected behavior The text for the names of the colored blocks to be easily readiable, not grey.

Screenshots The text color is grey, which ontop of a bright color is really hard to see

Openwrt (please complete the following information):

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context image

jerrykuku commented 3 years ago

Thank you, it will be fixed in the next version

NovaViper commented 3 years ago

Uh, did an update ever come out to fix this?

k0n5n commented 2 days ago

I managed to fix it like this:

  1. SSH to your router: ssh root@192.168.0.1
  2. Navigate to CSS directory: cd /www/luci-static/argon/css
  3. Backup current css cp dark.css dark.css.bak
  4. Edit dark.css vi dark.css Find the css rule for ifacebox-head Change .ifacebox-head{color:#fff to .ifacebox-head{color:#333
  5. Reload the page in your browser
k0n5n commented 2 days ago

Sorry, this only changes the interface name in the 'Interfaces' view which was my problem, for the firewall settings you would also need to change .cbi-section em{color:#ccc} to .cbi-section em{color:#333}