Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
feat(dark): subtle surfaces for critical, warning, info, success
Browse files Browse the repository at this point in the history
  • Loading branch information
francisrupert committed Mar 8, 2023
1 parent 7f73811 commit b3e1c7c
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2451,17 +2451,70 @@
"type": "color",
"description": "danger, error"
},
"critical-subtle": {
"value": "{color.red.100}",
"type": "color",
"description": "danger, error",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "darken",
"value": ".5",
"space": "hsl"
}
}
}
},
"warning": {
"value": "{color.gold.100}",
"type": "color"
},
"warning-subtle": {
"value": "{color.gold.100}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "darken",
"value": ".5",
"space": "hsl"
}
}
}
},
"success": {
"value": "{color.green.100}",
"type": "color"
},
"success-subtle": {
"value": "{color.green.100}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "darken",
"value": ".5",
"space": "hsl"
}
}
}
},
"info": {
"value": "{color.blue.100}",
"type": "color"
},
"info-subtle": {
"value": "{color.blue.100}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "darken",
"value": ".4",
"space": "hsl"
}
}
}
}
},
"border": {
Expand Down

0 comments on commit b3e1c7c

Please sign in to comment.