File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ class AuraSchemeControl extends AuraControl {
156156
157157 // 2) Else read from computed CSS on :root
158158 const computed = getComputedStyle ( document . documentElement ) . getPropertyValue ( this . #prop) . trim ( ) ; // "light" | "dark" | "light dark" | ""
159- const initial = this . #isValid( computed ) ? computed : 'light dark ' ;
159+ const initial = this . #isValid( computed ) ? computed : 'normal ' ;
160160 this . #select( initial ) ;
161161 // Don’t override stylesheet on load; only reflect the choice in UI.
162162 }
@@ -168,7 +168,7 @@ class AuraSchemeControl extends AuraControl {
168168
169169 // Re-read stylesheet-driven value; default to "light dark"
170170 const token = getComputedStyle ( document . documentElement ) . getPropertyValue ( this . #prop) . trim ( ) ;
171- const value = this . #isValid( token ) ? token : 'light dark ' ;
171+ const value = this . #isValid( token ) ? token : 'normal ' ;
172172
173173 // Update UI (no persist, no inline set)
174174 this . #select( value ) ;
You can’t perform that action at this time.
0 commit comments