Set colours directly as css vars.

This commit is contained in:
Fredrik Jonsson 2025-03-24 19:42:01 +01:00
commit 99abd54150

View file

@ -5,7 +5,7 @@
position: relative;
// stylelint-disable-next-line max-line-length
background-image: repeating-linear-gradient(180deg, $debug-color, $debug-color 1px, transparent 1px, transparent $grid-height);
background-image: repeating-linear-gradient(180deg, var(--color-debug-color), var(--color-debug-color) 1px, transparent 1px, transparent $grid-height);
&::after {
content: '';
@ -14,7 +14,7 @@
left: 0;
height: 1px;
width: 100%;
background-color: $debug-color;
background-color: var(--color-debug-color);
}
}
}