Skip to content

Instantly share code, notes, and snippets.

@mdo
Created August 4, 2021 20:09
Show Gist options
  • Save mdo/e9f86edcc0eb8e5d976b479958cd7982 to your computer and use it in GitHub Desktop.
Save mdo/e9f86edcc0eb8e5d976b479958cd7982 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
$theme-colors: (
"primary": blue,
"secondary": gray,
"success": green
) !default;
$theme-colors: map-merge($theme-colors, (
"disabled": gray,
));
@each $color, $value in $theme-colors {
.text-#{$color} { color: $value; }
}
.text-primary {
color: blue;
}
.text-secondary {
color: gray;
}
.text-success {
color: green;
}
.text-disabled {
color: gray;
}
{
"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