dempfi / ayu

πŸŽ¨πŸ–Œ Modern Sublime Text theme
MIT License
4.29k stars 322 forks source link

Support for Sublime Text 4 #240

Closed andreiborisov closed 3 years ago

andreiborisov commented 4 years ago

Sublime Text 4 dev builds are available via Sublime Discord server and it's slowly crawling to a wider dev release.

Since ayu is arguably the most well-thought-out theme for Sublime Text, it would be quite awesome to see ST4 supported eventually.

dempfi commented 4 years ago

Sublime text 4?! Amazing, I’ll check it out and try to support if it’s not hard.

Q-Peppa commented 4 years ago

where is sublime 4?

keithrussell42 commented 4 years ago

You can check out the Sublime Text Discord server. I think this link should do it: https://discord.com/channels/280102180189634562/650695903446827011

I believe they have added features to the syntax stuff. Feel free to ask on the discord site. The devs are quite happy to help.

kaiser101 commented 4 years ago

IMO its going to be some work, especially with the latest dev build 4092 and above. The menu bar has some breaking changes.

deathaxe commented 3 years ago

ST 4093+ adds a setting themed_title_bar which may be used by themes to switch between a) classical title bar and main menu and b) themed title bar with hamburger menu

{
    "class": "title_bar",
        "settings": ["themed_title_bar"],
        "bg": "...",
    "fg": "...",
},
kaiser101 commented 3 years ago

If I comment out the line // "ui_native_titlebar",

I get the old menu back. So if we provide a flag to toggle this setting, I guess it might work.

hsleewis commented 3 years ago

Anyone knows what the right settings are for the latest ST4 4101 dev build? The titlebar now blends with the statusbar in the bottom :)

deathaxe commented 3 years ago

It's a core bug.

hsleewis commented 3 years ago

It's a core bug.

Ah that explains a lot, it's temporary fixed when disabling and re-activating the theme. :)

Jarvvski commented 3 years ago

Was there any progress on this? :)

desbest commented 3 years ago

Is there any update on this? I would like to have the old menu bar work in the Ayu theme instead of having the menu button.

dempfi commented 3 years ago

I've started working on a new version here https://github.com/dempfi/ayu/pull/251. It all looks relatively easy, I just need to find a bit of time to finish

dempfi commented 3 years ago

Closed in https://github.com/dempfi/ayu/pull/251

Jarvvski commented 3 years ago

@dempfi what did the PR change exactly? Gotta say, I'd been using Ayu already for Sublime 4 for a few weeks now

dempfi commented 3 years ago

@Jarvvski the idea of this release was to support ST4 and improve the usability of the theme:

I know πŸ‘†πŸ» doesn't say much, but you can compare visually screenshots from readme for the previous version and the new readme to see what has changed.