From 514ebba449ea34a714e808f1aaf49222667a3122 Mon Sep 17 00:00:00 2001 From: Hankertrix <91734413+hankertrix@users.noreply.github.com> Date: Tue, 13 Jan 2026 01:42:54 +0800 Subject: [PATCH] fix: remove fg property from the directory icons --- yazi-config/preset/theme-dark.toml | 30 ++++++++++++++--------------- yazi-config/preset/theme-light.toml | 30 ++++++++++++++--------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/yazi-config/preset/theme-dark.toml b/yazi-config/preset/theme-dark.toml index ede9cc34..3fda8224 100644 --- a/yazi-config/preset/theme-dark.toml +++ b/yazi-config/preset/theme-dark.toml @@ -266,20 +266,20 @@ rules = [ [icon] globs = [] dirs = [ - { name = ".config", text = "", fg = "blue" }, - { name = ".git", text = "", fg = "blue" }, - { name = ".github", text = "", fg = "blue" }, - { name = ".npm", text = "", fg = "blue" }, - { name = "Desktop", text = "", fg = "blue" }, - { name = "Development", text = "", fg = "blue" }, - { name = "Documents", text = "", fg = "blue" }, - { name = "Downloads", text = "", fg = "blue" }, - { name = "Library", text = "", fg = "blue" }, - { name = "Movies", text = "", fg = "blue" }, - { name = "Music", text = "", fg = "blue" }, - { name = "Pictures", text = "", fg = "blue" }, - { name = "Public", text = "", fg = "blue" }, - { name = "Videos", text = "", fg = "blue" }, + { name = ".config", text = "" }, + { name = ".git", text = "" }, + { name = ".github", text = "" }, + { name = ".npm", text = "" }, + { name = "Desktop", text = "" }, + { name = "Development", text = "" }, + { name = "Documents", text = "" }, + { name = "Downloads", text = "" }, + { name = "Library", text = "" }, + { name = "Movies", text = "" }, + { name = "Music", text = "" }, + { name = "Pictures", text = "" }, + { name = "Public", text = "" }, + { name = "Videos", text = "" }, ] files = [ { name = ".babelrc", text = "", fg = "#cbcb41" }, @@ -996,7 +996,7 @@ conds = [ { if = "dummy", text = "" }, # Fallback - { if = "dir", text = "", fg = "blue" }, + { if = "dir", text = "" }, { if = "exec", text = "" }, { if = "!dir", text = "" }, ] diff --git a/yazi-config/preset/theme-light.toml b/yazi-config/preset/theme-light.toml index 41b6838f..fe1b8c41 100644 --- a/yazi-config/preset/theme-light.toml +++ b/yazi-config/preset/theme-light.toml @@ -266,20 +266,20 @@ rules = [ [icon] globs = [] dirs = [ - { name = ".config", text = "", fg = "blue" }, - { name = ".git", text = "", fg = "blue" }, - { name = ".github", text = "", fg = "blue" }, - { name = ".npm", text = "", fg = "blue" }, - { name = "Desktop", text = "", fg = "blue" }, - { name = "Development", text = "", fg = "blue" }, - { name = "Documents", text = "", fg = "blue" }, - { name = "Downloads", text = "", fg = "blue" }, - { name = "Library", text = "", fg = "blue" }, - { name = "Movies", text = "", fg = "blue" }, - { name = "Music", text = "", fg = "blue" }, - { name = "Pictures", text = "", fg = "blue" }, - { name = "Public", text = "", fg = "blue" }, - { name = "Videos", text = "", fg = "blue" }, + { name = ".config", text = "" }, + { name = ".git", text = "" }, + { name = ".github", text = "" }, + { name = ".npm", text = "" }, + { name = "Desktop", text = "" }, + { name = "Development", text = "" }, + { name = "Documents", text = "" }, + { name = "Downloads", text = "" }, + { name = "Library", text = "" }, + { name = "Movies", text = "" }, + { name = "Music", text = "" }, + { name = "Pictures", text = "" }, + { name = "Public", text = "" }, + { name = "Videos", text = "" }, ] files = [ { name = ".babelrc", text = "", fg = "#666620" }, @@ -996,7 +996,7 @@ conds = [ { if = "dummy", text = "" }, # Fallback - { if = "dir", text = "", fg = "blue" }, + { if = "dir", text = "" }, { if = "exec", text = "" }, { if = "!dir", text = "" }, ]