Style Guide

Spacing, icons, and colors shared by the prototypes.

Chips and surfaces follow the theme toggle. Hex values and contrast ratios in Priority and Status are dark-theme values; the tables below list both themes.

Priority

Top
#e88888 on #461819
5.9:1 AA · two chevrons
High
#f0a66a on #462818
6.6:1 AA · one chevron
Medium
#c5c9d8 on #18181b (field)
10.7:1 AA · dash-lg
Low
#9aa6db on #182046
6.6:1 AA

Status

Not Started
#5ec4b0 on #0f2e28
6.9:1 AA · teal
In Progress
#9aa6db on #182046
6.6:1 AA
Blocked
#e88888 on #461819
5.9:1 AA
Complete
#8fc98a on #1c4618
5.6:1 AA
Archived
#c5c9d8 on #18181b (field)
10.7:1 AA · archive

Document / tag hues

Defined per theme on :root and :root[data-theme="light"] in assets/theme.css. Used for tag chips, avatars, and schedule dots.

VariableDarkLight
--tag-purple#9b85ad#5b456f
--tag-blue#6570a9#4a548d
--tag-green#6ba965#477441
--tag-yellow#a9a465#716c35
--tag-red#a96566#8a4445

Attachment file types

Work in progress

Icon color for each file type in the Ledger's Attachments list. Types not listed fall back to --gray-300.

File typeVariableDarkLight
PDF--tag-red#a96566#8a4445
XLS--tag-green#6ba965#477441
DOC, RTF--tag-blue#6570a9#4a548d
MD--tag-blue#6570a9#4a548d
DWG--tag-yellow#a9a465#716c35
PNG, JPG--tag-purple#9b85ad#5b456f
MP4, MOV, WEBM--tag-purple#9b85ad#5b456f
Other--gray-300#a1a1aa#52525b

Spacing

One 4px base unit, --spacing: 0.25rem, based on Tailwind v4.

Step CSS variable Tailwind Size Gap
0.5 --spacing-0-5 gap-0.5 2px · 0.125rem
1 --spacing-1 gap-1 p-1 4px · 0.25rem
2 --spacing-2 gap-2 p-2 8px · 0.5rem
3 --spacing-3 gap-3 p-3 12px · 0.75rem
4 --spacing-4 gap-4 p-4 16px · 1rem
6 --spacing-6 gap-6 p-6 24px · 1.5rem
8 --spacing-8 gap-8 p-8 32px · 2rem

Typefaces

Inter sets all interface text. Numbers in aligned columns, such as entry IDs and dates, use tabular figures so their digits share one width. Stratagem is the brand face and is used only where the brand mark appears, today the avatar initials. Each family has a system fallback in case the font fails to load.

FamilyClassUsed forSourceFallback
Interfont-sansAll interface text: titles, labels, buttons, fields, metadata. Aligned numbers use tabular-numsGoogle Fonts, variable: opsz 14–32, wght 400–700ui-sans-serif, system-ui
Stratagemfont-brandBrand mark: avatar initialsCustom WOFF2: assets/fonts/Stratagem.woff2ui-monospace, Menlo

Inter weights

Regular 400 · Repair Air Handlers

Medium 500 · Repair Air Handlers

Semibold 600 · Repair Air Handlers

Bold 700 · Repair Air Handlers

Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm 0123456789

Tabular figures

Digits keep one width with tabular-nums, so stacked IDs and dates end at the same edge. Apply it to numbers that sit in a column or list and need to line up.

  • Entry IDs in the entry list on default and comfortable cards (entry-card__id)
  • Predecessor and successor IDs on the schedule chips
  • Entry dates in the entry list (entry-card__date)

Dates use a two-digit day with a leading zero (Jan 06, not Jan 6), so every date has the same number of digits.

Default #001111 #008888 #001842
tabular-nums #001111 #008888 #001842

Stratagem

AB Aa Bb Cc Dd Ee Ff Gg 0123456789

Surface colors

Work in progress

Surfaces are neutral grays. Navy is kept for two jobs: selection (an active entry card) and toolbars, so the blue sits on controls and state rather than on panels. The scale is Tailwind's zinc palette (hue 240, 4–6% saturation), renamed gray and numbered by role: 100 is foreground, 700 is the page, 800 is the inset well. Roles keep their number when the light theme inverts the steps.

Neutral scale

StepUsed forTailwindDarkLight
--gray-100
gray-100
Text primaryzinc-100Aa#f4f4f5Aa#09090b
--gray-200
gray-200
Text secondaryzinc-300Aa#d4d4d8Aa#27272a
--gray-300
gray-300
Labels, placeholders, iconszinc-400Aa#a1a1aaAa#52525b
--gray-400
gray-400
Strong border, divider, icon hoverzinc-600Aa#52525bAa#d4d4d8
--gray-500
gray-500
Border, hover tintzinc-700Aa#3f3f46Aa#e4e4e7
--gray-600
gray-600
Panel, raised surfacezinc-800Aa#27272aAa#f4f4f5
--gray-700
gray-700
Page, entry listzinc-900Aa#18181bAa#ffffff
--gray-800
gray-800
Header, menus, tooltipzinc-950Aa#09090bAa#f4f4f5
--gray-900
gray-900
Scrim (modal backdrop)blackAa#000000Aa#e4e4e7

Surface aliases

Background aliases from the Ledger demo, defined per theme on :root and :root[data-theme="light"]. Each points at a scale step, shown in the second line. Fields sit one step off the panel they live on (dark: zinc-900 on zinc-800), so they read as inset without a hard well. Hover lifts them with a 40% tint instead of a new fill. Status, priority, and document colors are covered in their own sections.

VariableUsed forDarkLight
--bg-header
--gray-800
Header, deepest layerAa#09090bAa#f4f4f5
--bg-toolbar
--toolbar-background
Ledger toolbars: entry header, list and comments search barsAa#202435Aa#e4e7f0
--bg-field
--gray-700 dark · --gray-700 light
Editable and combo fields. Dark: one step darker than the panel. Light: white, one step lighter than the gray panel. Not a hard well in either themeAa#18181bAa#ffffff
--bg-page
--gray-700
Page background, entry list, default cardAa#18181bAa#ffffff
--bg-panel
--gray-600 (--panel-background)
Ledger panel, modalAa#27272aAa#f4f4f5
--bg-hover
--gray-500 at 40%
Row, field, and card hover; dropdown focusAagray-500/40Aagray-500/40
--bg-dropzone
--dropzone-background
Attachment dropzoneAa#251733Aa#f6f1f8

Navy: selection and toolbars

Navy is used for two things only. Selection (navy-500 with a navy-400 edge) marks the one thing that is active. Toolbars (--bg-toolbar) give the header bars a dark blue cast. Panels, fields, and lists stay gray.

VariableUsed forDarkLight
--bg-selected
--navy-500
Active entry card, pressed toggleAa#2e334cAa#d4d8e4
--bg-selected-edge
--navy-400
Selected card right edgeAa#565c7aAa#b9becd

Text colors

Work in progress

Foreground aliases from the Ledger demo, defined per theme on :root and :root[data-theme="light"]. Each sample sits on the page background for its theme (gray-700 dark, white light).

VariableUsed forDarkLight
--text-primary
--gray-100
Titles, card titles, primary values, input textAa#f4f4f5Aa#09090b
--text-secondary
--gray-200
Secondary text, comment bodiesAa#d4d4d8Aa#27272a
--text-metadata
--body
Metadata, entry IDs, copyable labelsAa#b4b5b7Aa#303441
--text-label
--gray-300
Field labels, group headings, placeholders, iconsAa#a1a1aaAa#52525b
--text-action
--action-click: --pink-300 dark · --pink-500 light
Focused or open field label, linksAa#d39dc2Aa#910a67
--text-accent
--icon-accent
Checkmarks, syntax tokens, selected iconsAa#d39dc2Aa#650748

--text-action resolves to --action-click. The pink palette is not inverted in light, so the Ledger sets --action-click to --pink-300 in dark and --pink-500 in light (#910a67 on white). Hovered entry and attachment names use --text-link-hover: --pink-200 dark, --pink-600 light.