Protocol v8.0 Source of Truth — Design Guide (live)
1. Typography
Font Family (editable):
2. Color Palette & Structure
A. Brand & Functional (Solid) — D. Brand Transparency under each (editable %)
Adjust the transparency percentage (0–1, e.g. 0.125 = 12.5%) for each color to check how it looks.
B. Alpha Scale (Transparent) — C. Solid Tints (Same Percentages)
Side-by-side: Transparent (Alpha) | Solid (Tint) — both editable
B. Alpha Scale (Transparent)
C. Solid Tints (Same Percentages)
3. Components
Sizing
Badge radius, button height/radius, card radius, border thickness.
1. Buttons (Height: 40px, Radius: 6px) — Editable
Edit background, border, and font color for each button. Save Design Style to apply.
2. Status Badges & Tags (Radius: 6px — No Pills) — Editable
Edit background, border, and font color for each badge. .hs-badge default: blue background, white font (STEP 1 style). Save Design Style to apply.
.hs-badge, .hs-tag { border-radius: 6px !important; background: var(--helice-badge-step-bg); color: var(--helice-badge-step-color); } /* STRICT: DO NOT USE PILL SHAPE. Default: blue background, white font. */
4. Card Geometry & Accents — Editable
MANDATORY: Accents MUST use native CSS borders (3.5px) on the card container. Do NOT use absolute positioned bars.
Standard Card
Radius: 8px
Shadow: 0 1px 2px rgba(0,0,0,0.05)
Example card — Accent colors editable below
5. Icons — Editable
Implementation: Position absolute (right side of date input), size 18x18px, cursor pointer.
Functionality: JavaScript click handler calls
input.showPicker() to trigger calendar popup.Styling: Hide browser's native calendar icon via CSS (
::-webkit-calendar-picker-indicator { display: none; }).Color: Default rgba(28,37,53,0.50), hover rgba(28,37,53,0.75).
Implementation: Position absolute (right side of time input), size 18x18px, cursor pointer. Add class
hs-race-time-icon for JavaScript targeting.Functionality: JavaScript click handler calls
input.showPicker() to trigger time picker popup.Styling: Hide browser's native time picker icon via CSS (
::-webkit-calendar-picker-indicator { display: none; }).Color: Default rgba(28,37,53,0.50), hover rgba(28,37,53,0.75).
Implementation: Used in dropdown menus and action buttons. Size typically 14-16px for menus, 24px for standalone buttons.
Usage: Appears in purse template menus (Edit/Duplicate/Delete), form registries, and data management tables.
SVG Path: Two overlapping rectangles representing "copy" action — front rect with rounded corners, back rect offset to show layering.
Color: Default #6b7280 (gray), inherits stroke color from parent context.
Specific action icons used in management tables, color-coded to function. Edit color below each icon.
6. Demographic Classification Badges — Editable
Standardized demographic tags using 12.5% opacity backgrounds. Radius: 6px. Edit color below each badge.
7. Award Ribbons (Places 1-6) — Brand Coordinated — Editable
Phone & Address Rules
All forms (Add Club, Edit Club, Club Management, Club Contacts, Add/Edit Contact, etc.) follow these rules. Reference: Design Guide
Phone
- Display (UI): US/Canada (+1) shown as
(XXX) XXX-XXXX(e.g. (512) 394-4419). Applies everywhere: club phone, contact phone, view and edit. Legacy or malformed values (e.g. 12 digits with double 1) are normalized for display. - Storage: E.164-style; US stored as
+1 (XXX) XXX-XXXX. Strip non-numeric on save; 11- or 12-digit with leading 1(s) normalized to 10 digits so no duplicate country code. - Input masking: US/Canada
(###) ###-####. On blur, format to (XXX) XXX-XXXX. Placeholder: (555) 123-4567. Min 7 digits, max 15 (excluding country code).
Address / Zip
- Zip: US 5-digit (
78701) or Zip+4 (78701-1234). On blur, 5+ digit US zip triggers city/state auto-populate (e.g. zippopotam). International: alphanumeric allowed (max 10 chars). - State/Province: Stored as 2-letter ISO (
TX,CA). US states + DC + territories (PR, VI, GU, MP, AS). - Country: ISO 3166-1 alpha-2; default United States (US).
6. Key Specifications Summary
| Property | Value |
|---|---|
| Card border-radius | 8px |
| Card border | 1px solid #D2D3D7 |
| Card shadow | 0 1px 2px rgba(0,0,0,0.05) |
| Accent bar thickness | 3.5px |
| Badge border-radius | 6px — NO PILLS |
| Badge background | 12.5% opacity of brand color |
| Button height | 40px |
| Button border-radius | 6px |
| Page background | #F4F4F5 (Tint 5%) |
| Card background | #FBFBFB |
| Left menu background | #131B31 (dark sidebar) |
| Active menu item | Orange #E67700 |
| Gender: “Lady” capitalization | Always title case — “Lady”, never “lady” |
| Gender: “Man” display | Hidden in reports (blank/dash); visible in profile badges |
Accent Card Styles — Where Each Style Goes
Three accent positions. Use the right position for the right purpose — Top = info only, Left = main actions, Bottom = info + clickable links. Accent weight: 3.5px. Native CSS borders only.
Design Guide (source of truth): https://helicescores.com/design-styles/
1. Top Accent — Information, Forms & Data, Header Sections
Rule: NO action with these. Display only: stats, forms, section headers. Buttons/links inside the card are fine; the accent itself is not an action.
Examples: Welcome card, My Tournaments / Avg Score / Ranking stat cards; Competitors, Fees, Purchases, Purse, Review stat row; Add New Club form; Tournament Setup (General Information, Ring Configuration); Tournament Overview & Targets; Tournament Events & Leaderboards section headers.
Color here: Blue = basic stats, Orange = edit/add, Red = warnings/shooter lists/scores, Green = financials.
2. Left Accent — Main Action Items (Clickable)
Rule: These are clickable and take you to another page or section. Use for: tournament title/header, and for action cards (Event Management, Reports, Enter Scores, Pro Shop, etc.).
Examples: Tournament Dashboard header (e.g. "White Winged Open 2025" with Edit Details); Event Management, Manage Contacts, ProShop, Payments, Reports & Forms, Enter Scores, View Results, Live Display.
3. Bottom Accent — Information Sections with Clickable Links
Rule: Information + a link for more. Card shows a stat/summary; the link at the bottom goes to more detail or management.
Examples: Admin Dashboard (Total Clubs, System Alerts, Active Tournaments, Total Users) with "Manage clubs →", "View logs →", etc.; Club Dashboard (Active Tournaments, Upcoming Events, Completed Events, Avg. Shooters) with "View active →", "View calendar →", etc.
Color: Blue = basic stats, Orange = edit/add, Red = warnings/shooter/scores, Green = financials.
Summary — Accent Style and Where It Goes
| Accent | Purpose | Examples |
|---|---|---|
| Top | Information, forms, data, header sections. NO action with the accent (display only). | Welcome card, stat cards (My Tournaments, Avg Score, Ranking, Competitors, Fees, Purse, Review), Add New Club form, Tournament Setup blocks, Tournament Overview, Tournament Events section |
| Left | Main action items. Clickable — take you to another page/section. Also: tournament title/header. | Tournament Dashboard header (tournament name + Edit Details), Event Management, Manage Contacts, ProShop, Payments, Reports & Forms, Enter Scores, View Results, Live Display |
| Bottom | Information section with a clickable link for more information. | Admin Dashboard (Total Clubs → Manage clubs, System Alerts → View logs, etc.); Club Dashboard (Active Tournaments → View active, Upcoming → View calendar, etc.) |
Accent Colors — Total List
All four accent colors in one place. Unless otherwise listed or changed:
| Color | Hex | Use for |
|---|---|---|
| Blue / Navy | #232F43 | Basic stats. Club info, counts, structure, Live Display. Tournament status: Upcoming = Blue. |
| Orange | #E67700 | Edit/add data. Tournament header, ProShop, filters, forms, CTAs, View Results, Event Management. Tournament status: Active = Orange. |
| Red | #883730 | Warnings, shooter lists, scores. Alerts, Manage Contacts, Enter Scores, score cards, ranking. Tournament status: Past = Red. |
| Green | #405639 | All financials. Purse, Payments, Review, fees, purchases, receipts, Reports & Forms, payouts, financial reports & tools. |
Quick reference (same colors):
- Blue #232F43 — Basic stats. Upcoming = Blue.
- Orange #E67700 — Edit/add data. Active = Orange.
- Red #883730 — Warnings, shooter lists, scores. Past = Red.
- Green #405639 — All financials.
Resolved Decisions
- Reports & Forms — Green (main card). Optional: Green for financial report links, Red for score-card/shooter-list links inside the page.
- View Results — Orange (primary action).
- Calcutta — Green (financial).
- Fees / Purchases (stat cards) — Green (financials).
- Contact Management (filters + table) — Red (shooter list).
- Tournament status (stat cards) — Blue = Upcoming, Orange = Active, Red = Past.
- Ranking (stat) — Red (scores-related).
- Event Management — Orange (edit/setup).
Design Guide (source of truth): https://helicescores.com/design-styles/
Accent weight: 3.5px. Native borders only.