Skip to content

Instantly share code, notes, and snippets.

@espiat
Created December 10, 2022 13:58
Show Gist options
  • Save espiat/296c0b2ccb16ef78c0bad4c43d6d303a to your computer and use it in GitHub Desktop.
Save espiat/296c0b2ccb16ef78c0bad4c43d6d303a to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
$brand__colors: (
primary: (
"h": 100,
"l": 50%,
"s": 15%,
"a": 0.9
),
secondary: (
"h": 100,
"l": 50%,
"s": 15%,
"a": 0.9
)
);
@each $key, $value in $brand__colors {
--#{$key}-color {
color: hsla( map-get($value, h), map-get($value, l) , map-get($value, s) , map-get($value, a));
}
}
--primary-color {
color: rgba(32, 57, 19, 0.9);
}
--secondary-color {
color: rgba(32, 57, 19, 0.9);
}
{
"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