ElMassimo / ElMassimo/sublime-toggle-dark-mode

Issue with Theme One

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Dear all,

I am having an issue with the dark mode toggle and Theme One (https://github.com/AmjadHD/sublime_one_theme/).

In my settings, I have

```json
/*"theme": "auto",*/
"dark_theme": "One.sublime-theme",
"light_theme": "One.sublime-theme",

/*"color_scheme": "auto",*/
"dark_color_scheme": "One Dark.sublime-color-scheme",
"light_color_scheme": "One Light.sublime-color-scheme",
```

and a keybinding (F12) to `toggle_dark_mode`. My system default is light mode.

Now, when I manually configure

```json
"color_scheme": "auto",
"theme": "auto",
```

the editor shows up in light - as it should - and hitting F12 turns it to dark mode. I can see that the settings are altered to

```json
"color_scheme": "One Dark.sublime-color-scheme",
"theme": "One.sublime-theme",
```

Now, however, hitting F12 again does *not* switch back to `auto`, neither to the light variant - I am stuck in dark mode.

Is there anything I'm doing wrongly here?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.