gaffr Style Guide

A living reference of every component, colour, and state in the gaffr design system.

1. Colours

Brand & Accent
Primary — Cyan
#00F0FF
Secondary — Gold
#FFD700
Success
#00E676
Warning
#FFB300
Danger
#FF3D5A
Player Card Tiers
Bronze
#CD7F32
Silver
#A8B8D0
Gold
#FFD700
In-Form
#00F0FF
Status
Paid
#00E676
Pending
#FFB300
Overdue
#FF3D5A
Surfaces
Deep Space Navy
#0A1128
Card Surface
#141D3B
Elevated Surface
#1B2650
Border

2. Typography

Heading One h1 · Inter 800

Heading Two h2 · Inter 700

Heading Three h3

Heading Four h4

Heading Five h5
Heading Six h6

Gradient Heading .al-gradient-text (cyan → gold)

This is a lead paragraph — used for intros and cinematic hero copy.

This is regular body copy set in Inter. gaffr organises 5-a-side, netball, and basketball games, letting players build their card, rate the opposition, and run their team like a manager.

Bright text (.al-text-bright) is used for high-emphasis headings and standout figures.

Primary-coloured text (.al-text-primary) highlights links and live states.

Gold text (.al-text-gold) flags MOTM honours and top-tier callouts.

Muted text is used for secondary information such as timestamps and captions.

Monospace text (JetBrains Mono) is used for scores, ratings, and tabular numerics: 24 · 7.8 · 82

Uppercase label — letter-spacing: 0.04–0.06em

3. Buttons

Variants
Sizes

4. Forms

5. Badges & Status Chips

Badges
Primary Secondary Accent 5-a-side 9.2
Status Chips
✓ Paid ⌛ Pending ! Overdue
Discipline
1 1 Yellow / Red card counts
Reliability
● Reliable (96%) ● Fair (78%) ● Unreliable (42%)

6. Player Cards

Tiers — Medium (default) size
64
DEF
FC
UK
D
DAVID OKAFOR
Rovers FC · Leeds
PAC58
SHO42
PAS60
DRI55
DEF70
PHY68
71
MID
KS
IE
S
SAM O'BRIEN
Kings SC · Bristol
PAC68
SHO64
PAS76
DRI72
DEF60
PHY65
78
ST
FC
UK
M
MARCUS JOHNSON
FC United · London
PAC82
SHO80
PAS71
DRI79
DEF38
PHY74
MOTM ×3
88
CAM
AL
NG
T
TAYO ADEYEMI
Athletic Lions · Manchester
PAC85
SHO84
PAS89
DRI90
DEF45
PHY70
Sizes — Hero & Mini
MOTM ×3
88
CAM
AL
NG
T
TAYO ADEYEMI
Athletic Lions · Manchester
PAC85
SHO84
PAS89
DRI90
DEF45
PHY70
71
MID
KS
IE
S
SAM O'BRIEN
Kings SC · Bristol
PAC68
SHO64

Mini cards hide the club row and attribute grid to stay compact for lists and rating flows. Hero cards scale up to 300px for profile pages and MOTM reveals.

7. Tables (Manager Console)

# Team P W D L GD Pts Form
1 FC United 18 14 3 1 +31 45 WWDWW
2 Athletic Lions (You) 18 12 4 2 +22 40 WDWWL
3 Kings SC 18 10 5 3 +14 35 DWWLW
4 Rovers FC 18 9 4 5 +6 31 LWDWL
5 Riverside Rangers 18 7 4 7 -2 25 LLDWD
9 Downtown Dynamos 18 3 2 13 -24 11 LLLDL
10 Harbour Hornets 18 1 3 14 -33 6 LLLLD

Cyan bar = promotion zone, gold = play-off zone, red = relegation zone. Table collapses to stacked cards below 768px.

8. Fixtures

Completed
FC United
3 – 1
Kings SC
Full time · Sat 12 Oct · Riverside Park
Live
Athletic Lions
2 – 2
Downtown Dynamos
● LIVE · 67' · Central Sports Hall
Upcoming
Riverside Rangers
18:30
Rovers FC
Kick-off · Sun 20 Oct · Central Sports Hall

9. Form Indicators

Form Arrows
Up / Down / Flat — used against player rating trends
Reliability Badges
● Good ● OK ● Poor
Live Indicator
LIVE · 67' Animated pulse used on the fixtures ticker and match centre

10. Animations

Click each button to preview the full-screen animation sequence. These trigger the JS helpers exposed in theme.js. Only three moments in the product get this cinematic treatment: card reveal, MOTM announcement, and tier-up.

11. Alerts

12. Lists

Standard list group
  • Weekly 5-a-side — Riverside Park Sat 10:00
  • Netball Ladder Night Pending
  • Basketball Pickup — Central Hall Paid

13. Surfaces & Utilities

Cards & Glow
Standard Card

.al-card / .al-card-header / .al-card-body — elevated slate surface with subtle border.

Glowing Card

.al-shadow-glow + .al-border-accent add a cinematic cyan halo for emphasis.

Theme Toggle
.al-theme-toggle — switches light/dark mode