PlayerCoach360
PlayerCoach360Global Components
← Home
Design System

Everything the app is built from.

This page is the single source of truth for PlayerCoach360's UI. Every feature page consumes these tokens and components — no hardcoded colors, fonts, or one-off styling.

Brand

Logo & identity

Uploaded via lovable-assets and imported from src/components/global/Logo.tsx.

PlayerCoach360PlayerCoach360PlayerCoach360
Tokens

Color

Defined in src/styles.css as CSS variables. Reference via Tailwind utilities (bg-primary, text-foreground, etc.) — never hex.

Primarybg-primary#27DE70
Primary softbg-primary-softtinted
Foregroundtext-foreground#3C464FOn dark surfaces
Mutedtext-muted-foreground#6B7480On dark surfaces
Backgroundbg-background#FFFFFF
Borderborder-border#E5E7EB
Destructivebg-destructive#E33B3B
Warningbg-warningamber
Brand gradientbg-brand-gradient
Tokens

Typography

Lato, loaded via <link> in __root.tsx. Use these semantic utilities — never text-[..] with arbitrary sizes.

Find your edge

text-display · 48/900

Section heading

text-h1 · 36/900

Subsection heading

text-h2 · 28/700

Card title

text-h3 · 20/700

Body copy. The quick brown fox jumps over the lazy dog. 1234567890.

text-body · 16/400

Small body copy.

text-body-sm · 14/400

Caption / helper text.

text-caption · 12/400

Eyebrow label

text-eyebrow · 12/700 uppercase
Components

Buttons

Pill-shaped, from src/components/global/Buttons.tsx. Pages inject onClick — never bake behavior into the global component.

Primary

<PrimaryButton onClick={...}>Continue</PrimaryButton>

Secondary

<SecondaryButton>Learn more</SecondaryButton>

Ghost

<GhostButton>Skip</GhostButton>
Components

Form fields

From src/components/global/Fields.tsx. Fully controlled — pass value + onChange from the page.

This shows on your profile.
That team code isn't recognised.
Components

Cards & stats

Containers from src/components/global/AppCard.tsx.

Default card

Bordered surface for grouped content.

Elevated card

Uses the brand shadow for emphasis.

Soft card

Tinted green background for callouts.

Sessions24This week
Streak6dKeep going
Focus score87+4 vs. last week
Components

Pills & badges

From src/components/global/Pill.tsx.

ActiveDraftAttentionOverdue
Tokens

Radius & shadow

Base radius 0.75rem. Use rounded-xl / 2xl / full for pills.

rounded-md
rounded-xl
rounded-2xl
rounded-full
shadow-brand