Skip to content

Commit

Permalink
fix: surface raised color in core theme and card (#3718)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahgm authored Feb 15, 2024
1 parent 7969fd9 commit 36c6301
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-goats-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marigold/theme-core": patch
---

fix: surface raised color in core theme and card
2 changes: 1 addition & 1 deletion themes/theme-core/src/components/Card.styles.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ThemeComponent, cva } from '@marigold/system';

export const Card: ThemeComponent<'Card'> = cva(
'bg-bg-surface relative max-w-[270px] rounded p-1 shadow-[1px_2px_3px]',
'bg-bg-surface-raised shadow-surface-raised relative max-w-[270px] rounded p-1 ',
{
variants: {
variant: {
Expand Down
2 changes: 1 addition & 1 deletion themes/theme-core/src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const colors = {
},
surface: {
DEFAULT: gray[100],
raised: gray[500],
raised: gray[50],
overlay: gray[50],
sunken: gray[900],
},
Expand Down

0 comments on commit 36c6301

Please sign in to comment.