Add a testbed and resolve the 0.4.0 breaking changes [2] [3] [4].
Migrate the highlight colors to mnemonics with the following script to
improve readability and simplify the process of reusing upstream
templates [4]:
colors_base=(
"base08" "base09" "base0A" "base0B" "base0C" "base0D" "base0E"
"base0F"
)
colors_name=(
"red" "orange" "yellow" "green" "cyan" "blue" "magenta" "brown"
)
for i in "${!colors_base[@]}"; do
sed \
--in-place \
"s/${colors_base[i]}/${colors_name[i]}/g" \
modules/yazi/hm.nix
done
[1]: https://github.com/sxyazi/yazi/issues/1772
[2]: https://github.com/sxyazi/yazi/pull/1927
[3]: https://github.com/sxyazi/yazi/pull/1953
[4]: https://github.com/yazi-rs/flavors/blob/main/scripts/catppuccin/template.toml
Closes: https://github.com/danth/stylix/issues/604
Closes: https://github.com/danth/stylix/issues/683
Link: https://github.com/danth/stylix/pull/719
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
|
||
|---|---|---|
| .. | ||
| hm.nix | ||
| testbed.nix | ||