Skip to main content

Color System

GospeLib's color system is built on three primary palettes anchoring every surface, a unique doctrinal color taxonomy for scholarly annotation, and corpus-specific identity colors that tie visual identity to scriptural context.

Primary Palette

Three primaries define the visual language across all surfaces:

RoleColorHexTokenUsage
Pale Navy#3D5A7Acolor.navy.500UI chrome, navigation, headers
Warm Tan#C4A882color.tan.400Paper surfaces, card backgrounds
Muted White#F5F3EEcolor.white.200Primary background, page color
50100200300400500600700800900
#EEF2F7#D4DFE9#A9BFD3#7E9FBD#5A80A8#3D5A7A#2E4560#1F3046#121D2B#080E15

Tan Scale

50100200300400500600700800900
#FAF7F3#F2EDE4#E4D9C9#D5C4AD#C4A882#B08E66#8C6E4B#6A5238#473826#251D13

White Scale

50100200300400500600700800900
#FFFFFF#FAF9F6#F5F3EE#EBE8E1#DDD9D0#CCCAC0#B5B2A7#999690#7A7870#575550

Doctrinal Color Taxonomy

GospeLib's most distinctive design artifact. Eight canonical colors map to doctrinal themes, providing a complete scholarly annotation language without writing a word. Opinionated by default, fully remappable per user.

ThemeColorHexTokenDoctrinal Domain
Red#D94F4Fcolor.doctrinal.gospelGospel (faith, repentance, ordinances)
Orange#E07830color.doctrinal.salvationPlan of Salvation (pre-mortal, mortal, afterlife)
Yellow#D4A017color.doctrinal.christJesus Christ / Atonement (warm gold)
Green#4A8C5Ccolor.doctrinal.godheadGod, Godhead, Celestial Glory
Blue#3D6B9Ecolor.doctrinal.israelIsrael, Church, covenant people
Purple#7B4F9Ecolor.doctrinal.priesthoodPriesthood, Revelation, Prophecy
Brown#8C6231color.doctrinal.historyNames, Dates, Places (historical)
Black#2A2A2Acolor.doctrinal.oppositionSatan, Sin, Opposition

Highlight Modes

Each doctrinal color supports five annotation modes at different opacities:

ModeOpacityToken PatternUsage
Wash0.18highlight-<color>-washDefault highlight background
Medium0.40highlight-<color>-mediumStronger emphasis
Text1.0highlight-<color>-textText color mode
Underline1.0highlight-<color>-underlineUnderline mode
Outline1.0highlight-<color>-outlineBox/outline mode

When two highlight colors overlap, they blend visually — signaling a doctrinal intersection (e.g., Atonement + Priesthood = Yellow + Purple).

Personal Highlight Colors

Four pastel colors for free-form user annotation. These occupy their own layer and never overwrite the doctrinal taxonomy:

ColorHexToken
Yellow#FFE58Acolor.personal.yellow
Green#B8E6C0color.personal.green
Blue#AACFEDcolor.personal.blue
Pink#F5BDD0color.personal.pink

Corpus Identity Colors

Each scriptural corpus has an identity color used for corpus chips, book headers, navigation accents, and constellation nodes.

CorpusColorHexToken
Old Testament#8C6A14color.corpus.ot
New Testament#2E5FA3color.corpus.nt
Book of Mormon#3D7A52color.corpus.bom
Doctrine & Covenants#7A3F8Ccolor.corpus.dc
Pearl of Great Price#8C4A28color.corpus.pogp
Pseudepigrapha#5C6B7Acolor.corpus.pseudepigrapha
tip

Corpus colors are desaturated slightly when used as backgrounds to prevent visual competition with the text.

Semantic Colors for Relationship Types

Used in the knowledge graph, connection panels, and inline diff views:

RelationshipColorHexToken
Cross-reference#3D7AB5color.semantic.crossReference
Topical connection#5E9E6Ecolor.semantic.topical
Manuscript variant#C47A2Acolor.semantic.manuscript
Scholarly connection#7A5E9Ecolor.semantic.scholarly
Temple connection#B5833Dcolor.semantic.temple
Prophetic connection#9E3D3Dcolor.semantic.prophetic

Functional / Semantic UI Colors

PurposeColorHexToken
Success#3D8C5Ccolor.functional.success
Warning#C47A2Acolor.functional.warning
Error#C43D3Dcolor.functional.error
Info#3D6B9Ecolor.functional.info
note

User-facing error states use warning amber (#C47A2A), not error red. Red is reserved only for destructive action confirmations. See Loading & Empty States for details.