add stylix as theme config

This commit is contained in:
ulic-youthlic 2025-01-16 19:38:54 +08:00
parent b2dfe23325
commit be72064f13
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
12 changed files with 417 additions and 20 deletions

View file

@ -1,4 +1,8 @@
{ inputs, lib, ... }:
{
inputs,
lib,
...
}:
{
imports =
(with inputs; [

View file

@ -13,19 +13,19 @@ in
enable = true;
settings = {
main = {
font = "LXGW WenKai:size=11";
# font = "LXGW WenKai:size=11";
prompt = "'λ '";
dpi-aware = true;
};
colors = {
background = "282a36dd";
text = "f8f8f2ff";
match = "8be9fdff";
selection-match = "8be9fdff";
selection = "44475add";
selection-text = "f8f8f2ff";
border = "bd93f9ff";
};
# colors = {
# background = "282a36dd";
# text = "f8f8f2ff";
# match = "8be9fdff";
# selection-match = "8be9fdff";
# selection = "44475add";
# selection-text = "f8f8f2ff";
# border = "bd93f9ff";
# };
};
};
};

View file

@ -1,4 +1,4 @@
theme = "ayu_evolve"
# theme = "ayu_evolve" # avoid conflicting with stylix
[editor]
line-number = "relative"
@ -56,8 +56,9 @@ focus-lost = true
after-delay.enable = true
[editor.whitespace.render]
space = "all"
space = "none"
tab = "all"
nbsp = "all"
newline = "none"
[editor.whitespace.characters]