Skip to content

Instantly share code, notes, and snippets.

@GarthDB
Last active May 11, 2023 16:25
Show Gist options
  • Save GarthDB/f1e62a37c70c53702abe8732d708b690 to your computer and use it in GitHub Desktop.
Save GarthDB/f1e62a37c70c53702abe8732d708b690 to your computer and use it in GitHub Desktop.
Express overrides
{
"corner-radius-75": {
"sets": {
"spectrum": {
"sets": {
"desktop": {
"value": "2px"
},
"mobile": {
"value": "2px"
}
}
},
"express": {
"sets": {
"desktop": {
"value": "3px",
"deprecated": true,
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2."
},
"mobile": {
"value": "4px",
"deprecated": true,
"deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2."
}
}
}
}
}
}
{
"corner-radius-75": {
"value": "2px"
}
}
{
"corner-radius-75": {
"sets": {
"desktop": {
"value": "3px"
},
"mobile": {
"value": "4px"
}
}
}
}
.spectrum--large {
--spectrum-corner-radius-75: 3px;
}
.spectrum--medium {
--spectrum-corner-radius-75: 4px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment