Files
platform/src/workspaces/theme/css/themes/pina.css
T
pastilhasandClaude Sonnet 5 861fc4a58b add colors.toml and 0x-hex support, rescuing 44 more community themes
Poked at the 62 "no parseable source" skips from the first pass and found two things
the pipeline didn't handle: several community repos genuinely ship colors.toml too — some
in Omarchy 4's own semantic schema (best case, no derivation needed at all, same quality
as the official 22), others reusing the filename for an unrelated flat color0..color15
scheme — and a handful of alacritty.toml files use 0xrrggbb instead of #rrggbb.

palette.ts's loadPalette is now a thin wrapper over two exported pieces (parseTomlText,
paletteFromRecord) so the community pipeline can attempt the real schema first without
duplicating the reader; falls through to the color16 or ANSI-derived paths otherwise.
generate-themes.ts --check still reports 0 changes for the official set — the refactor
is behavior-preserving there, the lowercase-hex normalization it picked up along the way
touched 7 official theme files cosmetically (their source colors.toml has uppercase hex),
regenerated for real rather than left inconsistent with their own source.

147 -> 191 community themes ported. Of the original 62 unparseable repos, most turned out
to be simply gone (404 on GitHub — repos deleted or renamed since the site listed them);
the rest needed one of the two format additions above. 20 themes remain stuck: 16 dead
repos, 2 with no repo link at all, and the same handful of genuinely low-contrast source
palettes (mostly Solarized variants) where fixing contrast would mean changing the
author's actual colours rather than porting them.

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

98 lines
3.1 KiB
CSS

/*
Pina — 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/bjarneo/omarchy-pina-theme (colors.toml (16-colour ANSI)), read by scripts/port-community-themes.ts. Values
went through deriveOmarchyPalette (scripts/themes/from-ansi.ts) because the source has no Omarchy 4
colors.toml — 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='pina'] {
--background: #0d0e0d;
--foreground: #d4d5d5;
--card: #171a18;
--card-foreground: #d4d5d5;
--popover: #171a18;
--popover-foreground: #d4d5d5;
--muted: #272a28;
--muted-foreground: #9b9d9c;
--accent: #272a28;
--accent-foreground: #d4d5d5;
--primary: #d8f5d8;
--primary-foreground: #0d0e0d;
--secondary: #272a28;
--secondary-foreground: #d4d5d5;
--cta: #d8f5d8;
--cta-foreground: #0d0e0d;
--ctahover: #ddf6dd;
--success: #b8c082;
--success-foreground: #0d0e0d;
--warning: #e0d480;
--warning-foreground: #0d0e0d;
--destructive: #7db085;
--destructive-foreground: #0d0e0d;
--info: #7dd2b8;
--info-foreground: #0d0e0d;
--busy: #afc283;
--busy-foreground: #0d0e0d;
--busy-ink: #afc283;
--border: #3c3f3d;
--input: #3c3f3d;
--ring: #d8f5d8;
--radius: 0.625rem;
--chart-primary: #d8f5d8;
--chart-secondary: #b5c9a4;
--status-success: #b8c082;
--status-warning: #e0d480;
--status-in-progress: #7dd2b8;
--page-bg: #0d0e0d;
--page-bg-src: '';
--panel-bg: rgb(23 26 24 / 0.72);
--panel-border: rgb(60 63 61 / 0.9);
--panel-border-bare: rgb(60 63 61 / 0.55);
--panel-raised-bg: rgb(23 26 24 / 0.95);
--panel-raised-border: rgb(60 63 61 / 1);
--panel-accent: #d8f5d8;
--panel-header-bg: rgb(39 42 40 / 0.6);
--panel-header-fg: #d4d5d5;
--panel-radius: 0.75rem;
--panel-blur: 12px;
--card-bg: #171a18;
--glass-bg: rgb(23 26 24 / 0.55);
--glass-border: rgb(60 63 61 / 0.7);
--dock-bg: rgb(23 26 24 / 0.7);
--dock-border: rgb(60 63 61 / 0.8);
--dock-tooltip-bg: #272a28;
--header-bg: rgb(23 26 24 / 0.8);
--header-border: rgb(60 63 61 / 0.9);
--header-fg: #d4d5d5;
--header-blur: 12px;
--pixel-grid-color: rgb(108 110 109 / 0.07);
--card-grid-color: rgb(108 110 109 / 0.05);
--panel-grid-color: rgb(108 110 109 / 0.06);
--scrollbar-thumb: rgb(107 128 113 / 0.6);
--scrollbar-thumb-hover: rgb(107 128 113 / 0.85);
--scrollbar-thin-thumb: rgb(107 128 113 / 0.45);
--scrollbar-thin-thumb-hover: rgb(107 128 113 / 0.7);
--brand: #d8f5d8;
--brand-foreground: #0d0e0d;
--brand-primary: #d8f5d8;
--brand-accent: #c5e8c5;
--brand-warm: #afc283;
--brand-deep: #0d0e0d;
--brand-muted: #6b8071;
--ink: #d4d5d5;
--surface-warm: #171a18;
--naturegreen: #b8c082;
--naturegreen-foreground: #0d0e0d;
--duck-dark: #d4d5d5;
--duck-teal: #c5e8c5;
--duck-yellow: #e0d480;
--duck-orange: #afc283;
--duck-forest: #b8c082;
--duck-beige: #2a2d2b;
--logo-src: '/officer-logo.svg';
}