# Idea of new component / app mode

**URL:** https://community.thunkable.com/t/idea-of-new-component-app-mode/42121
**Category:** Questions about Thunkable X
**Created:** [August 19, 2018, 5:16pm UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121 "2018-08-19T17:16:12Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [August 19, 2018, 5:16pm UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/1 "2018-08-19T17:16:12Z")

</div>

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 🙂

---

<div class="post-metadata">

### Author: ![albert](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/albert/32/4077_2.png) [@albert](https://community.thunkable.com/u/albert)
#### Post date: [August 20, 2018, 6:08pm UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/2 "2018-08-20T18:08:57Z")

</div>

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

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [August 20, 2018, 6:28pm UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/3 "2018-08-20T18:28:31Z")

</div>

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 !

---

<div class="post-metadata">

### Author: ![jaythemanchs](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jaythemanchs/32/92809_2.png) [@jaythemanchs](https://community.thunkable.com/u/jaythemanchs)
#### Post date: [May 27, 2020, 4:23am UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/4 "2020-05-27T04:23:57Z")

</div>

I know how.  
I found a way that thunkable can recognise whether or not dark mode is on using iOS.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 27, 2020, 8:44am UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/5 "2020-05-27T08:44:30Z")

</div>

You’re talking about it,

```
 if (window.matchMedia && window.matchMedia('(preferences-color-scheme: dark)'). matches) {
 // dark mode
}
```

---

<div class="post-metadata">

### Author: ![jaythemanchs](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jaythemanchs/32/92809_2.png) [@jaythemanchs](https://community.thunkable.com/u/jaythemanchs)
#### Post date: [May 27, 2020, 11:01am UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/6 "2020-05-27T11:01:52Z")

</div>

Yup  
Here’s the link,  
[https://x.thunkable.com/copy/93ede20032ad442f4d7f9326b9d29ca5](https://x.thunkable.com/copy/93ede20032ad442f4d7f9326b9d29ca5)

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 27, 2020, 12:22pm UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/7 "2020-05-27T12:22:13Z")

</div>

I’m wondering what this string is used for in your file?

```
var myVar = setInterval(myTimer, 1);
```

---

<div class="post-metadata">

### Author: ![jaythemanchs](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jaythemanchs/32/92809_2.png) [@jaythemanchs](https://community.thunkable.com/u/jaythemanchs)
#### Post date: [May 27, 2020, 8:57pm UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/8 "2020-05-27T20:57:27Z")

</div>

Tights was when I was testing repeating codes.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 28, 2020, 6:03am UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/10 "2020-05-28T06:03:01Z")

</div>

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](https://x.thunkable.com/projects/5ecf51a0f2b4cc54e885f44f/project/properties/designer)

---

<div class="post-metadata">

### Author: ![jaythemanchs](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jaythemanchs/32/92809_2.png) [@jaythemanchs](https://community.thunkable.com/u/jaythemanchs)
#### Post date: [May 28, 2020, 7:19am UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/11 "2020-05-28T07:19:08Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:28am UTC](https://community.thunkable.com/t/idea-of-new-component-app-mode/42121/12 "2024-11-08T11:28:56Z")

</div>


