# Dark mode apps with Clarion?

**URL:** <https://clarionhub.com/t/dark-mode-apps-with-clarion/7009>\
**Category:** questions\
**Tags:** color\
**Created:** [February 25, 2024, 8:12pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009 "2024-02-25T20:12:43Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![leroyschulz](https://clarionhub.com/user_avatar/clarionhub.com/leroyschulz/32/6200_2.png) [@leroyschulz](https://clarionhub.com/u/leroyschulz)\
**Post date:** [February 25, 2024, 8:12pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/1 "2024-02-25T20:12:43Z")

</div>

Has anyone successfully made a dark mode-type Clarion app without third-party templates? I'm looking to mimic the dark mode look of Spotify's Windows app, for instance.

I gave it a try a few years ago but stumbled and gave up while trying to get browse boxes and buttons to look consistent.

---

<div class="post-metadata">

**Author:** ![Mike\_Duglas](https://clarionhub.com/user_avatar/clarionhub.com/mike_duglas/32/1061_2.png) [@Mike\_Duglas](https://clarionhub.com/u/Mike_Duglas)\
**Post date:** [February 25, 2024, 8:24pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/2 "2024-02-25T20:24:48Z")

</div>

I played a little with Windows themes with limited success and finally abandoned.

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/e/e95726626d90c6221feed2a9afa4211e61178c51.png)

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [February 25, 2024, 8:25pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/3 "2024-02-25T20:25:56Z")

</div>

I thought @noyantis had some kind of skinning thing.

---

<div class="post-metadata">

**Author:** ![AbdullahAkilah](https://clarionhub.com/user_avatar/clarionhub.com/abdullahakilah/32/4818_2.png) [@AbdullahAkilah](https://clarionhub.com/u/AbdullahAkilah)\
**Post date:** [February 25, 2024, 8:26pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/4 "2024-02-25T20:26:00Z")

</div>

Leave the app like it is, let people change their OS theme if they want dark mode.

---

<div class="post-metadata">

**Author:** ![noyantis](https://clarionhub.com/user_avatar/clarionhub.com/noyantis/32/922_2.png) [@noyantis](https://clarionhub.com/u/noyantis)\
**Post date:** [February 25, 2024, 8:41pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/5 "2024-02-25T20:41:59Z")

</div>

Hi Jeff,

That’s right, all of the Codejock controls support Dark Theme modes.

For Clarion controls / windows etc - then our G-Visuals allows you to define any number of styles - we use this ourselves to allow the user to switch to and from Dark Mode. It comes in really handy for one of our apps that is used in Caterpillar shovels - the site operates 24 hours a day so they have a real need to quickly switch between daytime and night time mode.

Thanks,

Andy  
[noyantis.com](http://noyantis.com)

---

<div class="post-metadata">

**Author:** ![leroyschulz](https://clarionhub.com/user_avatar/clarionhub.com/leroyschulz/32/6200_2.png) [@leroyschulz](https://clarionhub.com/u/leroyschulz)\
**Post date:** [February 25, 2024, 11:48pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/6 "2024-02-25T23:48:44Z")

</div>

> [@Mike\_Duglas](#):
>
> I played a little with Windows themes with limited success and finally abandoned.

That’s about as far as I got. Flat buttons looked okay until you hover over them and there was a certain pixel-level control that was lacking the dark aesthetic (e.g. browses) so I gave up.

 ![2024-02-25 dark mode](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/5/58345e24e3065e5d11287791900f88b2a9e6a8b1.jpeg)

---

<div class="post-metadata">

**Author:** ![leroyschulz](https://clarionhub.com/user_avatar/clarionhub.com/leroyschulz/32/6200_2.png) [@leroyschulz](https://clarionhub.com/u/leroyschulz)\
**Post date:** [February 25, 2024, 11:52pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/7 "2024-02-25T23:52:17Z")

</div>

> [@AbdullahAkilah](#):
>
> Leave the app like it is, let people change their OS theme if they want dark mode.

AFAIK, that only impacts the OS and apps that cascade that setting. It seems that Clarion apps would need a good amount of finessing to make them look polished in a dark mode.

---

<div class="post-metadata">

**Author:** ![leroyschulz](https://clarionhub.com/user_avatar/clarionhub.com/leroyschulz/32/6200_2.png) [@leroyschulz](https://clarionhub.com/u/leroyschulz)\
**Post date:** [February 26, 2024, 12:04am UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/8 "2024-02-26T00:04:14Z")

</div>

> [@](#):
>
> That’s right, all of the Codejock controls support Dark Theme modes.

The obstacle for me is the cost of buying the entire suite of Codejock controls for over $1200 Canadian, rather than having the option to buy the individual controls. I did message Codejock last year when you and I messaged about a different control, but they replied that they no longer license individual products. i.e. You can buy everything or buy nothing.

> [@](#):
>
> For Clarion controls / windows etc - then our G-Visuals allows you to define any number of styles -  
> we use this ourselves to allow the user to switch to and from Dark Mode. It comes in really handy for one of our apps that is used in Caterpillar shovels - the site operates 24 hours a day so they have a real need to quickly switch between daytime and night time mode.

Is there a demo or screenshots available? I don’t see that at [https://noyantis.com/product/g-visuals/](https://noyantis.com/product/g-visuals/).

---

<div class="post-metadata">

**Author:** ![noyantis](https://clarionhub.com/user_avatar/clarionhub.com/noyantis/32/922_2.png) [@noyantis](https://clarionhub.com/u/noyantis)\
**Post date:** [February 26, 2024, 4:05pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/9 "2024-02-26T16:05:21Z")

</div>

Hi Leroy,

Yes, the link is:-

[https://noyantis.com/downloads/G-VisualsDemo.exe](https://noyantis.com/downloads/G-VisualsDemo.exe)

I don’t think that is the latest so will upload a new one tomorrow.  
I’ll also cover it at the start of today’s webinar if you want to pop in 🙂

Thanks,

Andy

---

<div class="post-metadata">

**Author:** ![leroyschulz](https://clarionhub.com/user_avatar/clarionhub.com/leroyschulz/32/6200_2.png) [@leroyschulz](https://clarionhub.com/u/leroyschulz)\
**Post date:** [February 26, 2024, 4:43pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/10 "2024-02-26T16:43:59Z")

</div>

> I don’t think that is the latest so will upload a new one tomorrow.

Thank you.

> I’ll also cover it at the start of today’s webinar if you want to pop in 🙂

I have to look up what time that will be. Hopefully I can make it.

---

<div class="post-metadata">

**Author:** ![Mike\_Duglas](https://clarionhub.com/user_avatar/clarionhub.com/mike_duglas/32/1061_2.png) [@Mike\_Duglas](https://clarionhub.com/u/Mike_Duglas)\
**Post date:** [February 26, 2024, 4:55pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/11 "2024-02-26T16:55:17Z")

</div>

If I’m correct then it is not enough to make up controls only, the window itself also needs to be drawn dark (title bar, system buttons, system menu). Also, there are contrast themes in Windows (Desert, Night sky etc).

The sheet is painted incorrectly.

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/a/a8553970f6d309d5bd6a69c91fa57dd3a9c0a0d5.png)

---

<div class="post-metadata">

**Author:** ![noyantis](https://clarionhub.com/user_avatar/clarionhub.com/noyantis/32/922_2.png) [@noyantis](https://clarionhub.com/u/noyantis)\
**Post date:** [February 26, 2024, 4:55pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/12 "2024-02-26T16:55:43Z")

</div>

Hi, 5pm UTC / GMT,

Sign up link is:-

[https://us02web.zoom.us/meeting/register/tZcscu-vqDIjGdFXIx1y9g6ZNCgC4RJw-3Gd?\_x\_zm\_rtaid=-HDH0mGBTlizuTwSqbynKQ.1708966526730.6a4001632d3b3e08c6fd6e631f23a735&\_x\_zm\_rhtaid=785#/registration](https://us02web.zoom.us/meeting/register/tZcscu-vqDIjGdFXIx1y9g6ZNCgC4RJw-3Gd?_x_zm_rtaid=-HDH0mGBTlizuTwSqbynKQ.1708966526730.6a4001632d3b3e08c6fd6e631f23a735&_x_zm_rhtaid=785#/registration)

Thanks,

Andy

---

<div class="post-metadata">

**Author:** ![leroyschulz](https://clarionhub.com/user_avatar/clarionhub.com/leroyschulz/32/6200_2.png) [@leroyschulz](https://clarionhub.com/u/leroyschulz)\
**Post date:** [February 26, 2024, 6:41pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/13 "2024-02-26T18:41:18Z")

</div>

That looks better but still very Clarion-esque mid-2000s.

> the window itself also needs to be drawn dark (title bar, system buttons, system menu)

Agreed.

---

<div class="post-metadata">

**Author:** ![CarlBarnes](https://clarionhub.com/user_avatar/clarionhub.com/carlbarnes/32/1859_2.png) [@CarlBarnes](https://clarionhub.com/u/CarlBarnes)\
**Post date:** [February 26, 2024, 8:02pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/14 "2024-02-26T20:02:27Z")

</div>

> [@Mike\_Duglas](#):
>
> If I’m correct then it is not enough to make up controls only, the window itself also needs to be drawn dark (title bar, system buttons, system menu). Also, there are contrast themes in Windows (Desert, Night sky etc).

You could run your Dark Theme in my GitHub System Colors example to see them all in a simple format. This is Peter’s dark purple theme:

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/b/b8fd844c1e0daf226498e954b6c95e9e46bffb33.png)

Classic colors

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/5/5e4e3a117f193611e9c923721679e38cf615f169.png)

> **[GitHub - CarlTBarnes/SystemColors: System Color Viewer and Picker. Colors organized...](https://github.com/CarlTBarnes/SystemColors)**
>
> System Color Viewer and Picker. Colors organized with Text and Background together.

* * *

> [@Mike\_Duglas](#):
>
> The Sheet is painted incorrectly.

There is ?Sheet{PROP:NoTheme} that turns On/Off System Colors for Sheets.

I have this Sheet Tab example you could try your OS Dark Theme with most Sheet/Tab options. I would think some will not work without NoTheme. This also shows a lot of control types (Button, Check, Radio, Spin, Text…) like your example.

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/1/17c4da863936ad29960d93ca17dd8312f27fc9ad.png)

> **[GitHub - CarlTBarnes/SHEET-TAB-PROP: Sheet Tab Property and Attribute Explorer](https://github.com/CarlTBarnes/SHEET-TAB-PROP)**
>
> Sheet Tab Property and Attribute Explorer

---

<div class="post-metadata">

**Author:** ![RAD](https://clarionhub.com/user_avatar/clarionhub.com/rad/32/2720_2.png) [@RAD](https://clarionhub.com/u/RAD)\
**Post date:** [February 27, 2024, 6:38pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/15 "2024-02-27T18:38:16Z")

</div>

Actually, it is possible. without any third party products, but really hard.  
That is why I coded my own solution. You design your windows with no colors or anything, and then you can set the theme at runtime.  
No ugly artifacts on mouse over. Nice transparencies are supported.  
Also, buttons and windows get skinned at runtime.  
And you can have a non standard browse as well. And on top of that, the end user can customize the browse colors and fonts and sizes at runtime.

 ![ss1](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/b/be126b85edf800ac52b9955b81c6505b03436a54.png)  
 ![ss2](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/6/63672e25e119ebc2b846fa9c50bccfb4b1e85074.png)

---

<div class="post-metadata">

**Author:** ![leroyschulz](https://clarionhub.com/user_avatar/clarionhub.com/leroyschulz/32/6200_2.png) [@leroyschulz](https://clarionhub.com/u/leroyschulz)\
**Post date:** [March 13, 2024, 12:04am UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/16 "2024-03-13T00:04:04Z")

</div>

That looks pretty good, but there’s no dark mode applied to the app frame, menu, window frame behind the tab, the drop down field, or the numeric field spinner controls.

---

<div class="post-metadata">

**Author:** ![RAD](https://clarionhub.com/user_avatar/clarionhub.com/rad/32/2720_2.png) [@RAD](https://clarionhub.com/u/RAD)\
**Post date:** [March 14, 2024, 9:22pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/17 "2024-03-14T21:22:51Z")

</div>

You are right. I am working on it.  
After I am done, it will skin everything.

---

<div class="post-metadata">

**Author:** ![leroyschulz](https://clarionhub.com/user_avatar/clarionhub.com/leroyschulz/32/6200_2.png) [@leroyschulz](https://clarionhub.com/u/leroyschulz)\
**Post date:** [March 14, 2024, 11:04pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/18 "2024-03-14T23:04:30Z")

</div>

I’ll be curious to see what you come up with.

---

<div class="post-metadata">

**Author:** ![greg](https://clarionhub.com/user_avatar/clarionhub.com/greg/32/2771_2.png) [@greg](https://clarionhub.com/u/greg)\
**Post date:** [March 16, 2024, 1:44pm UTC](https://clarionhub.com/t/dark-mode-apps-with-clarion/7009/19 "2024-03-16T13:44:43Z")

</div>

As for the app frame colors you can have a look at the example app in my earlier post [OS Themes and setting toolbar button "selected" color](https://clarionhub.com/t/os-themes-and-setting-toolbar-button-selected-color/7001)  
This is pretty much built in Clarion template feature, I only added some code for changing toolbar color
