File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 243243 user : [ [ . User ] ] ,
244244 settings : [ [ . Settings ] ] ,
245245 navTree : [ [ . NavTree ] ] ,
246- assets : [ [ . Assets ] ]
246+ assets : [ [ . Assets ] ]
247247 } ;
248248
249249 // Set theme to match system only on startup.
256256
257257 if ( darkQuery . matches ) {
258258 document . body . classList . add ( "theme-dark" ) ;
259- cssLink . href = window . grafanaBootData . themePaths . dark ;
259+ cssLink . href = window . grafanaBootData . assets . dark ;
260260 window . grafanaBootData . user . lightTheme = false ;
261261 } else {
262262 document . body . classList . add ( "theme-light" ) ;
263- cssLink . href = window . grafanaBootData . themePaths . light ;
263+ cssLink . href = window . grafanaBootData . assets . light ;
264264 window . grafanaBootData . user . lightTheme = true ;
265265 }
266266 document . head . appendChild ( cssLink ) ;
You can’t perform that action at this time.
0 commit comments