That’s exactly what I did. My setup now is similar to this:
Default (OSX).sublime-preferences
“color_scheme”: “Themes/Light1”
// “color_scheme”: “Themes/Dark1”
Html.sublime-preferences
“color_scheme”: “Themes/Light2”
// “color_scheme”: “Themes/Dark2”
CSS.sublime-preferences
“color_scheme”: “Themes/Light3”
// “color_scheme”: “Themes/Dark3”
JavaScript.sublime-preferences
“color_scheme”: “Themes/Light3”
// “color_scheme”: “Themes/Dark3”
Markdown.sublime-preferences
“color_scheme”: “Themes/Light4”
// “color_scheme”: “Themes/Dark4”
When I want dark mode, I now have to uncomment each second line and comment each first line of each file separately. But I’d like to be able to do that:
Default (OSX).sublime-preferences
“color_scheme”: “auto” // or set it to “light” or “dark”; just one place to toggle the mode for each language with no need to comment and uncomment
“light_color_scheme”: “Themes/Light1”
“dark_color_scheme”: “Themes/Dark1”
Html.sublime-preferences
“light_color_scheme”: “Themes/Light2”
“dark_color_scheme”: “Themes/Dark2”
CSS.sublime-preferences
“light_color_scheme”: “Themes/Light3”
“dark_color_scheme”: “Themes/Dark3”
JavaScript.sublime-preferences
“light_color_scheme”: “Themes/Light3”
“dark_color_scheme”: “Themes/Dark3”
Markdown.sublime-preferences
“light_color_scheme”: “Themes/Light4”
“dark_color_scheme”: “Themes/Dark4”