Add 15% alpha variants of --nbx-color

Preparatory work for factoring row styling out of Python
This commit is contained in:
Per von Zweigbergk 2023-09-23 23:01:08 +02:00
parent 41e1f24cf7
commit d44f67aea5
4 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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)};
}
}