Style Guide
Brand reference + UI component library for the Grace Troop TX-0139 portal. Use this as a quick reference when building new pages or extending existing ones.
Brand
A Christ-centered outdoor adventure, character, and leadership program for boys and young men ages 5–17, chartered at Grace Presbyterian Church in Houston, TX.
“On my honor, I will do my best to serve God and my country; to respect authority; to be a good steward of creation; and to treat others as I want to be treated.”
Color Palette
All site colors are defined as CSS custom properties on :root in dash.css. Use the variable names — never hard-code hex values in new code.
Primary & Brand
Earth Tones
Grays
Program Group Colors
Typography
H1 / Page title
H2 / Section
H3 / Card title
H4 / Subsection
font-family: 'Oswald', sans-serif; font-weight: 600–700;Body — primary reading size. The quick brown fox jumps over the lazy dog. 0123456789
Body small — for descriptions, captions, helper text.
Eyebrow / Label
font-family: 'Open Sans', sans-serif; font-weight: 400–700;Buttons
Form Elements
Badges
Cards
Card title
Use .admin-card for content sections inside an admin page (e.g., a form group, list block, info panel).
Hub Card
Used on /dashboard/admin.html for navigating to sub-pages. Hover for the lift effect.
Tables
| Name | Role | Family | Status |
|---|---|---|---|
| James Browning | Father | Browning Family | Accepted |
| Aiden Browning | Trailman | Browning Family | In Progress |
| Sarah Smith | Volunteer | — | Pending |
Layout & Spacing
.dash-container — admin pages, max-width capped via dash.css.
.dash-main — page wrapper, full-width with internal padding.
How to use this guide
When adding a new admin page or component:
- Pull from the existing CSS variables (
var(--crimson), etc.) — never hard-code hex. - Reuse existing classes (
.admin-card,.btn-primary,.row-actions, etc.) before introducing new ones. - If you need a new component, add it here so future-you and other admins can find it.
- Mobile is handled by the responsive blocks at the bottom of
admin.css; verify on a phone viewport before shipping.