File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " pioarduino-ide" ,
3- "version" : " 1.1.1 " ,
3+ "version" : " 1.2.3 " ,
44 "icon" : " assets/images/pioarduino-128x128.png" ,
55 "publisher" : " pioarduino" ,
66 "engines" : {
670670 "name" : " platformio" ,
671671 "owner" : " cpp" ,
672672 "fileLocation" : [
673- " relative " ,
673+ " autoDetect " ,
674674 " ${workspaceFolder}"
675675 ],
676676 "pattern" : {
877877 },
878878 "dependencies" : {
879879 "fs-plus" : " ~3.1.1" ,
880- "pioarduino-node-helpers" : " ~12.1.1 " ,
880+ "pioarduino-node-helpers" : " ~12.1.3 " ,
881881 "platformio-vscode-debug" : " ~1.4.1"
882882 },
883883 "devDependencies" : {
890890 "prettier" : " ~3.4.2" ,
891891 "webpack" : " ~5.97.1" ,
892892 "webpack-cli" : " ~6.0.1"
893- },
894- "extensionDependencies" : [
895- " ms-vscode.cpptools"
896- ]
893+ }
897894}
Original file line number Diff line number Diff line change @@ -100,8 +100,9 @@ export default class PIOHome {
100100 }
101101
102102 getTheme ( ) {
103- const workbench = vscode . workspace . getConfiguration ( 'workbench' ) || { } ;
104- return ( workbench . colorTheme || '' ) . toLowerCase ( ) . includes ( 'light' )
103+ const themeKind = vscode . window . activeColorTheme . kind ;
104+ return themeKind === vscode . ColorThemeKind . Light ||
105+ themeKind === vscode . ColorThemeKind . HighContrastLight
105106 ? 'light'
106107 : 'dark' ;
107108 }
You can’t perform that action at this time.
0 commit comments