Add --nbx-color-* variables for theme colors

Preparatory work for moving row styling to CSS
This commit is contained in:
Per von Zweigbergk 2023-09-23 21:43:32 +02:00
parent d76ede17d3
commit 41e1f24cf7
4 changed files with 10 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

@ -835,6 +835,13 @@ table tbody {
}
}
// Expose theme colors as variables. (Useful for dynamic styling of choices etc.)
:root {
@each $color, $value in $theme-colors {
--nbx-color-#{$color}: #{$value};
}
}
// Style objects with statuses/roles within a table. As of implementation, used for IP addresses
// assigned to interfaces.
table .table-badge-group {