The canvas is pure black in dark mode and near-white in light. Brass marks the cursor, selection, and the single most important action. Status colors are muted — never neon.
--iv_accent
dark #c7a24a light #8a6f2f
--iv_accent-dim
dark #8a6f2f light #6b5523
--iv_accent-surface
dark rgba(199, 162, 74, 0.12) light rgba(138, 111, 47, 0.1)
--iv_border
dark #26262a light #d4d3cf
--iv_border-error
dark #e0503a light #b33a22
--iv_border-focus
dark #4a4a50 light #82817c
--iv_border-hover
dark #3a3a3f light #b3b2ad
--iv_error
dark #e0503a light #b33a22
--iv_error-dim
dark #b23c2a light #8c2c1a
--iv_error-surface
dark rgba(224, 80, 58, 0.12) light rgba(179, 58, 34, 0.1)
--iv_foreground
dark #f2f2f2 light #141414
--iv_foreground-dim
dark #8a8a90 light #6e6d68
--iv_foreground-hover
dark #dcdcdc light #232322
--iv_foreground-inverse
dark #000000 light #ffffff
--iv_info
dark #5d8ee8 light #2f5fc4
--iv_info-dim
dark #3a6fcc light #244a99
--iv_info-surface
dark rgba(93, 142, 232, 0.12) light rgba(47, 95, 196, 0.1)
--iv_overlay
dark rgba(0, 0, 0, 0.5) light rgba(0, 0, 0, 0.25)
--iv_ring
dark rgba(255, 255, 255, 0.12) light rgba(0, 0, 0, 0.08)
--iv_success
dark #7c9b7c light #3b6e3b
--iv_success-dim
dark #557255 light #2c552c
--iv_success-surface
dark rgba(124, 155, 124, 0.12) light rgba(59, 110, 59, 0.1)
--iv_surface
dark #000000 light #fcfcfc
--iv_surface-elevated
dark #18181a light #e8e8e8
--iv_surface-hover
dark #1f1f22 light #dddcdb
--iv_surface-overlay
dark rgba(255, 255, 255, 0.08) light rgba(0, 0, 0, 0.04)
--iv_surface-raised
dark #101011 light #f2f2f2
Pairs
Each surface has a matching foreground. Use the pair; do not mix a light surface with a dark-mode foreground.
| Surface | Foreground | Use |
|---|
--iv_surface | --iv_foreground | Page canvas and primary text. |
--iv_surface-raised | --iv_foreground | Cards, panels, code blocks. |
--iv_surface-elevated | --iv_foreground | Controls, menus, popovers. |
--iv_accent | --iv_foreground-inverse | Brass cursor blocks and selection marks. |
--iv_error | --iv_surface | Destructive actions and error text on raised surfaces. |
--iv_reverse-bg | --iv_reverse-fg | Reverse-video selection and active rows. |
Rules
- Brass is an accent, not a fill. One brass mark per view is usually enough.
- Never use color alone to signal state — pair it with text or an icon.
- Hardcoded hex values in app code break light mode. Override tokens instead.
- Status colors are tuned for 4.5:1 on their intended surface.