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 e549d2fb32
commit df34e10ee5
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 // Style objects with statuses/roles within a table. As of implementation, used for IP addresses
// assigned to interfaces. // assigned to interfaces.
table .table-badge-group { table .table-badge-group {