id like to ask how i can make a light and dark mode feature with the “switch” button in blocks
it’s pretty simple. when designing the interface of the app, start with a white background and black text (or you can start with a black background and white text). Then you place the switch button on the screen and customize it to however you want. Now for the coding, you place a when switch value changed, if switch’s 1 value, set screen 1 background to white and set label text color to black, else do the opposite of the above. you can customize it however you want.
any confusions please let me know
or if you are wondering to make the device’s color scheme dark then use the is color scheme dark? block
Thanks alot! im pretty new so im not really familiar with this stuff
once your problem has been solved, please tick the solution block under my reply.
thanks and have a good day
just have a little problem that i canf find the “if” block
its in the control blocks section