From 8968202a3e5d426cef1c38d0bda53264b09ea2b2 Mon Sep 17 00:00:00 2001 From: Send_Nukez Date: Wed, 1 Dec 2021 06:15:33 +0100 Subject: [PATCH] move sass invert into Util --- src/styles/Util.scss | 5 +++++ src/styles/main.scss | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/styles/Util.scss b/src/styles/Util.scss index fce7e99..44a357f 100644 --- a/src/styles/Util.scss +++ b/src/styles/Util.scss @@ -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)); diff --git a/src/styles/main.scss b/src/styles/main.scss index f8bd4cb..004b209 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -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";