add base framework styles

This commit is contained in:
Steve Ross
2024-11-05 17:19:47 +00:00
parent 2204d6691c
commit 6cd48fdd31
33 changed files with 1011 additions and 8 deletions

View File

@@ -0,0 +1,26 @@
@use "sass:color";
@mixin generate_colour_classes($name, $hex) {
.#{$name} {
color: $hex;
}
.fill-#{$name} {
fill: $hex;
}
.border-#{$name} {
border-color: $hex;
}
@media screen {
.bg-#{$name} {
background-color: $hex;
::selection {
@include text_contrast(color.invert($hex));
background: color.invert($hex);
}
}
}
}