fcitx: Don't hardcode colors

This commit is contained in:
Donovan Glover 2023-06-25 12:44:28 -04:00
parent 4d01415a20
commit fbd150226a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,3 +1,5 @@
{ config, ... }:
{ {
xdg.configFile = { xdg.configFile = {
"mozc/ibus_config.textproto" = { "mozc/ibus_config.textproto" = {
@ -114,7 +116,7 @@
''; '';
}; };
"fcitx5/conf/classicui.conf" = { "fcitx5/conf/classicui.conf" = with config.lib.stylix.colors; {
force = true; force = true;
text = /* ini */ '' text = /* ini */ ''
# Vertical Candidate List # Vertical Candidate List
@ -130,9 +132,9 @@
# Tray Font # Tray Font
TrayFont="Noto Sans CJK JP Medium 11" TrayFont="Noto Sans CJK JP Medium 11"
# Tray Label Outline Color # Tray Label Outline Color
TrayOutlineColor=#49483e TrayOutlineColor=#${base02}
# Tray Label Text Color # Tray Label Text Color
TrayTextColor=#f8f8f2 TrayTextColor=#${base05}
# Prefer Text Icon # Prefer Text Icon
PreferTextIcon=True PreferTextIcon=True
# Show Layout Name In Icon # Show Layout Name In Icon