Files
platform/src/workspaces/theme/css/themes/ember-n-ash.css
T
pastilhasandClaude Sonnet 5 a58f4d2b32 port 147 community Omarchy themes from omarchythemes.com
The official 22 themes come from basecamp/omarchy's own colors.toml, contrast-checked
by generate-themes.ts. A community theme has no such file — it ships per-app configs
(alacritty.toml, ghostty.conf) in the older 16-ANSI-slot style, so this adds a sibling
pipeline: from-ansi.ts derives the same 24-key Palette shape by role (accent, three
background depths, three foreground weights) from those 16 slots, then runs through the
same mapPalette + contrast checks the official themes use. Nothing about the official
generator changed — verified generate-themes.ts --check still reports 0 changes.

port-community-themes.ts discovers each theme's GitHub repo from its omarchythemes.com
page, fetches alacritty.toml (preferred) or ghostty.conf, and is idempotent via
community-manifest.json so a re-run only fetches what's missing. Community themes get
their own registry/index.css marker block, separate from the official GENERATED THEMES
block, so the two pipelines can never clobber each other.

121 of 212 attempted made it through cleanly; a second pass tightening accent selection
and nudging --input recovered 20 more borderline cases (147 total). The rest failed for
real reasons: 62 repos had no parseable colour source, 7 had an accent colour whose own
luminance can't clear 4.5:1 against either black or white text, a handful were narrowly
under threshold even after the rescue pass, and 2 pages had no repo link at all. Every
generated file's header states its source repo and whether it's a light or dark theme.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-22 01:37:05 +00:00

100 lines
3.2 KiB
CSS

/*
Ember N Ash — ported from a community Omarchy theme, not from basecamp/omarchy's own set.
Dark theme (dark), by luminance of its own
background — the source repo carries no mode flag of its own to read.
Source: https://github.com/Hydradevx/omarchy-ember-n-ash-theme (alacritty.toml), read by scripts/port-community-themes.ts. Values
went through deriveOmarchyPalette (scripts/themes/from-ansi.ts) because a single-theme repo ships
per-app configs, not Omarchy 4's own colors.toml shape — some tokens here are reconstructed, not
authored. Every text/surface pair is contrast-checked the same way the official themes are.
DO NOT EDIT BY HAND. Re-run the script to refresh from the source repo.
*/
[data-theme='ember-n-ash'] {
--background: #0e0e0e;
--foreground: #e5d6c6;
--card: #1a1a1a;
--card-foreground: #e5d6c6;
--popover: #1a1a1a;
--popover-foreground: #e5d6c6;
--muted: #2a2a2a;
--muted-foreground: #a89e92;
--accent: #2a2a2a;
--accent-foreground: #e5d6c6;
--primary: #ba9486;
--primary-foreground: #0e0e0e;
--secondary: #2a2a2a;
--secondary-foreground: #e5d6c6;
--cta: #ba9486;
--cta-foreground: #0e0e0e;
--ctahover: #c2a195;
--success: #9e8f70;
--success-foreground: #0e0e0e;
--warning: #d9a066;
--warning-foreground: #0e0e0e;
--destructive: #d45d4c;
--destructive-foreground: #0e0e0e;
--info: #6c5b4c;
--info-foreground: #e5d6c6;
--busy: #d77f59;
--busy-foreground: #0e0e0e;
--busy-ink: #d77f59;
--border: #423f3c;
--input: #423f3c;
--ring: #ba9486;
--radius: 0.625rem;
--chart-primary: #ba9486;
--chart-secondary: #b57276;
--status-success: #9e8f70;
--status-warning: #d9a066;
--status-in-progress: #6c5b4c;
--page-bg: #0e0e0e;
--page-bg-src: '';
--panel-bg: rgb(26 26 26 / 0.72);
--panel-border: rgb(66 63 60 / 0.9);
--panel-border-bare: rgb(66 63 60 / 0.55);
--panel-raised-bg: rgb(26 26 26 / 0.95);
--panel-raised-border: rgb(66 63 60 / 1);
--panel-accent: #ba9486;
--panel-header-bg: rgb(42 42 42 / 0.6);
--panel-header-fg: #e5d6c6;
--panel-radius: 0.75rem;
--panel-blur: 12px;
--card-bg: #1a1a1a;
--glass-bg: rgb(26 26 26 / 0.55);
--glass-border: rgb(66 63 60 / 0.7);
--dock-bg: rgb(26 26 26 / 0.7);
--dock-border: rgb(66 63 60 / 0.8);
--dock-tooltip-bg: #2a2a2a;
--header-bg: rgb(26 26 26 / 0.8);
--header-border: rgb(66 63 60 / 0.9);
--header-fg: #e5d6c6;
--header-blur: 12px;
--pixel-grid-color: rgb(117 111 103 / 0.07);
--card-grid-color: rgb(117 111 103 / 0.05);
--panel-grid-color: rgb(117 111 103 / 0.06);
--scrollbar-thumb: rgb(42 42 42 / 0.6);
--scrollbar-thumb-hover: rgb(42 42 42 / 0.85);
--scrollbar-thin-thumb: rgb(42 42 42 / 0.45);
--scrollbar-thin-thumb-hover: rgb(42 42 42 / 0.7);
--brand: #ba9486;
--brand-foreground: #0e0e0e;
--brand-primary: #ba9486;
--brand-accent: #a98274;
--brand-warm: #d77f59;
--brand-deep: #0e0e0e;
--brand-muted: #2a2a2a;
--ink: #e5d6c6;
--surface-warm: #1a1a1a;
--naturegreen: #9e8f70;
--naturegreen-foreground: #0e0e0e;
--duck-dark: #e5d6c6;
--duck-teal: #a98274;
--duck-yellow: #d9a066;
--duck-orange: #d77f59;
--duck-forest: #9e8f70;
--duck-beige: #2e2d2b;
--logo-src: '/officer-logo.svg';
}