← Admin Tools

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

Logo
Trail Life USA Troop icon
Wordmark
GRACE TROOP TX-0139
Mission

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.

Trailman Oath

“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

Crimson
#BA272C
--crimson
Crimson Dark
#8E1E22
--crimson-dark
TL Blue
#004B87
--tl-blue
Forest Green
#2D5E2A
--green-forest

Earth Tones

Brown Dark
#3E2E18
--brown-dark
Brown
#5C4A2F
--brown
Cream
#D8CCB7
--cream
White
#FAFAF7
--white

Grays

Gray 100
#F0EDE6
--gray-100
Gray 200
#DDD8CE
--gray-200
Gray 500
#8C8578
--gray-500
Gray 700
#4A453D
--gray-700
Gray 900
#1E1B16
--gray-900

Program Group Colors

Fox
#C9652E
.group-fox
Hawk
#876237
.group-hawk
Mountain Lion
#3E2E18
.group-mountainLion
Navigator
#004B87
.group-navigator
Adventurer
#2D5E2A
.group-adventurer
Swamp Fathers
#4A5C3A
.group-swampFathers

Typography

Headings — Oswald

H1 / Page title

H2 / Section

H3 / Card title

H4 / Subsection

font-family: 'Oswald', sans-serif; font-weight: 600–700;
Body — Open Sans

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

Generic — .btn
<button class="btn btn-primary">Primary</button>
Row actions — small inline
<div class="row-actions"> <button class="btn-row-delete">Delete</button> </div>
Specialty — domain-specific

Form Elements

Text input
Email + phone (paired)
Select
Textarea
Date
Checkbox (with description)

Badges

Status badges (admin tables)
Pending In Progress Accepted
People type badges
Invite User Trailman Family Member
People status badges
Active Pending Sign-up in progress Complete Inactive
Program group badges
Fox Hawk Mountain Lion Navigator Adventurer Swamp Fathers
State badges
Inactive ★ Leader Interest ★ RA

Cards

Admin card — content surface

Card title

Use .admin-card for content sections inside an admin page (e.g., a form group, list block, info panel).

Tables

Admin table — .invites-table
NameRoleFamilyStatus
James BrowningFatherBrowning FamilyAccepted
Aiden BrowningTrailmanBrowning FamilyIn Progress
Sarah SmithVolunteer—Pending

Layout & Spacing

CSS variables
--radius: 8px /* small rounding (inputs, badges) */ --radius-lg: 12px /* card rounding */ --shadow-md: 0 4px 16px rgba(30,27,22,0.10) --shadow-lg: 0 8px 32px rgba(30,27,22,0.14)
Container widths

.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:

  1. Pull from the existing CSS variables (var(--crimson), etc.) — never hard-code hex.
  2. Reuse existing classes (.admin-card, .btn-primary, .row-actions, etc.) before introducing new ones.
  3. If you need a new component, add it here so future-you and other admins can find it.
  4. Mobile is handled by the responsive blocks at the bottom of admin.css; verify on a phone viewport before shipping.