File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -331,18 +331,22 @@ function playground_text(playground, hidden = true) {
331
331
stylesheets . ayuHighlight . disabled = true ;
332
332
stylesheets . tomorrowNight . disabled = false ;
333
333
stylesheets . highlight . disabled = true ;
334
-
335
334
ace_theme = "ace/theme/tomorrow_night" ;
336
335
} else if ( theme == 'ayu' ) {
337
336
stylesheets . ayuHighlight . disabled = false ;
338
337
stylesheets . tomorrowNight . disabled = true ;
339
338
stylesheets . highlight . disabled = true ;
340
339
ace_theme = "ace/theme/tomorrow_night" ;
341
- } else {
340
+ } else if ( theme == 'rust' || theme == 'light' ) {
342
341
stylesheets . ayuHighlight . disabled = true ;
343
342
stylesheets . tomorrowNight . disabled = true ;
344
343
stylesheets . highlight . disabled = false ;
345
344
ace_theme = "ace/theme/dawn" ;
345
+ } else {
346
+ stylesheets . ayuHighlight . disabled = true ;
347
+ stylesheets . tomorrowNight . disabled = true ;
348
+ stylesheets . highlight . disabled = false ;
349
+ ace_theme = "ace/theme/tomorrow_night" ;
346
350
}
347
351
348
352
setTimeout ( function ( ) {
You can’t perform that action at this time.
0 commit comments