From b3e1c7c62f2dafba180633d6f943338cf77e0aa9 Mon Sep 17 00:00:00 2001 From: Francis Rupert Date: Wed, 8 Mar 2023 10:19:35 -0600 Subject: [PATCH] feat(dark): subtle surfaces for critical, warning, info, success --- base.json | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/base.json b/base.json index 510e69e..b485614 100644 --- a/base.json +++ b/base.json @@ -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": {