mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-16 13:11:03 +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
|
// returns $n and adds $offset when the theme is light
|
||||||
@function lightOffset($n, $offset) {
|
@function lightOffset($n, $offset) {
|
||||||
@return calc($n + $offset * var(--is_light));
|
@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 "Util";
|
||||||
@import "Colors";
|
@import "Colors";
|
||||||
@import "Fonts";
|
@import "Fonts";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue