Discuss Scratch

mybearworld
Scratcher
1000+ posts

Dark Mode? Block

This block would be able to detect if you have dark mode enabled.
If we do get an official Scratch dark mode, the dark mode block should change functionality. But as we don't have one, it should use sytem dark mode.
Example use:
if <dark mode?::sensing> then
switch costume to [dark button v]
else
switch costume to [light button v]
This defaults to light if it for some reason doesn't work.

Last edited by mybearworld (Aug. 14, 2021 14:03:02)

290Scratcher
Scratcher
1000+ posts

Dark Mode? Block

How will this work without an official dark mode?
TheQuackHouse
Scratcher
100+ posts

Dark Mode? Block

Where would it detect it for clarification?
mybearworld
Scratcher
1000+ posts

Dark Mode? Block

290Scratcher wrote:

How will this work without an official dark mode?

TheQuackHouse wrote:

Where would it detect it for clarification?
The theme of your system.
dertermenter
Scratcher
1000+ posts

Dark Mode? Block

I’m not sure this will be that useful. Blocks on scratch should be flexible, they should be able to be used in hundreds of different projects with a variety of uses. This block only seems useful for the script you mentioned. You can just add a dark mode option to your projects. From this, the block won’t really benefit the scratch community that much.
Za-Chary
Scratcher
1000+ posts

Dark Mode? Block

I feel like we should wait to have suggestions about blocks that are related to a hypothetical “dark mode” until Scratch actually does get an official dark mode. It's like suggesting “Add a confirmation tab for when you click the ‘Leave Studio’ button,” even though a “Leave Studio” button doesn't exist — or suggesting a “Forever block which keeps going even if there is a ‘break statement’ in the loop,” even though a “break statement” block doesn't exist.

You could probably bring up this block in the existing dark mode suggestion for the time being.

Last edited by Za-Chary (Aug. 14, 2021 13:39:24)

Za-Chary
Scratcher
1000+ posts

Dark Mode? Block

Just kidding, I misread the suggestion — the “dark mode” in question is for your device's possible “dark mode,” rather than a hypothetical Scratch editor dark mode.

Are there some devices that don't have dark mode? If so, I could see possible confusion among those who don't know what “dark mode” refers to and sees a boolean that always returns false. If this were implemented, perhaps it should be in an extension (along with other blocks that are affected by a user's device settings).
mybearworld
Scratcher
1000+ posts

Dark Mode? Block

Za-Chary wrote:

Are there some devices that don't have dark mode?
Windows, Mac, Linux, Android and iPhones have dark mode. I can't think of any that don't.

Za-Chary wrote:

perhaps it should be in an extension (along with other blocks that are affected by a user's device settings).
This seems like a good idea, however I'm not sure what could be in there (it obviously has to be data a website can access).
PenguinLover1123
Scratcher
1000+ posts

Dark Mode? Block

Bump
Prime689
Scratcher
1000+ posts

Dark Mode? Block

mybearworld
Scratcher
1000+ posts

Dark Mode? Block

Prime689 wrote:

duplicate…
Isn't that about a

Za-Chary wrote:

hypothetical “dark mode”
?
Prime689
Scratcher
1000+ posts

Dark Mode? Block

mybearworld wrote:

Prime689 wrote:

duplicate…
Isn't that about a

Za-Chary wrote:

hypothetical “dark mode”
?
Um I do not know, just giving you a headsup
BanMeOS
Scratcher
500+ posts

Dark Mode? Block

duplicate, as shown above. reporting
mybearworld
Scratcher
1000+ posts

Dark Mode? Block

BanMeOS wrote:

duplicate, as shown above. reporting
I already did asking if it is one, and it didn't get closed. Maybe they missed my report though, I don't know.
Edit: Paddle2See confirmed that this isn't a duplicate below.

Last edited by mybearworld (Aug. 18, 2021 10:36:13)

Paddle2See
Scratch Team
1000+ posts

Dark Mode? Block

mybearworld wrote:

BanMeOS wrote:

duplicate, as shown above. reporting
I already did asking if it is one, and it didn't get closed. Maybe they missed my report though, I don't know.
That topic (although the block and example does appear essentially identical) is clearly trying to address a hypothetical dark mode functionality being developed within Scratch. This is aimed at a system dark mode.
-EmeraldThunder-
Scratcher
1000+ posts

Dark Mode? Block

Support, this would be a nice feature for things such as OSs and other UIs to add a touch of system based personalisation.
mybearworld
Scratcher
1000+ posts

Dark Mode? Block

bump
lightning1999
Scratcher
100+ posts

Dark Mode? Block

No support. If you need it, just make your own settings with your own toggable dark mode.
mybearworld
Scratcher
1000+ posts

Dark Mode? Block

lightning1999 wrote:

(#18)
No support. If you need it, just make your own settings with your own toggable dark mode.
Yeah but it would be nice to have a “system” option (like in a lot of apps and websites).
mybearworld
Scratcher
1000+ posts

Dark Mode? Block

KareemTheBest wrote:

290Scratcher wrote:

How will this work without an official dark mode?
You can download Griffpatch's [REDACTED] (only supported on Chrome/Firefox), and turn on dark mode from there.
But please be warned as it messed up my Windows 10 Start Menu really badly, so you could use Turbowarp (Turbowarp is Scratch and [REDACTED] without having to download the extension) instead.
1. You aren't allowed to mention browser extensions on Scratch, see Browser Extension/Userscript Policy
2. The extension doesn't do anything with the start menu.
3. It's not made by griffpatch only, but by a lot of contributors.
4. This wouldn't work with a scratch block anyways.

Last edited by mybearworld (Jan. 4, 2022 09:06:48)

Powered by DjangoBB