Sublime Forum

Automatic dark-mode

#1

I wrote a small plugin:

Hope it helps.

3 Likes

#2

Hi there. I just discovered this plug-in but it seems your repository is no longer accessible and I can’t install it via Package Control. Will the plug-in be making a return?

0 Likes

#3

ST4 now has an “auto” mode to detect light and dark. ST4 is in beta and requires a license.

If I understand correctly, the author, after this very recently added feature in ST4, discontinued support of this plugin as it is deemed no longer necessary (they use ST4), but with that said, the built-in feature is only available for ST4 and is not going to be backported to ST3, so the removal of this package may leave those on ST3 in a lurch. Unless there is a fork, you may have to write your own for ST3, or give ST4 a try, if you have a license.

3 Likes

#4

Ah, that makes sense. I’m still on 3, and didn’t know about the new features in 4. I did find this fork that works, in case it helps anyone else: https://github.com/Shofiqul-CSE/sublime-auto-dark

1 Like

#5

It is necessary to do something to enable the auto dark-mode switching? I had a light (white background) color scheme and theme and the switch didn’t occur.

0 Likes

#6

Yes. Run “UI: Select Color Scheme” from the Command Palette, and then select the “Auto” option. Then select your light color scheme, and then select your dark color scheme.

0 Likes

#7

Thanks for your answer. However after run “UI: Select Color Scheme” from the Command Palette, no
“Auto” option is listed. It is necessary a license?

0 Likes

#8

In Safe Mode works as you say. What should I do to find the reason I can’t see the Auto option?

0 Likes

#9

I think is because I am running ST3 and ST4 side by side with the ST3 folder https://www.sublimetext.com/docs/side_by_side.html

After creating the Sublime Text folder for ST4 I can see the Auto option

0 Likes