Skip to content

Commit 2420bff

Browse files
committed
refactor: standardize LogoSpinner component styling across various components
- Updated LogoSpinner instances to use a consistent emerald color scheme in OnboardingTracker, PostPaymentOnboarding, OrganizationSetupForm, and other components. - Adjusted global CSS variable for primary foreground color to enhance visual consistency.
1 parent 8af77dd commit 2420bff

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/app/src/components/ai/chat-empty.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type Props = {
77
export function ChatEmpty({ firstName }: Props) {
88
return (
99
<div className="todesktop:mt-24 mt-[200px] flex w-full flex-col items-center justify-center text-center md:mt-24">
10-
<LogoSpinner raceColor="#00DC73" />
10+
<LogoSpinner />
1111
<span className="mt-6 text-xl font-medium">
1212
Hi {firstName}, how can I help <br />
1313
you today?

apps/app/src/components/ai/message.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export function ReasoningMessagePart({ part, isReasoning }: ReasoningMessagePart
7171
<div className="ml-4 flex-1 overflow-hidden pl-2 text-xs">
7272
<div className="font-medium">Reasoning</div>
7373
<div className="mt-2 animate-spin">
74-
<LogoSpinner raceColor="#00DC73" size={16} />
74+
<LogoSpinner size={16} />
7575
</div>
7676
</div>
7777
</div>

apps/app/src/components/ui/loader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const Loader = () => {
44
return (
55
<div className="bg-card/80 border-border flex h-full w-full items-center justify-center rounded-sm border py-24 backdrop-blur-sm">
66
<div>
7-
<LogoSpinner className="text-emerald-700 dark:text-emerald-500" />
7+
<LogoSpinner />
88
</div>
99
</div>
1010
);

packages/ui/src/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
--popover: 228 10% 10%;
4848
--popover-foreground: 0 0% 98%;
4949
--primary: 160 84% 40%; /* emerald-500 */
50-
--primary-foreground: 240 3% 10%;
50+
--primary-foreground: 0 0% 98%;
5151
--secondary: 225 10% 20%;
5252
--secondary-foreground: 0 0% 98%;
5353
--muted: 225 10% 20%;

0 commit comments

Comments
 (0)