luci/modules/luci-base
Jo-Philipp Wich d775279dbd luci-base: firewall.js: add getZoneColorStyle() helper
The getZoneColorStyle() function will produce CSS style properties that
describe the color value of the zone. The color declaration is divided
into a CSS variable called `--zone-color-rgb` which holds the RGB value
of the color and a `background-color` property assigning these values
as background property.

This allows themes to override the color with derived values, e.g. by
applying an alpha channel.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-11 13:00:50 +01:00
..
htdocs luci-base: firewall.js: add getZoneColorStyle() helper 2021-11-11 13:00:50 +01:00
luasrc timezone data: update to 2021e 2021-10-28 21:24:18 +03:00
po Translated using Weblate (Danish) 2021-11-10 21:29:26 +02:00
root luci-base: add "dsl" system feature 2021-10-28 14:43:29 +02:00
src luci-base: Import latest version of jsmin 2020-03-01 08:50:30 +08:00
Makefile luci-base: update dependency to luci-lib-base 2020-07-19 20:15:00 +02:00