No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
nnra6864 465a2ff6b6 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:19 +01:00
.gitignore chore: Ignore build output 2026-11-11 00:32:51 +01:00
App.zig feat: Accent, link and state colors follow the theme's roles 2026-11-12 12:48:19 +01:00
build.zig feat: AdwSteamGtk's Adwaita variables follow the theme in its custom CSS 2026-11-11 00:32:51 +01:00
build.zig.zon feat: Accent, link and state colors follow the theme's roles 2026-11-12 12:48:19 +01:00
Colors.zig feat: AdwSteamGtk's Adwaita variables follow the theme in its custom CSS 2026-11-11 00:32:51 +01:00
README.md feat: Accent, link and state colors follow the theme's roles 2026-11-12 12:48:19 +01:00
root.zig feat: AdwSteamGtk's Adwaita variables follow the theme in its custom CSS 2026-11-11 00:32:51 +01:00

kosm_adwsteamgtk

AdwSteamGtk for kosm: the theme's colors as the Adwaita variables of AdwSteamGtk's color themes, so Steam's Adwaita skin follows the kosmos.

The app writes a block between /* kosm:begin kosm */ and /* kosm:end */ into ~/.config/AdwSteamGtk/custom.css, the file AdwSteamGtk adds to the skin when its "Custom CSS" option is on. The rest of the file stays yours. Each set color is a --adw-<name>-rgb variable written r, g, b !important (the color themes mark theirs !important, so these must be too). Where Adwaita keeps a color's opacity apart (--adw-card-bg-a, the shades, --adw-warning-fg-a), the color's alpha is written there.

After an apply, install the theme again in AdwSteamGtk with "Custom CSS" on, and restart Steam.

from(theme) sets windows from the theme's background role with its surface steps, text from the foreground role, the accent and the error, success and warning roles, each with readable text from the theme's contrast.on; shadows are the theme's surface.shadow, alpha included. Friends' states are gray, cyan and green.

Fields

Field Default
file ~/.config/AdwSteamGtk/custom.css, created when missing
colors every variable of AdwSteamGtk's color themes, named without --adw- and -rgb (accent_bg, window_fg, card_shade, user_ingame, ...); null leaves each to the installed color theme