Brand pillar · v0.8.1
brand-colors BrandColors
Brand color system.
$id · https://corpospec.com/schemas/v0.8.1/brand-colors.schema.json
Fields
| Field | Type | Required | Description |
|---|---|---|---|
| id | PathRef | yes | Path-based cross-reference relative to .corpospec/ root. Pattern: `^[a-z0-9_-]+(/[a-z0-9_.-]+)+$` |
| primary_palette | BrandColor[] | yes | |
| accessibility | ColorAccessibility? | — | |
| dark_mode | DarkModeConfig? | — | |
| data_visualization | DataVizPalette[] | — | |
| neutral_palette | BrandColor[] | — | |
| secondary_palette | BrandColor[] | — | |
| semantic_palette | BrandColor[] | — | |
| semantic_tokens | SemanticColorTokens? | — | |
| ui_tokens | UiColorTokens[] | — |
Definitions
Shared types referenced within this schema.
BrandColor
A named brand color. Hex is the single source of truth.
RGB/HSL/CMYK are derivable and excluded (D2).
Pantone is kept because it is a physical standard.
type: object
ColorAccessibility
Color accessibility configuration.
type: object
ColorMode
Color mode type.
enum: "light", "dark", "high-contrast"
ContrastPair
Color contrast pair. Includes wcag_aa/wcag_aaa booleans (D2: non-derivable).
type: object
DarkModeConfig
Dark mode configuration.
type: object
DataVizPalette
Data visualization color palette.
type: object
DataVizType
Data visualization palette type.
enum: "categorical", "sequential", "diverging"
ImageTreatment
Image treatment in dark mode.
enum: "none", "luminosity-adjusted", "dim-overlay"
PathRef
Path-based cross-reference relative to .corpospec/ root.
Pattern: `^[a-z0-9_-]+(/[a-z0-9_.-]+)+$`
pattern: ^[a-z0-9_-]+(/[a-z0-9_.-]+)+$
SemanticColor
Semantic color token with light/dark variants.
type: object
SemanticColorTokens
Semantic color tokens for status indicators.
type: object
UiColorTokens
UI color tokens for a specific mode.
type: object
WcagStandard
WCAG accessibility standard.
enum: "wcag21-aa", "wcag21-aaa", "wcag30"
Reference in your YAML
# yaml-language-server: $schema=https://corpospec.com/schemas/v0.8.1/brand-colors.schema.json