vicinae: update theme filetype (#8141)
Some checks failed
/ triage (push) Has been cancelled
GitHub Pages / publish (ubuntu-latest) (push) Has been cancelled

As of v0.15.0, theme files use TOML instead of JSON and have a new structure.

The test actually didn't previously assert the existence of a theme file even though the example settings had a theme in them...
This commit is contained in:
Devin Droddy 2025-11-09 15:49:57 -05:00 committed by GitHub
parent be4a9233dd
commit b8645b18b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 100 additions and 55 deletions

View file

@ -28,22 +28,34 @@
};
};
themes = {
base16-default-dark = {
version = "1.0.0";
appearance = "dark";
name = "base16 default dark";
description = "base16 default dark by Chris Kempson";
palette = {
background = "#181818";
foreground = "#d8d8d8";
blue = "#7cafc2";
green = "#a3be8c";
magenta = "#ba8baf";
orange = "#dc9656";
purple = "#a16946";
red = "#ab4642";
yellow = "#f7ca88";
cyan = "#86c1b9";
catppuccin-mocha = {
meta = {
version = 1;
name = "Catppuccin Mocha";
description = "Cozy feeling with color-rich accents";
variant = "dark";
icon = "icons/catppuccin-mocha.png";
inherits = "vicinae-dark";
};
colors = {
core = {
background = "#1E1E2E";
foreground = "#CDD6F4";
secondary_background = "#181825";
border = "#313244";
accent = "#89B4FA";
};
accents = {
blue = "#89B4FA";
green = "#A6E3A1";
magenta = "#F5C2E7";
orange = "#FAB387";
purple = "#CBA6F7";
red = "#F38BA8";
yellow = "#F9E2AF";
cyan = "#94E2D5";
};
};
};
};
@ -71,6 +83,7 @@
nmt.script = ''
assertFileExists "home-files/.config/vicinae/vicinae.json"
assertFileExists "home-files/.config/systemd/user/vicinae.service"
assertFileExists "home-files/.local/share/vicinae/themes/catppuccin-mocha.toml"
assertFileExists "home-files/.local/share/vicinae/extensions/gif-search/package.json"
assertFileExists "home-files/.local/share/vicinae/extensions/test-extension/package.json"
'';