Last active
September 1, 2022 16:48
-
-
Save krivaten/66f2687278738a0c18219c0b78ab720e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Goes into theme file | |
$tecton-variable-shims: ( | |
--t-primary: 400, | |
--t-secondary: 500, | |
--t-tertiary: 700 | |
); | |
// Goes into Tecton files | |
$tecton-variable-shims: () !default; | |
[data-tecton-module] { | |
@each $name, $value in $tecton-variable-shims { | |
#{$name}: $value; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[data-tecton-module] { | |
--t-primary: 400; | |
--t-secondary: 500; | |
--t-tertiary: 700; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment