mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-15 04:31:06 +00:00
move sass invert into Util
This commit is contained in:
parent
8747efdd7b
commit
8968202a3e
2 changed files with 5 additions and 5 deletions
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue