replace deprecated Sass @import rules with @use
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
---
|
||||
---
|
||||
|
||||
@import "colors";
|
||||
@use "colors" as c;
|
||||
|
||||
:root {
|
||||
@include colors;
|
||||
@include light-colors;
|
||||
@include c.colors;
|
||||
@include c.light-colors;
|
||||
}
|
||||
|
||||
@media screen and (prefers-color-scheme: dark) {//we would not like to apply dark mode if content is on printer as that would use a lot of ink
|
||||
:root{
|
||||
@include dark-colors;
|
||||
@include c.dark-colors;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user