Re: dark theme

Asif Ali Rizvan <[email protected]> Thu, 27 Apr 2023 12:15:40 +0530
Newsgroups gmane.editors.scite.general
Message-ID <CAPsk_WkHnzkPf1VrBSuacc+2CBzupjvz_NKJmx8CVyjQ9WqR6Q@mail.gmail.com>
> SciTE does not support theming in a way that is similar to most editors.
Each individual lexical class specifies style attributes and there is no
lookup into a theme definition. Therefore, it is not currently possible to
create a dark theme for SciTE. I have no plans to work on this.

>Neil

Ok, I understand creating themes is time consuming and not fun. Could we at
least have an inverted colors like feature for the edit area? I hope
inverting the colors esp. of the background is not a trouble?



Here's the default light gtk style and white backgound and theme:
[image: image.png]


Here's the same window with inverted colors,  using gnome extension
https://extensions.gnome.org/extension/5829/true-color-invert/ we can see
the text looks good. The extension only changes the black and grey colors
to white and lightens the dark colors a bit, it is a GNOME shell extension
for inverting window colors in a hue preserving manner.
https://github.com/Lynet101/gnome-true-color-invert

With Light GTK style + Inverted:

[image: image.png]

with Dark GTK style (system wide) + Inverted:

[image: image.png]


This is what I'd like to see the edit area inverted + dark style:
Dark Style + Inverted Colors (edited with gimp) used extension
https://github.com/Lynet101/gnome-true-color-invert:


[image: image.png]

This is what I got just by changing these, the colors are little darker
(inverted color extension makes it a bit lighter I presume):
*.SciTEUser.properties*
style.*.32=$(font.base),back:#101010,fore:#BBBBBB
fold.margin.colour=#505050
fold.margin.highlight.colour=#101010

[image: image.png]

Please consider.

Regards,
Rizvan.


On Wed, Apr 26, 2023 at 11:24 AM Red M <[email protected]> wrote:

> For some reason this didn't come through to my mailbox so google groups
> might be being weird again.
> I do have such a lookup working in my own configs (in my dotfiles) but it
> does require a bit of work to get it going as I had to implant luarocks
> into scite but it all works out of a normally compiled SciTE via the Lua
> startup script interface.
> On Wednesday, April 26, 2023 at 8:51:04 AM UTC+10 Neil Hodgson wrote:
>
>> Asif Ali Rizvan:
>>
>> > I'd like to request a dark theme for scite, as dark themes are very
>> popular these days due to comfort on eyes. white background is very
>> uncomfortable for the eyes with scite.
>>
>> Red M has covered SciTE's handling of global themes for GTK widgets but
>> that doesn't cover theming the text editing area where syntax styling is
>> applied to produce visual styles. SciTE provides basic support for
>> preferences reacting to the system's dark mode with a $(Appearance)
>> property.
>>
>> SciTE does not support theming in a way that is similar to most editors.
>> Each individual lexical class specifies style attributes and there is no
>> lookup into a theme definition. Therefore, it is not currently possible to
>> create a dark theme for SciTE. I have no plans to work on this.
>>
>> Neil
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "scite-interest" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/scite-interest/7835da82-a11f-4334-979b-a7fdf8cf6373n%40googlegroups.com
> <https://groups.google.com/d/msgid/scite-interest/7835da82-a11f-4334-979b-a7fdf8cf6373n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/CAPsk_WkHnzkPf1VrBSuacc%2B2CBzupjvz_NKJmx8CVyjQ9WqR6Q%40mail.gmail.com.
image.png (image/png, 31.9 KB) - not displayed
image.png (image/png, 34 KB) - not displayed
image.png (image/png, 32.6 KB) - not displayed
image.png (image/png, 31.7 KB) - not displayed
image.png (image/png, 34.4 KB) - not displayed