Convert editor dark mode to presets - #1805
Conversation
…into dark-presets
|
Note that I moved the dark loading screen from dark-www because it's a part of the project player, see #1606 (comment). I renamed Experimental Dark to make it clear that it isn't experimental. |
Can you rephrase? I forgot what theme makes loading screens dark at the moment. |
|
Merging this will probably take some time.
|
|
Can you remind me why 3.Darker couldn't be the default, and vanilla Scratch a preset? I'm thinking we maybe should make 3.Darker colors default, as well as making 3.Darker a preset (yes, duplicated), with vanilla Scratch also as a preset. Adding a way to reset a single color to any preset would allow this, I think? |
Currently loading screens are affected by website dark mode, but this doesn't make sense because otherwise the editor dark mode controls the project player.
I'll try to make a list of all changes this makes to the existing dark mode versions (most of them are minor).
I think it's already obvious what most colors do, except primary, secondary and accent which change lots of things. Reducing the number of colors without changing the appearance of presets too much is hard, but I think the following changes could be made:
It's more intuitive if clicking the reset icon, or choosing "default" in a reset menu, resets to a Scratch color and not a dark mode, but the way you suggested where the default settings are duplicated as a preset would work too, the only problem(?) would be that 3.Darker would be called "Default" in the reset menu. |
The addon will still be called "Editor dark mode [...]" so I don't think that's a problem, tbh. |
It depends on how the dropdown menu would work. In cases like this, a way to tell that default settings have a name in |
All presets:
3.Darker:
Both 3.Darker and 3.Dark:
Dark Editor:
Experimental Dark:
|
|
@WorldLanguages I removed a few settings and changed the Dark Editor highlight color to a darker blue. |
|
Waiting for #1832 for the reset dropdown. |
…when not in editor
|
I fixed the full screen button. The stage border didn't look very good either when website dark mode was disabled so I did the same thing to it. |
|
Now that I made this change I'm no longer sure if making the project player always styled by editor dark mode is a good idea. I want to add a similar color customization system to website dark mode and I think it doesn't make sense if the player is controlled by one addon but everything else on the same page is controlled by a different addon. |
|
@mxmou IMO anything above the canvas (monitors etc.) should be styled by editor dark mode, even on player mode, for consistency |
|
Merge this when we're ready |
|
Btw |
You mean the workspace, scrollbar etc. colors? Those (at least some of them) are overridden by the scratch-blocks |
|
Maybe styled by editor DM on the editor page and by website DM on the project, fullscreen, and embed pages?
…________________________________
From: Maximouse ***@***.***>
Sent: Tuesday, April 13, 2021 8:07:17 AM
To: ScratchAddons/ScratchAddons ***@***.***>
Cc: Paul Reid ***@***.***>; Comment ***@***.***>
Subject: Re: [ScratchAddons/ScratchAddons] Convert editor dark mode to presets (#1805)
Now that I made this change I'm no longer sure if making the project player always styled by editor dark mode is a good idea. I want to add a similar color customization system to website dark mode and I think it doesn't make sense if the player is controlled by one addon but everything else on the same page is controlled by a different addon.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#1805 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOT5DEWXMRYK7KXHGJW6YI3TIQ6YLANCNFSM4Y63V6IA>.
|
Depending on what we want, consistency across pages or consistency between different elements on the same page.
Currently it works like this:
I think it would be better if the project and embed pages were only affected by website dark mode and the other two only by editor dark mode. |
Smh that was hard to read |
|
@WorldLanguages It would. But it would also mean that if one set the website highlight color to red and the editor highlight color to green, the monitor background would be red in player mode, not green. |
|
can we merge pls |
Probably, other changes could be made when the website dark mode is rewritten. |
|
@mxmou I noticed editor dark mode + colored context menus means highlight color is not used. May be what we want but just making sure you're aware |
|
@WorldLanguages This is intended. |
|
Feedback:
Possible solution: a boolean settings on whether monitors (AKA anything above the canvas) should be affected (defaults to true)? |
I just made this issue from feedback we got from the fan server... #2239 |
|
@TheColaber Oh is this a bug? |
|
Feedback:
|
|
@WorldLanguages I already thought about this. The setting could be called "highlight text" because there are a few other places that use blue text. I don't think each of them should have a separate setting, especially because no preset would need to change it. |

Resolves
Resolves #657
Changes
Add color settings to editor dark mode and replaces the different versions with presets.
There are a lot of different settings and I'd like to split some (e.g. separate monitor background from tab background and asset editor background from accent background) but there are already too many so I tried to minimize the number of options.
The addon changes the Scratch UI a bit, even with default settings, to avoid adding too many customizable colors. 3.Dark and 3.Darker used to make cancel buttons red, but I removed that because I don't think dark themes should make changes like that.
To do:
people who already have the addon enabledeveryone. This should not affect the text shadow setting.Maybe use filters to recolor icons when the primary color is changedI decided not to do this because I made the highlight color dark in Dark Editor and this would make icons hard to see with a dark primary color.