mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Add --nbx-color-* variables for theme colors
Preparatory work for moving row styling to CSS
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user