No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
nnra6864 862021209b 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:29 +01:00
.gitignore chore: Ignore build output 2026-11-11 00:24:40 +01:00
App.zig feat: Accent, link and state colors follow the theme's roles 2026-11-12 12:48:29 +01:00
build.zig feat: A tuios theme of its own, selected in tuios' config 2026-11-11 00:24:40 +01:00
build.zig.zon feat: Accent, link and state colors follow the theme's roles 2026-11-12 12:48:29 +01:00
README.md feat: Accent, link and state colors follow the theme's roles 2026-11-12 12:48:29 +01:00
root.zig feat: A tuios theme of its own, selected in tuios' config 2026-11-11 00:24:40 +01:00

kosm_tuios

tuios for kosm: a theme of its own for tuios' terminals and its window manager's chrome.

The app writes the theme whole to ~/.config/tuios/themes/kosm.json and selects it by setting appearance.theme = "kosm" in ~/.config/tuios/config.toml, keeping the rest of the config byte for byte. With the theme's files = .per_kosmos the theme is named after the kosmos instead (krystallos.dark.json, appearance.theme = "krystallos.dark"), so each kosmos applied keeps its own; tuios shows the theme's name (Theme.name), or the kosmos' name when it is null. The key must be in the config already; set config = null to leave the config alone and select the theme yourself (tuios --theme kosm). Restart tuios to see a change.

from(theme) sets the terminal's foreground and background from the theme's roles, the 8 ANSI colors from the wheel (tuios calls magenta purple) and the bright ones a lightness.bright step brighter. The chrome's accent and states come from the accent, success, warning and error roles.

Fields

Field Default
file ~/.config/tuios/themes/{name}.json; {name} is kosm, or the kosmos' name with files = .per_kosmos
files the theme's files: .shared or .per_kosmos
config ~/.config/tuios/config.toml; null leaves it alone
id the theme file's name without .json: the name appearance.theme selects
display_name the theme's name, or the name kosm applies the kosmos under
colors fg, bg, cursor, selection_bg, black .. white, bright_black .. bright_white; null leaves each to tuios
chrome accent, success, warning, error, info, surface; null leaves each to tuios