| 1 | //// |
| 2 | /// Darkmatter — a near-black, warm-neutral palette. |
| 3 | /// |
| 4 | /// Derived from the Darkmatter WezTerm color scheme: a monochrome ink-to-white |
| 5 | /// ramp lit by three accents (teal, cream, orange). Values marked "scheme" are |
| 6 | /// taken verbatim from the terminal scheme; the rest fill in the intermediate |
| 7 | /// surface and text steps that a GTK theme needs and a terminal does not. |
| 8 | /// |
| 9 | /// @group darkmatter |
| 10 | //// |
| 11 | |
| 12 | // --------------------------------------------------------------------------- |
| 13 | // Surfaces — deepest to lightest |
| 14 | // --------------------------------------------------------------------------- |
| 15 | |
| 16 | /// Deepest ink. Window shadows and the outermost frame. |
| 17 | $dm_shadow: #060506; |
| 18 | |
| 19 | /// Headerbars, panels, dark sidebars, and the window-manager frame. Sits at |
| 20 | /// the same level as $dm_bg: the chrome reads as part of the window rather |
| 21 | /// than as a darker shelf under it. (scheme: background) |
| 22 | $dm_dark: #121113; |
| 23 | |
| 24 | /// Window background. (scheme: background) |
| 25 | $dm_bg: #121113; |
| 26 | |
| 27 | /// Sidebars and scrollbar troughs. Sits between $dm_bg and $dm_base. |
| 28 | $dm_sidebar: #171618; |
| 29 | |
| 30 | /// Entries, views, lists, cards. Content surfaces sit above the window. |
| 31 | $dm_base: #1c1b1d; |
| 32 | |
| 33 | /// Hover and row-selection tint. (scheme: selection background) |
| 34 | $dm_hover: #222222; |
| 35 | |
| 36 | /// Default border. Light enough to read against $dm_bg. |
| 37 | $dm_border: #2b2b2b; |
| 38 | |
| 39 | /// Stronger border, for separators that must survive a dark neighbour. |
| 40 | /// (scheme: bright black) |
| 41 | $dm_border_hi: #333333; |
| 42 | |
| 43 | // --------------------------------------------------------------------------- |
| 44 | // Text — dimmest to brightest |
| 45 | // --------------------------------------------------------------------------- |
| 46 | |
| 47 | /// Disabled text, dim glyphs, resting window-button fill. (scheme: ansi 4) |
| 48 | $dm_dim: #888888; |
| 49 | |
| 50 | /// Secondary labels. (scheme: ansi 5) |
| 51 | $dm_muted: #999999; |
| 52 | |
| 53 | /// Tertiary labels. (scheme: ansi 6) |
| 54 | $dm_soft: #aaaaaa; |
| 55 | |
| 56 | /// Near-foreground text, hovered window buttons. (scheme: ansi 7) |
| 57 | $dm_subtle: #c1c1c1; |
| 58 | |
| 59 | /// Primary foreground. (scheme: foreground) |
| 60 | $dm_fg: #ffffff; |
| 61 | |
| 62 | // --------------------------------------------------------------------------- |
| 63 | // Accents |
| 64 | // --------------------------------------------------------------------------- |
| 65 | |
| 66 | /// Muted teal. Success, secondary accent. (scheme: ansi 1) |
| 67 | $dm_teal: #5f8787; |
| 68 | |
| 69 | /// Warm cream. Warnings. (scheme: ansi 2) |
| 70 | $dm_cream: #fbcb97; |
| 71 | |
| 72 | /// Primary accent: selection, focus, switches, suggested actions. |
| 73 | /// (scheme: ansi 3) |
| 74 | $dm_orange: #e78a53; |
| 75 | |
| 76 | /// Errors and destructive actions. Not in the terminal scheme — $dm_orange |
| 77 | /// rotated to a red hue at identical saturation and lightness, so it reads as |
| 78 | /// a sibling of the accent rather than an import from another palette. |
| 79 | $dm_red: #e75353; |