Restore semantic theme compatibility

This commit is contained in:
Ryan Hughes
2026-06-02 17:23:28 -04:00
parent b1505a085d
commit 89bfa841c4
6 changed files with 167 additions and 15 deletions
+4 -1
View File
@@ -37,8 +37,11 @@ sync_theme_environment() {
sync_colorfgbg() {
local colorfgbg="15;0"
local mode
if [[ -f $CURRENT_THEME_PATH/light.mode ]]; then
mode=$(theme_color mode)
if [[ $mode == "light" ]] || [[ -z $mode && -f $CURRENT_THEME_PATH/light.mode ]]; then
colorfgbg="0;15"
fi