Skip to content

Commit

Permalink
fix themeColors
Browse files Browse the repository at this point in the history
  • Loading branch information
aymerick committed Jan 7, 2025
1 parent 470ccbe commit 928f5aa
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changeset/quick-socks-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@crossed/theme': patch
---

fix theme colors
32 changes: 16 additions & 16 deletions packages/theme/src/dark/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,29 +85,29 @@ export default {
},
secondary: {
default: {
text: colors.primary.primary,
icon: colors.primary.primary,
background: colors.neutral['60'],
border: colors.neutral['60'],
text: colors.primary[40],
icon: colors.primary[40],
background: colors.primary[90],
border: colors.primary[40],
},
hover: {
text: colors.primary.primary,
icon: colors.primary.primary,
background: colors.neutral['50'],
border: colors.neutral['50'],
text: colors.primary[40],
icon: colors.primary[40],
background: colors.primary[80],
border: colors.primary[40],
},
active: {
text: colors.primary.primary,
icon: colors.primary.primary,
background: colors.neutral['60'],
border: colors.neutral['50'],
text: colors.primary[40],
icon: colors.primary[40],
background: colors.primary[70],
border: colors.primary[40],
},
focus: { background: '', text: '', icon: '', border: '' },
disabled: {
text: colors.primary[10],
icon: colors.primary[10],
background: colors.primary[40],
border: colors.primary[40],
text: colors.primary[80],
icon: colors.primary[80],
background: colors.primary[100],
border: colors.primary[100],
},
},
tertiary: {
Expand Down
14 changes: 7 additions & 7 deletions packages/theme/src/light/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,20 @@ export default {
default: {
text: colors.primary.primary,
icon: colors.primary.primary,
background: colors.neutral['60'],
border: colors.neutral['60'],
background: colors.white,
border: colors.primary.primary,
},
hover: {
text: colors.primary.primary,
icon: colors.primary.primary,
background: colors.neutral['50'],
border: colors.neutral['50'],
background: colors.primary[1],
border: colors.primary.primary,
},
active: {
text: colors.primary.primary,
icon: colors.primary.primary,
background: colors.neutral['60'],
border: colors.neutral['50'],
background: colors.primary[10],
border: colors.primary.primary,
},
focus: { background: '', text: '', icon: '', border: '' },
disabled: {
Expand Down Expand Up @@ -227,7 +227,7 @@ export default {
},
Card: {
default: {
background: colors.background.secondary,
background: colors.primary[90],
border: colors.border.primary,
description: colors.text.secondary,
title: colors.text.primary,
Expand Down

0 comments on commit 928f5aa

Please sign in to comment.