Skip to content

Commit ce6ee6a

Browse files
committed
fix: light theme colors were too dim
1 parent b8e874d commit ce6ee6a

3 files changed

Lines changed: 22 additions & 22 deletions

File tree

dashboard/src/components/dashboard-card-state.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const DashboardCardState: FunctionComponent<DashboardCardStateProps> = ({
2424

2525
return (
2626
<div className="relative">
27-
<div className={cn(className, state === 'refreshing' && 'opacity-55 transition-opacity duration-200')}>
27+
<div className={cn(className, state === 'refreshing' && 'opacity-80 transition-opacity duration-200')}>
2828
{children}
2929
</div>
3030
{state === 'refreshing' ? (

dashboard/src/components/ui/skeleton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Skeleton = ({
66
}: React.HTMLAttributes<HTMLDivElement>) => {
77
return (
88
<div
9-
className={cn("animate-pulse rounded-md bg-muted", className)}
9+
className={cn("animate-pulse rounded-md bg-muted/80 dark:bg-muted", className)}
1010
{...props}
1111
/>
1212
)

dashboard/src/index.css

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@
1414

1515
@layer base {
1616
:root {
17-
--background: 0 0% 100%;
18-
--foreground: 20 14.3% 4.1%;
17+
--background: 30 25% 97%;
18+
--foreground: 24 18% 12%;
1919
--card: 0 0% 100%;
20-
--card-foreground: 20 14.3% 4.1%;
20+
--card-foreground: 24 18% 12%;
2121
--popover: 0 0% 100%;
22-
--popover-foreground: 20 14.3% 4.1%;
23-
--primary: 14 65% 55%;
22+
--popover-foreground: 24 18% 12%;
23+
--primary: 18 78% 46%;
2424
--primary-foreground: 0 0% 100%;
25-
--secondary: 20 4.8% 95.9%;
26-
--secondary-foreground: 24 9.8% 10%;
27-
--muted: 20 4.8% 95.9%;
28-
--muted-foreground: 25 5.3% 44.7%;
29-
--accent: 20 4.8% 95.9%;
30-
--accent-foreground: 24 9.8% 10%;
31-
--destructive: 0 72% 51%;
25+
--secondary: 30 22% 93%;
26+
--secondary-foreground: 24 18% 16%;
27+
--muted: 30 18% 94%;
28+
--muted-foreground: 24 8% 38%;
29+
--accent: 32 36% 92%;
30+
--accent-foreground: 24 18% 16%;
31+
--destructive: 5 78% 47%;
3232
--destructive-foreground: 0 0% 100%;
33-
--border: 20 5.9% 90%;
34-
--input: 20 5.9% 90%;
35-
--ring: 14 65% 55%;
33+
--border: 24 16% 86%;
34+
--input: 24 16% 86%;
35+
--ring: 18 78% 46%;
3636
--radius: 0.5rem;
37-
--chart-1: 14 65% 55%;
38-
--chart-2: 25 75% 60%;
39-
--chart-3: 340 60% 50%;
40-
--chart-4: 271 35% 52%;
41-
--chart-5: 45 85% 55%;
37+
--chart-1: 18 78% 46%;
38+
--chart-2: 197 72% 38%;
39+
--chart-3: 152 56% 34%;
40+
--chart-4: 344 62% 46%;
41+
--chart-5: 42 84% 40%;
4242
}
4343

4444
.dark {

0 commit comments

Comments
 (0)