Skip to content

Commit e68fca2

Browse files
committed
fix: rename success color to positive to match negative color
1 parent 43534ba commit e68fca2

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

app/components/ui/badge.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const badgeVariants = cva(
1616
warning:
1717
'border-transparent bg-warning-100 text-warning-800 dark:bg-warning-500/25 dark:text-warning-100',
1818
success:
19-
'border-transparent bg-success-100 text-success-800 dark:bg-success-500/25 dark:text-success-100',
19+
'bg-positive-100 text-positive-800 dark:bg-positive-500/25 dark:text-positive-100 border-transparent',
2020
outline: 'text-foreground',
2121
},
2222
size: {

app/styles/app.css

+11-11
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@
4444
--color-warning-900: oklch(0.414 0.112 45.904);
4545
--color-warning-950: oklch(0.279 0.077 45.635);
4646

47-
--color-success-50: oklch(0.982 0.018 155.826);
48-
--color-success-100: oklch(0.962 0.044 156.743);
49-
--color-success-200: oklch(0.925 0.084 155.995);
50-
--color-success-300: oklch(0.871 0.15 154.449);
51-
--color-success-400: oklch(0.792 0.209 151.711);
52-
--color-success-500: oklch(0.723 0.219 149.579);
53-
--color-success-600: oklch(0.627 0.194 149.214);
54-
--color-success-700: oklch(0.527 0.154 150.069);
55-
--color-success-800: oklch(0.448 0.119 151.328);
56-
--color-success-900: oklch(0.393 0.095 152.535);
57-
--color-success-950: oklch(0.266 0.065 152.934);
47+
--color-positive-50: oklch(0.982 0.018 155.826);
48+
--color-positive-100: oklch(0.962 0.044 156.743);
49+
--color-positive-200: oklch(0.925 0.084 155.995);
50+
--color-positive-300: oklch(0.871 0.15 154.449);
51+
--color-positive-400: oklch(0.792 0.209 151.711);
52+
--color-positive-500: oklch(0.723 0.219 149.579);
53+
--color-positive-600: oklch(0.627 0.194 149.214);
54+
--color-positive-700: oklch(0.527 0.154 150.069);
55+
--color-positive-800: oklch(0.448 0.119 151.328);
56+
--color-positive-900: oklch(0.393 0.095 152.535);
57+
--color-positive-950: oklch(0.266 0.065 152.934);
5858

5959
--spacing-safe-top: env(safe-area-inset-top);
6060
--spacing-safe-bottom: env(safe-area-inset-bottom);

0 commit comments

Comments
 (0)