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>
This commit is contained in:
2026-08-22 01:37:05 +00:00
co-authored by Claude Sonnet 5
parent a01ae73a1f
commit a58f4d2b32
153 changed files with 16401 additions and 0 deletions
@@ -0,0 +1,99 @@
/*
Monokai Dark — 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/ericrswanny/omarchy-monokai-dark-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='monokai-dark'] {
--background: #151613;
--foreground: #f8f8f2;
--card: #272822;
--card-foreground: #f8f8f2;
--popover: #272822;
--popover-foreground: #f8f8f2;
--muted: #363731;
--muted-foreground: #b9bab4;
--accent: #363731;
--accent-foreground: #f8f8f2;
--primary: #66d9ef;
--primary-foreground: #151613;
--secondary: #363731;
--secondary-foreground: #f8f8f2;
--cta: #66d9ef;
--cta-foreground: #151613;
--ctahover: #78def1;
--success: #a6e22e;
--success-foreground: #151613;
--warning: #e6db74;
--warning-foreground: #151613;
--destructive: #f92672;
--destructive-foreground: #151613;
--info: #66d9ef;
--info-foreground: #151613;
--busy: #f08173;
--busy-foreground: #151613;
--busy-ink: #f08173;
--border: #50514b;
--input: #50514b;
--ring: #66d9ef;
--radius: 0.625rem;
--chart-primary: #66d9ef;
--chart-secondary: #ae81ff;
--status-success: #a6e22e;
--status-warning: #e6db74;
--status-in-progress: #66d9ef;
--page-bg: #151613;
--page-bg-src: '';
--panel-bg: rgb(39 40 34 / 0.72);
--panel-border: rgb(80 81 75 / 0.9);
--panel-border-bare: rgb(80 81 75 / 0.55);
--panel-raised-bg: rgb(39 40 34 / 0.95);
--panel-raised-border: rgb(80 81 75 / 1);
--panel-accent: #66d9ef;
--panel-header-bg: rgb(54 55 49 / 0.6);
--panel-header-fg: #f8f8f2;
--panel-radius: 0.75rem;
--panel-blur: 12px;
--card-bg: #272822;
--glass-bg: rgb(39 40 34 / 0.55);
--glass-border: rgb(80 81 75 / 0.7);
--dock-bg: rgb(39 40 34 / 0.7);
--dock-border: rgb(80 81 75 / 0.8);
--dock-tooltip-bg: #363731;
--header-bg: rgb(39 40 34 / 0.8);
--header-border: rgb(80 81 75 / 0.9);
--header-fg: #f8f8f2;
--header-blur: 12px;
--pixel-grid-color: rgb(133 134 128 / 0.07);
--card-grid-color: rgb(133 134 128 / 0.05);
--panel-grid-color: rgb(133 134 128 / 0.06);
--scrollbar-thumb: rgb(117 113 94 / 0.6);
--scrollbar-thumb-hover: rgb(117 113 94 / 0.85);
--scrollbar-thin-thumb: rgb(117 113 94 / 0.45);
--scrollbar-thin-thumb-hover: rgb(117 113 94 / 0.7);
--brand: #66d9ef;
--brand-foreground: #151613;
--brand-primary: #66d9ef;
--brand-accent: #a1efe4;
--brand-warm: #f08173;
--brand-deep: #151613;
--brand-muted: #75715e;
--ink: #f8f8f2;
--surface-warm: #272822;
--naturegreen: #a6e22e;
--naturegreen-foreground: #151613;
--duck-dark: #f8f8f2;
--duck-teal: #a1efe4;
--duck-yellow: #e6db74;
--duck-orange: #f08173;
--duck-forest: #a6e22e;
--duck-beige: #3c3d37;
--logo-src: '/officer-logo.svg';
}