Move sass lib folder down one level. Move css colour var generation to styles file.
This commit is contained in:
parent
a1e745c686
commit
440cb44207
1 changed files with 9 additions and 9 deletions
|
|
@ -6,6 +6,14 @@
|
|||
|
||||
@import 'init';
|
||||
|
||||
// Convert colour map to css4 variables.
|
||||
// Use like this: var(--color-brand)
|
||||
:root {
|
||||
@each $name, $color in $colors {
|
||||
--color-#{$name}: #{$color};
|
||||
}
|
||||
}
|
||||
|
||||
// Ensure fonts get loaded first to minimize front-end performance impact.
|
||||
|
||||
@import 'fonts';
|
||||
|
|
|
|||
Loading…
Reference in a new issue