Restore semantic theme compatibility

This commit is contained in:
Ryan Hughes committed 2026-06-02 17:23:28 -04:00
1 parent b1505a085d
commit 89bfa841c4
6 files changed
+167 -15

No files matched your search

+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