• Jay Liu
Visual Essay >
Developer Guidance
  1. Introduction
  2. Modules
  3. Colors

Developer Guidance

Associated project: Visual Essay
This explains the modules and styles used in the Visual Essay template.

July 03, 2021

Developer Guidance

Introduction


The following design guidelines are what I use to remind myself of design decisions while I have my developer hat on.

Modules


Visual Essay Test Page: Shows every Visual Essay module

A description of the article would go here. Yes, this is filler text, and you'll see much more in this test page.

Visual Essay Test Page

Coming soon: module usage

Colors


The extensive color palette shown here is meant to add visual interest by supplying subtle distinction while remaining visually consistent.

Basic Tokens

ColorPurpose
whitePrimary background.
blackPrimary foreground.
turquoiseEmphasis
graySupplementary text, icons
grayBlueDarkInformation Hierarchy
blueDarkInformation Hierarchy. Complementary to grayBlueDark
navyInformation Hierarchy. Complementary to blueDark
redDanger
redDarkEmphasis, clickable things
silverBackgrounds
silverDarkBorders, lines

The following tokens use (or are derived from) the above colors:

Backgrounds

Token NamePurpose
bg.primaryText for the main part of the screen.
bg.secondaryUse for navigational components, like topbar
bg.calloutExpandable regions, callouts, zebra rows in tables, sidebar
bg.reverseText selection
bg.warningHighlight draft sections (development only)

Text

Token NamePurpose
Abc
text.primaryText for the main part of the screen.
Abc
text.secondaryOf slightly lower importance than text.primary. <figcaption> text. In a list of items, the item’s description.
Abc
text.emphasisDraw attention to keywords within paragraphs. <strong> text.
Abc
text.interactive.primaryShow clickable links, with extra emphasis. Call-to-action links.
Abc
text.interactive.primaryHover
Abc
text.interactive.secondaryShow clickable links contained in paragraphs.
Abc
text.interactive.secondaryHover
Abc
text.accent.primaryFor special text. <blockquote> text
Abc
text.accent.secondaryFor accompanying special text. <cite> text
Abc
text.hierarchy.primaryMain headers
Abc
text.hierarchy.secondarySubheaders
Abc
text.hierarchy.tertiaryList Counters
Abc
text.brandBrand identity
Abc
text.reverseBrand identity
Abc
text.warningWarning
Abc
text.codeCode

Graphics

Token NamePurpose
icon.enabledEnabled
icon.disabledDisabled
border.primaryBorders associated with primary content
border.calloutBorders associated with callout content
border.headerBorders associated section headers
dividerDividers <hr>

Jay Liu
Written by Jay Liu, experience designer.
https://jayliu.design
© 2023, Jay Liu