From 80dbc7b39b5404a8710be721d2ae5301e4c25df1 Mon Sep 17 00:00:00 2001 From: "Carina.Akaia.io" Date: Tue, 26 Nov 2024 22:43:29 +0000 Subject: [PATCH] Update styles --- src/common/ui/styles/theme.css | 9 ++-- .../components/PotApplicationRequirements.tsx | 4 +- src/modules/pot/components/PotHero.tsx | 44 ++++------------ src/modules/pot/components/PotTimeline.tsx | 2 +- tailwind.config.ts | 52 +++++-------------- uno.config.ts | 41 +++++++++++---- 6 files changed, 57 insertions(+), 95 deletions(-) diff --git a/src/common/ui/styles/theme.css b/src/common/ui/styles/theme.css index 9db0bcd5..9d9db85a 100644 --- a/src/common/ui/styles/theme.css +++ b/src/common/ui/styles/theme.css @@ -54,6 +54,9 @@ --accent: 30 89% 96%; --accent-foreground: 21 82% 53%; + --success: 86 78% 35%; + --success-foreground: 210 40% 98%; + --destructive: 0 84.2% 60.2%; --destructive-foreground: 210 40% 98%; @@ -110,12 +113,6 @@ } } -@layer base { - * { - @apply border-border; - } -} - body { min-height: 100vh; } diff --git a/src/modules/pot/components/PotApplicationRequirements.tsx b/src/modules/pot/components/PotApplicationRequirements.tsx index f0c04c1c..0b6cef32 100644 --- a/src/modules/pot/components/PotApplicationRequirements.tsx +++ b/src/modules/pot/components/PotApplicationRequirements.tsx @@ -13,7 +13,7 @@ export const PotApplicationRequirements: React.FC @@ -42,7 +42,7 @@ export const PotApplicationRequirements: React.FC - + {text} ))} diff --git a/src/modules/pot/components/PotHero.tsx b/src/modules/pot/components/PotHero.tsx index 589bc4d6..1a36817f 100644 --- a/src/modules/pot/components/PotHero.tsx +++ b/src/modules/pot/components/PotHero.tsx @@ -72,25 +72,20 @@ export const PotHero: React.FC = ({ potId }) => {
{pot ? : }
-
+
{pot ? (
= ({ potId }) => { {pot ? (
- ( - { - event.stopPropagation(); - }} - > - {"More Info"} - - ), - }} - className="markdown-link" - > - {pot.description} - + {pot.description}
) : ( @@ -170,8 +144,8 @@ export const PotHero: React.FC = ({ potId }) => {
diff --git a/src/modules/pot/components/PotTimeline.tsx b/src/modules/pot/components/PotTimeline.tsx index fd43a1e4..93220f85 100644 --- a/src/modules/pot/components/PotTimeline.tsx +++ b/src/modules/pot/components/PotTimeline.tsx @@ -158,7 +158,7 @@ export const PotTimeline: React.FC = ({ potId, classNames }) =