move sass invert into Util

This commit is contained in:
Send_Nukez 2021-12-01 06:15:33 +01:00
parent 8747efdd7b
commit 8968202a3e
2 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,8 @@
// SASS overwrites the CSS invert function so we overwrite it back
@function invert($v) {
@return #{"invert("}$v#{")"};
}
// returns $n and adds $offset when the theme is light
@function lightOffset($n, $offset) {
@return calc($n + $offset * var(--is_light));

View file

@ -1,8 +1,3 @@
// SASS overwrites the CSS invert function so we overwrite it back
@function invert($v) {
@return #{"invert("}$v#{")"};
}
@import "Util";
@import "Colors";
@import "Fonts";