Skip to content

Instantly share code, notes, and snippets.

@hudochenkov
Created May 18, 2022 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hudochenkov/3b7348722adae84a2f834c0949940387 to your computer and use it in GitHub Desktop.
Save hudochenkov/3b7348722adae84a2f834c0949940387 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// 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;
}
a {
color: var(--user-brandPrimary500, red);
color: var(--user-theme-secondaryColor, var(--user-brandPrimary500, red));
}
{
"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