|
|
Home » Community » Coffee corner » Is it time for a dark theme?
Is it time for a dark theme? [message #50129] |
Fri, 03 August 2018 16:54  |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
I think we had this conversation many times before, but is time for an official top notch pretty dark theme?
I'm a bit in the business of writing IDEs and people want dark UI skins. It is rather popular right now.
I'm just about to implement it for CodeEditor, but a dark editor skin on a light UI is weird to me.
I have this themeing API I wrote a decade ago or so and tested that it works perfectly today (congrats Mirek on not breaking Chamelon all these years), but the two skins I have are very ugly.
So if anybody knows some free/OSS skins we can legally copy, I'll be glad to implement them.
Alternative is WindowsBlinds with CodeEditor skin, but that takes over the entirety of Windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Is it time for a dark theme? [message #50179 is a reply to message #50178] |
Thu, 16 August 2018 10:11  |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
Using:
SColorPaper_Write(Color(51, 51, 51));
to set the paper color to dark gray causes QTF to not be displayed correctly. This looks to be intentional:
void RichTextView::Paint(Draw& w)
{
...
Color c = SColorPaper();
if(Grayscale(c) < 100)
pi.coloroverride = true;
...
}
This kills qtf RichTextView color display.
So I need some input on this issue.
Setting colors can only get you so far and you need to skin the GUI with chameleon.
So we need to set both and still U++ needs to be made aware if the theme is dark or light.
For some elements it is enough to set colors and chameleon. For some others, they need to know if the theme is dark or light. Like EditorBar. To select dark or light icons. Additionally, both CodeEditor and EditorBar might need and override. You may want a normal GUI with a dark editor.
So there should be a global default that each control can override? In practice only super advanced text based controls will need overrides, like CodeEditor?
|
|
|
Goto Forum:
Current Time: Fri May 09 12:13:01 CEST 2025
Total time taken to generate the page: 0.02290 seconds
|
|
|