Skip to content

Commit c6ffb3e

Browse files
committed
update color palette
1 parent e6c2d17 commit c6ffb3e

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

assets/css/app.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -236,20 +236,20 @@ input:-webkit-autofill:active {
236236
--radius: 0.5rem;
237237
}
238238
.dark {
239-
--background: 255 0% 0%;
240-
--foreground: 255 0% 90%;
241-
--card: 255 10% 5%;
242-
--card-foreground: 255 0% 90%;
243-
--popover: 255 10% 5%;
244-
--popover-foreground: 255 0% 90%;
239+
--background: 240 10% 3.9%;
240+
--foreground: 0 0% 98%;
241+
--card: 240 10% 3.9%;
242+
--card-foreground: 0 0% 98%;
243+
--popover: 240 10% 3.9%;
244+
--popover-foreground: 0 0% 98%;
245245
--primary: 161 93.5% 30.4%;
246246
--primary-foreground: 0 0% 100%;
247-
--secondary: 255 10% 10%;
248-
--secondary-foreground: 0 0% 100%;
249-
--muted: 217 10% 15%;
250-
--muted-foreground: 255 0% 60%;
251-
--accent: 217 10% 15%;
252-
--accent-foreground: 255 0% 90%;
247+
--secondary: 240 3.7% 15.9%;
248+
--secondary-foreground: 0 0% 98%;
249+
--muted: 240 3.7% 15.9%;
250+
--muted-foreground: 240 5% 64.9%;
251+
--accent: 240 3.7% 15.9%;
252+
--accent-foreground: 0 0% 98%;
253253
--destructive: 0 91% 71%;
254254
--destructive-foreground: 0 86% 97%;
255255
--destructive-50: 0 86% 97%;

lib/algora_web/components/ui/button.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ defmodule AlgoraWeb.Components.UI.Button do
5353
"hover:destructive" =>
5454
"bg-background border-input hover:bg-destructive/30 text-accent-foreground hover:border-destructive focus-visible:outline-destructive-600 data-[state=open]:bg-destructive-500/80 data-[state=open]:outline-destructive-600 shadow border",
5555
"outline" => "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
56-
"secondary" => "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
56+
"secondary" =>
57+
"bg-secondary hover:bg-secondary/80 text-foreground border-secondary-foreground/20 hover:border-secondary-foreground/40 focus-visible:outline-secondary-foreground shadow border",
5758
"ghost" => "hover:bg-accent hover:text-accent-foreground",
5859
"link" => "text-primary underline-offset-4 hover:underline"
5960
},

0 commit comments

Comments
 (0)