Hey there, I was thinking after watching multiple requests from all user that none of them mentionned a :
-Dark theme for thunkable
-And a possibilty to add a component which we can integrate to our app so our users can set the “night mode” on
That’s it for me, don’t hesitate to discuss and to tell me if it is already available.
Nice day
1 Like
albert
August 20, 2018, 6:08pm
2
Hi there,
Do you mean a default dark theme for the app itself or for the Thunkable platform? I think there should be a way to create a custom dark theme but I haven’t seen any examples of this yet.
Albert
I mean for the thunkable entire platform because while working all night long the white screen becomes hurting for the eyes.
But the night mode like the one on ios but to integrate inside the app so it changes the colors itself is definitely something needed.
Keep up the good job !
I know how.
I found a way that thunkable can recognise whether or not dark mode is on using iOS.
You’re talking about it,
if (window.matchMedia && window.matchMedia('(preferences-color-scheme: dark)'). matches) {
// dark mode
}
actech
May 27, 2020, 12:22pm
7
I’m wondering what this string is used for in your file?
var myVar = setInterval(myTimer, 1);
Tights was when I was testing repeating codes.
actech
May 28, 2020, 6:03am
10
Sorry, I asked the wrong question. What I really wanted to ask is, why does the timer use a minimum delay of 1? This is usually done to get the maximum possible speed, for example, when programming games. Try my example on device to see the problem clearly.
https://x.thunkable.com/projects/5ecf51a0f2b4cc54e885f44f/project/properties/designer
I made a better version of it that setting the value to 100 ms. It works perfectly now.
All tho I don’t know if it works on other devices.
1 Like