mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Add 15% alpha variants of --nbx-color
Preparatory work for factoring row styling out of Python
This commit is contained in:
@@ -836,9 +836,11 @@ table tbody {
|
||||
}
|
||||
|
||||
// Expose theme colors as variables. (Useful for dynamic styling of choices etc.)
|
||||
// Both as opaque colour and translucent (alpha 15%)
|
||||
:root {
|
||||
@each $color, $value in $theme-colors {
|
||||
--nbx-color-#{$color}: #{$value};
|
||||
--nbx-color-#{$color}-a15: #{rgba($value, 0.15)};
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user