Skip to content

Commit

Permalink
fix(theme): wrong exported theme
Browse files Browse the repository at this point in the history
  • Loading branch information
CatsJuice committed Aug 6, 2024
1 parent af0465a commit 4b88729
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions packages/theme/src/v2/source/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -821,19 +821,19 @@
{
"name": "Switch/fontColor/primary",
"value": "#141414",
"var": "Text/primary",
"var": "Grey/950",
"rootAlias": "Grey/950"
},
{
"name": "Switch/fontColor/secondary",
"value": "#7a7a7a",
"var": "Text/secondary",
"var": "Grey/600",
"rootAlias": "Grey/600"
},
{
"name": "Switch/fontColor/tertiary",
"value": "#929292",
"var": "Text/tertiary",
"var": "Grey/500",
"rootAlias": "Grey/500"
},
{
Expand Down Expand Up @@ -863,7 +863,7 @@
{
"name": "Tab/divider/indicator",
"value": "#1e96eb",
"var": "Button/primary",
"var": "AFFiNE/600",
"rootAlias": "AFFiNE/600"
},
{
Expand Down Expand Up @@ -1994,21 +1994,21 @@
},
{
"name": "Switch/fontColor/primary",
"value": "#141414",
"var": "Text/primary",
"rootAlias": "Grey/950"
"value": "#e6e6e6",
"var": "Grey/200",
"rootAlias": "Grey/200"
},
{
"name": "Switch/fontColor/secondary",
"value": "#7a7a7a",
"var": "Text/secondary",
"rootAlias": "Grey/600"
"value": "#929292",
"var": "Grey/500",
"rootAlias": "Grey/500"
},
{
"name": "Switch/fontColor/tertiary",
"value": "#929292",
"var": "Text/tertiary",
"rootAlias": "Grey/500"
"value": "#7a7a7a",
"var": "Grey/600",
"rootAlias": "Grey/600"
},
{
"name": "Switch/iconColor/active",
Expand Down Expand Up @@ -2037,7 +2037,7 @@
{
"name": "Tab/divider/indicator",
"value": "#1e96eb",
"var": "Button/primary",
"var": "AFFiNE/600",
"rootAlias": "AFFiNE/600"
},
{
Expand Down
6 changes: 3 additions & 3 deletions packages/theme/src/v2/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ export const darkThemeV2 = {
'status/success': '#1d9c07',
'switch/buttonBackground/active': '#414141',
'switch/buttonBackground/hover': '#ffffff0d',
'switch/fontColor/primary': '#141414',
'switch/fontColor/secondary': '#7a7a7a',
'switch/fontColor/tertiary': '#929292',
'switch/fontColor/primary': '#e6e6e6',
'switch/fontColor/secondary': '#929292',
'switch/fontColor/tertiary': '#7a7a7a',
'switch/iconColor/active': '#cdcdcd',
'switch/iconColor/default': '#7a7a7a',
'switch/switchBackground/background': '#252525',
Expand Down

0 comments on commit 4b88729

Please sign in to comment.