From c021862558fb24b0601cd783ab75f51a08beb173 Mon Sep 17 00:00:00 2001 From: Brixy <1643010+Brixy@users.noreply.github.com> Date: Sat, 27 Apr 2024 15:57:39 +0200 Subject: [PATCH] fix: Improve accessibility by avoiding hex color code for white MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Visibility of all hard coded colors depend on the terminal emulators' background-color. Accessibility can be addressed by using one’s own theme. Yet, IMHO accessibility can be improved by removing hard hex color codes for white (and black). --- yazi-config/preset/theme.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yazi-config/preset/theme.toml b/yazi-config/preset/theme.toml index 2cc7a8b1..53afeea9 100644 --- a/yazi-config/preset/theme.toml +++ b/yazi-config/preset/theme.toml @@ -228,8 +228,8 @@ rules = [ { name = "*.ini" , text = "", fg = "#6d8086" }, { name = "*.json", text = "", fg = "#cbcb41" }, { name = "*.kdl" , text = "", fg = "#6d8086" }, - { name = "*.md" , text = "", fg = "#ffffff" }, - { name = "*.toml", text = "", fg = "#ffffff" }, + { name = "*.md" , text = "", fg = "white" }, + { name = "*.toml", text = "", fg = "white" }, { name = "*.txt" , text = "", fg = "#89e051" }, { name = "*.yaml", text = "", fg = "#6d8086" }, { name = "*.yml" , text = "", fg = "#6d8086" },