From 12deddeb3f0fe70d397738a283158fe6997b20c5 Mon Sep 17 00:00:00 2001 From: Tim Sielemann Date: Tue, 10 Nov 2026 08:58:58 +0100 Subject: [PATCH 1/2] feat(tokens): add css prop for tokens --- tokens/src/color/ui.json | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/tokens/src/color/ui.json b/tokens/src/color/ui.json index e96aefc5..635aa97f 100644 --- a/tokens/src/color/ui.json +++ b/tokens/src/color/ui.json @@ -9,24 +9,45 @@ }, "cssProp": "bg" }, - "surface": { "$type": "color", "$value": "{color.base.white}" }, + "surface": { + "$type": "color", + "$value": { + "value": "{color.base.white}" + }, + "cssProp": "bg-surface" + }, "surfaceInverted": { "$type": "color", "$value": "{color.base.neutral.700}" }, "muted": { "$type": "color", - "$value": "{color.base.neutral.100}" + "$value": { + "value": "{color.base.neutral.100}" + }, + "cssProp": "bg-muted" + }, + "input": { + "$type": "color", + "$value": { + "value": "{color.base.white}" + }, + "cssProp": "bg-input" }, - "input": { "$type": "color", "$value": "{color.base.white}" }, "inputAutofill": { "$type": "color", "$value": "#e8f0fe" }, "skeleton": { "$type": "color", - "$value": "{color.base.neutral.200}" + "$value": { + "value": "{color.base.neutral.200}" + }, + "cssProp": "bg-skeleton" }, "skeletonHighlight": { "$type": "color", - "$value": "{color.base.neutral.300}" + "$value": { + "value": "{color.base.neutral.300}" + }, + "cssProp": "bg-skeleton-highlight" }, "tooltip": { "$type": "color", From 32b71cca801ebad508eda5db2c5cd91e19cec56a Mon Sep 17 00:00:00 2001 From: TimSielemann Date: Tue, 10 Nov 2026 08:00:08 +0000 Subject: [PATCH 2/2] CI: update tokens --- tokens/dist/export/theme.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tokens/dist/export/theme.json b/tokens/dist/export/theme.json index 36a71359..fc29c3c2 100644 --- a/tokens/dist/export/theme.json +++ b/tokens/dist/export/theme.json @@ -243,6 +243,26 @@ "$type": "color", "$value": "#f2f4f7" }, + "bg-surface": { + "$type": "color", + "$value": "#ffffff" + }, + "bg-muted": { + "$type": "color", + "$value": "#f2f4f7" + }, + "bg-input": { + "$type": "color", + "$value": "#ffffff" + }, + "bg-skeleton": { + "$type": "color", + "$value": "#ebecf0" + }, + "bg-skeleton-highlight": { + "$type": "color", + "$value": "#d7dbe0" + }, "bg-tooltip": { "$type": "color", "$value": "#000000"