Skip to content

Commit

Permalink
fix(shadcn-ui): update color of cards in dark mode (shadcn-ui#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn authored May 2, 2023
1 parent d99b992 commit 888a5ad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/purple-dryers-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"shadcn-ui": patch
---

fix card color
4 changes: 2 additions & 2 deletions apps/www/content/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ Add the following to your `styles/globals.css` file. You can learn more about us
--popover: 224 71% 4%;
--popover-foreground: 215 20.2% 65.1%;

--card: 0 0% 100%;
--card-foreground: 222.2 47.4% 11.2%;
--card: 224 71% 4%;
--card-foreground: 213 31% 91%;

--border: 216 34% 17%;
--input: 216 34% 17%;
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/utils/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export const STYLES = `@tailwind base;
--popover: 224 71% 4%;
--popover-foreground: 215 20.2% 65.1%;
--card: 0 0% 100%;
--card-foreground: 222.2 47.4% 11.2%;
--card: 224 71% 4%;
--card-foreground: 213 31% 91%;
--border: 216 34% 17%;
--input: 216 34% 17%;
Expand Down

0 comments on commit 888a5ad

Please sign in to comment.