No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
nnra6864 680cfb8fbe feat: Accent, link and state colors follow the theme's roles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 12:48:23 +01:00
.gitignore chore: Ignore build output 2026-11-11 00:31:14 +01:00
App.zig feat: Accent, link and state colors follow the theme's roles 2026-11-12 12:48:23 +01:00
build.zig feat: Equibop's QuickCSS gets the theme's colors and font as custom properties 2026-11-11 00:31:14 +01:00
build.zig.zon feat: Accent, link and state colors follow the theme's roles 2026-11-12 12:48:23 +01:00
README.md feat: Accent, link and state colors follow the theme's roles 2026-11-12 12:48:23 +01:00
root.zig feat: Equibop's QuickCSS gets the theme's colors and font as custom properties 2026-11-11 00:31:14 +01:00

kosm_equibop

Equibop for kosm: the theme's colors and font as CSS custom properties in Equibop's QuickCSS, for a Discord theme such as Material Discord to use.

The app writes a block between /* kosm:begin kosm */ and /* kosm:end */ at the end of ~/.config/equibop/settings/quickCss.css: a :root rule of --kosm-* properties. The rest of the file stays yours, byte for byte. Your own CSS then uses them, and Equibop applies a changed QuickCSS at once:

.theme-dark {
	--background-col: var(--kosm-background);
	--text-col: var(--kosm-text);
	--app-font: var(--kosm-font);
}

from(theme) sets the backgrounds from the theme's background role with its background alpha and its surface and state steps, the text from the foreground role, links and the accent from their roles, and outlines the theme's line.border of the accent. The font is left alone.

Fields

Field Written as Default
file ~/.config/equibop/settings/quickCss.css, created when missing
format the CSS adapter's: #rrggbbaa
colors.background --kosm-background null: not written
colors.background_alt --kosm-background-alt null
colors.background_highlight --kosm-background-highlight null
colors.text --kosm-text null
colors.text_highlight --kosm-text-highlight null
colors.placeholder --kosm-placeholder null
colors.link --kosm-link null
colors.accent --kosm-accent null
colors.outline --kosm-outline null
font --kosm-font, quoted null