Created
May 18, 2022 08:00
-
-
Save hudochenkov/3b7348722adae84a2f834c0949940387 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
// This is in custom theme | |
$colorMain: red; | |
// $colorSec: blue; | |
// $colorSec: $colorMain; | |
// This in default theme | |
$colorMain: #0af !default; // Allow to override color from other theme | |
$colorMain: var(--user-brandPrimary500, $colorMain); | |
$colorSec: $colorMain !default; // Allow to override color from other theme | |
$colorSec: var(--user-theme-secondaryColor, $colorSec); | |
a { | |
color: $colorMain; | |
color: $colorSec; | |
} |
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
a { | |
color: var(--user-brandPrimary500, red); | |
color: var(--user-theme-secondaryColor, var(--user-brandPrimary500, red)); | |
} |
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