flake: update and unlock tinted-kitty input (#1308)

Update and unlock the tinted-kitty input because the issue from commit
f95022bb6e ("stylix: downgrade and lock tinted-kitty input (#589)")
seems to have resolved itself.

Link: https://github.com/nix-community/stylix/pull/1308

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
wawwior 2025-05-19 18:53:21 +02:00 committed by GitHub
parent 54aa02e627
commit 2e58606c9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 13 deletions

7
flake.lock generated
View file

@ -313,17 +313,16 @@
"tinted-kitty": {
"flake": false,
"locked": {
"lastModified": 1716423189,
"narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=",
"lastModified": 1735730497,
"narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
"owner": "tinted-theming",
"repo": "tinted-kitty",
"rev": "eb39e141db14baef052893285df9f266df041ff8",
"rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-kitty",
"rev": "eb39e141db14baef052893285df9f266df041ff8",
"type": "github"
}
},

View file

@ -86,14 +86,7 @@
};
tinted-kitty = {
# Lock the tinted-kitty input to prevent upstream breaking changes.
#
# Considering that Stylix eventually re-implements this input's
# functionality [1], it might be easiest to lock this input to avoid
# wasted maintenance effort.
#
# [1]: https://github.com/nix-community/stylix/issues/534
url = "github:tinted-theming/tinted-kitty/eb39e141db14baef052893285df9f266df041ff8";
url = "github:tinted-theming/tinted-kitty";
flake = false;
};

View file

@ -4,7 +4,7 @@ let
cfg = config.stylix.targets.kitty;
theme = config.lib.stylix.colors {
templateRepo = config.stylix.inputs.tinted-kitty;
target = if cfg.variant256Colors then "default-256" else "default";
target = if cfg.variant256Colors then "base16-256-deprecated" else "base16";
};
in
{