Toolkit theme updates: primary button text and bg tokens (#3294)

* Toolkit theme updates

* update screenshots
This commit is contained in:
tom goriunov
2026-02-25 10:24:52 +01:00
committed by GitHub
parent 6e75199653
commit ad65967e2d
9 changed files with 12 additions and 5 deletions
+4
View File
@@ -58,6 +58,10 @@ const DEFAULT_THEME_COLORS = {
primary: {
_light: { value: '{colors.blue.600}' },
_dark: { value: '{colors.blue.600}' },
text: {
_light: { value: '{colors.white}' },
_dark: { value: '{colors.white}' },
},
},
},
link: {
+4 -1
View File
@@ -73,6 +73,9 @@ const semanticTokens: ThemingConfig['semanticTokens'] = {
bg: {
DEFAULT: { value: { _light: '{colors.theme.button.primary._light}', _dark: '{colors.theme.button.primary._dark}' } },
},
text: {
DEFAULT: { value: { _light: '{colors.theme.button.primary.text._light}', _dark: '{colors.theme.button.primary.text._dark}' } },
},
},
outline: {
fg: {
@@ -292,7 +295,7 @@ const semanticTokens: ThemingConfig['semanticTokens'] = {
error: { value: '{colors.text.error}' },
},
bg: {
DEFAULT: { value: { _light: '{colors.white}', _dark: '{colors.black}' } },
DEFAULT: { value: '{colors.bg.primary}' },
readOnly: { value: { _light: '{colors.gray.200}', _dark: '{colors.gray.800}' } },
},
border: {
+2 -2
View File
@@ -15,14 +15,14 @@ export const recipe = defineRecipe({
variant: {
solid: {
bg: 'button.solid.bg',
color: 'white',
color: 'button.solid.text',
_hover: {
bg: 'hover',
},
_loading: {
opacity: 1,
'& .chakra-spinner': {
borderColor: 'gray.200',
borderColor: 'button.solid.text',
borderBottomColor: 'spinner.track',
borderInlineStartColor: 'spinner.track',
},
+1 -1
View File
@@ -49,7 +49,7 @@ export const recipe = defineSlotRecipe({
'true': {
label: {
pos: 'absolute',
bg: 'bg',
bg: 'bg.primary',
top: '2px',
left: '2px',
color: 'input.placeholder',
+1 -1
View File
@@ -43,7 +43,7 @@ export const recipe = defineSlotRecipe({
borderColor: 'border.divider',
},
row: {
bg: 'bg',
bg: 'bg.primary',
},
},
},
Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 130 KiB