File tree 1 file changed +8
-0
lines changed
arduino-ide-extension/src/browser/dialogs/settings 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ export class SettingsService {
122
122
languages ,
123
123
currentLanguage ,
124
124
editorFontSize ,
125
+ themeId ,
125
126
autoSave ,
126
127
quickSuggestions ,
127
128
autoScaleInterface ,
@@ -136,6 +137,13 @@ export class SettingsService {
136
137
[ 'en' , ...( await this . localizationProvider . getAvailableLanguages ( ) ) ] ,
137
138
this . localizationProvider . getCurrentLanguage ( ) ,
138
139
this . preferenceService . get < number > ( FONT_SIZE_SETTING , 12 ) ,
140
+ this . preferenceService . get < string > (
141
+ 'workbench.colorTheme' ,
142
+ window . matchMedia &&
143
+ window . matchMedia ( '(prefers-color-scheme: dark)' ) . matches
144
+ ? 'arduino-theme-dark'
145
+ : 'arduino-theme'
146
+ ) ,
139
147
this . preferenceService . get < Settings . AutoSave > (
140
148
AUTO_SAVE_SETTING ,
141
149
Settings . AutoSave . DEFAULT_ON
You can’t perform that action at this time.
0 commit comments