[GNC] Dark theme on Windows

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC] Dark theme on Windows

Geert Janssens-4
I have come across the following combination of settings to enable a default
dark theme on linux. Creating a file settings.ini in $HOME/.config/gtk-3.0
with this contents

[Settings]
gtk-application-prefer-dark-theme=true
gtk-theme-name=Adwaita

gives me the default Adwaita-dark theme. I would be interested to know if this
also works on Windows (the file should be created in
%LOCALAPPDATA%\gtk-3.0
instead).

If so this could be added to our wiki here:
https://wiki.gnucash.org/wiki/GTK3#Dark_Themes

Can someone run this experiment and report back ?

Thanks,

Geert


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

Fross, Michael
Hello Geert.

This worked for me in Windows (although I used Adwaita-Slim instead of
Adwaita.)

I prefer the dark themes, but in the registers, the text is black on "dark"
and very hard to read.  I know I can change around the row colors, but I
don't know how to change the text color.  Any idea?

Michael

On Sun, Jun 24, 2018 at 5:14 PM, Geert Janssens <[hidden email]>
wrote:

> I have come across the following combination of settings to enable a
> default
> dark theme on linux. Creating a file settings.ini in $HOME/.config/gtk-3.0
> with this contents
>
> [Settings]
> gtk-application-prefer-dark-theme=true
> gtk-theme-name=Adwaita
>
> gives me the default Adwaita-dark theme. I would be interested to know if
> this
> also works on Windows (the file should be created in
> %LOCALAPPDATA%\gtk-3.0
> instead).
>
> If so this could be added to our wiki here:
> https://wiki.gnucash.org/wiki/GTK3#Dark_Themes
>
> Can someone run this experiment and report back ?
>
> Thanks,
>
> Geert
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

Geert Janssens-4
Thanks for the followup Michael.

Normally GnuCash should detect a dark theme and adjust text color accordingly.
If it doesn't, that's a bug then. Can you file this in bugzilla ?

Thanks,

Geert

Op maandag 25 juni 2018 14:32:12 CEST schreef Fross, Michael:

> Hello Geert.
>
> This worked for me in Windows (although I used Adwaita-Slim instead of
> Adwaita.)
>
> I prefer the dark themes, but in the registers, the text is black on "dark"
> and very hard to read.  I know I can change around the row colors, but I
> don't know how to change the text color.  Any idea?
>
> Michael
>
> On Sun, Jun 24, 2018 at 5:14 PM, Geert Janssens <[hidden email]>
> wrote:
> > I have come across the following combination of settings to enable a
> > default
> > dark theme on linux. Creating a file settings.ini in $HOME/.config/gtk-3.0
> > with this contents
> >
> > [Settings]
> > gtk-application-prefer-dark-theme=true
> > gtk-theme-name=Adwaita
> >
> > gives me the default Adwaita-dark theme. I would be interested to know if
> > this
> > also works on Windows (the file should be created in
> > %LOCALAPPDATA%\gtk-3.0
> > instead).
> >
> > If so this could be added to our wiki here:
> > https://wiki.gnucash.org/wiki/GTK3#Dark_Themes
> >
> > Can someone run this experiment and report back ?
> >
> > Thanks,
> >
> > Geert
> >
> >
> > _______________________________________________
> > gnucash-user mailing list
> > [hidden email]
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > If you are using Nabble or Gmane, please see
> > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> > -----
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.




_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

Fross, Michael
Sure.  Will do.  I had this issue with v2.x as well.

On Mon, Jun 25, 2018 at 8:26 AM, Geert Janssens <[hidden email]>
wrote:

> Thanks for the followup Michael.
>
> Normally GnuCash should detect a dark theme and adjust text color
> accordingly.
> If it doesn't, that's a bug then. Can you file this in bugzilla ?
>
> Thanks,
>
> Geert
>
> Op maandag 25 juni 2018 14:32:12 CEST schreef Fross, Michael:
> > Hello Geert.
> >
> > This worked for me in Windows (although I used Adwaita-Slim instead of
> > Adwaita.)
> >
> > I prefer the dark themes, but in the registers, the text is black on
> "dark"
> > and very hard to read.  I know I can change around the row colors, but I
> > don't know how to change the text color.  Any idea?
> >
> > Michael
> >
> > On Sun, Jun 24, 2018 at 5:14 PM, Geert Janssens <
> [hidden email]>
> > wrote:
> > > I have come across the following combination of settings to enable a
> > > default
> > > dark theme on linux. Creating a file settings.ini in
> $HOME/.config/gtk-3.0
> > > with this contents
> > >
> > > [Settings]
> > > gtk-application-prefer-dark-theme=true
> > > gtk-theme-name=Adwaita
> > >
> > > gives me the default Adwaita-dark theme. I would be interested to know
> if
> > > this
> > > also works on Windows (the file should be created in
> > > %LOCALAPPDATA%\gtk-3.0
> > > instead).
> > >
> > > If so this could be added to our wiki here:
> > > https://wiki.gnucash.org/wiki/GTK3#Dark_Themes
> > >
> > > Can someone run this experiment and report back ?
> > >
> > > Thanks,
> > >
> > > Geert
> > >
> > >
> > > _______________________________________________
> > > gnucash-user mailing list
> > > [hidden email]
> > > To update your subscription preferences or to unsubscribe:
> > > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > > If you are using Nabble or Gmane, please see
> > > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> > > -----
> > > Please remember to CC this list on all your replies.
> > > You can do this by using Reply-To-List or Reply-All.
>
>
>
>
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

Fross, Michael
The bug has been added.  Please let me know how I can help.

https://bugzilla.gnome.org/show_bug.cgi?id=796669

Regards,

Michael

On Mon, Jun 25, 2018 at 9:16 AM, Fross, Michael <[hidden email]> wrote:

> Sure.  Will do.  I had this issue with v2.x as well.
>
> On Mon, Jun 25, 2018 at 8:26 AM, Geert Janssens <
> [hidden email]> wrote:
>
>> Thanks for the followup Michael.
>>
>> Normally GnuCash should detect a dark theme and adjust text color
>> accordingly.
>> If it doesn't, that's a bug then. Can you file this in bugzilla ?
>>
>> Thanks,
>>
>> Geert
>>
>> Op maandag 25 juni 2018 14:32:12 CEST schreef Fross, Michael:
>> > Hello Geert.
>> >
>> > This worked for me in Windows (although I used Adwaita-Slim instead of
>> > Adwaita.)
>> >
>> > I prefer the dark themes, but in the registers, the text is black on
>> "dark"
>> > and very hard to read.  I know I can change around the row colors, but I
>> > don't know how to change the text color.  Any idea?
>> >
>> > Michael
>> >
>> > On Sun, Jun 24, 2018 at 5:14 PM, Geert Janssens <
>> [hidden email]>
>> > wrote:
>> > > I have come across the following combination of settings to enable a
>> > > default
>> > > dark theme on linux. Creating a file settings.ini in
>> $HOME/.config/gtk-3.0
>> > > with this contents
>> > >
>> > > [Settings]
>> > > gtk-application-prefer-dark-theme=true
>> > > gtk-theme-name=Adwaita
>> > >
>> > > gives me the default Adwaita-dark theme. I would be interested to
>> know if
>> > > this
>> > > also works on Windows (the file should be created in
>> > > %LOCALAPPDATA%\gtk-3.0
>> > > instead).
>> > >
>> > > If so this could be added to our wiki here:
>> > > https://wiki.gnucash.org/wiki/GTK3#Dark_Themes
>> > >
>> > > Can someone run this experiment and report back ?
>> > >
>> > > Thanks,
>> > >
>> > > Geert
>> > >
>> > >
>> > > _______________________________________________
>> > > gnucash-user mailing list
>> > > [hidden email]
>> > > To update your subscription preferences or to unsubscribe:
>> > > https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> > > If you are using Nabble or Gmane, please see
>> > > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> > > -----
>> > > Please remember to CC this list on all your replies.
>> > > You can do this by using Reply-To-List or Reply-All.
>>
>>
>>
>>
>>
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

Geert Janssens-4
Thanks.

Hopefully Robert Fewell can pick it up as he did most of the css and theming
work for Gnucash 3.x.

Geert

Op maandag 25 juni 2018 17:47:15 CEST schreef Fross, Michael:

> The bug has been added.  Please let me know how I can help.
>
> https://bugzilla.gnome.org/show_bug.cgi?id=796669
>
> Regards,
>
> Michael
>
> On Mon, Jun 25, 2018 at 9:16 AM, Fross, Michael <[hidden email]> wrote:
> > Sure.  Will do.  I had this issue with v2.x as well.
> >
> > On Mon, Jun 25, 2018 at 8:26 AM, Geert Janssens <
> >
> > [hidden email]> wrote:
> >> Thanks for the followup Michael.
> >>
> >> Normally GnuCash should detect a dark theme and adjust text color
> >> accordingly.
> >> If it doesn't, that's a bug then. Can you file this in bugzilla ?
> >>
> >> Thanks,
> >>
> >> Geert
> >>
> >> Op maandag 25 juni 2018 14:32:12 CEST schreef Fross, Michael:
> >> > Hello Geert.
> >> >
> >> > This worked for me in Windows (although I used Adwaita-Slim instead of
> >> > Adwaita.)
> >> >
> >> > I prefer the dark themes, but in the registers, the text is black on
> >>
> >> "dark"
> >>
> >> > and very hard to read.  I know I can change around the row colors, but
> >> > I
> >> > don't know how to change the text color.  Any idea?
> >> >
> >> > Michael
> >> >
> >> > On Sun, Jun 24, 2018 at 5:14 PM, Geert Janssens <
> >>
> >> [hidden email]>
> >>
> >> > wrote:
> >> > > I have come across the following combination of settings to enable a
> >> > > default
> >> > > dark theme on linux. Creating a file settings.ini in
> >>
> >> $HOME/.config/gtk-3.0
> >>
> >> > > with this contents
> >> > >
> >> > > [Settings]
> >> > > gtk-application-prefer-dark-theme=true
> >> > > gtk-theme-name=Adwaita
> >> > >
> >> > > gives me the default Adwaita-dark theme. I would be interested to
> >>
> >> know if
> >>
> >> > > this
> >> > > also works on Windows (the file should be created in
> >> > > %LOCALAPPDATA%\gtk-3.0
> >> > > instead).
> >> > >
> >> > > If so this could be added to our wiki here:
> >> > > https://wiki.gnucash.org/wiki/GTK3#Dark_Themes
> >> > >
> >> > > Can someone run this experiment and report back ?
> >> > >
> >> > > Thanks,
> >> > >
> >> > > Geert
> >> > >
> >> > >
> >> > > _______________________________________________
> >> > > gnucash-user mailing list
> >> > > [hidden email]
> >> > > To update your subscription preferences or to unsubscribe:
> >> > > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >> > > If you are using Nabble or Gmane, please see
> >> > > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> >> > > -----
> >> > > Please remember to CC this list on all your replies.
> >> > > You can do this by using Reply-To-List or Reply-All.




_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

GT-I9070 H
In reply to this post by Geert Janssens-4
Thank you Geert,

For me it worked too in Windows with the same problems reported by Michael:

In the record we have dark background and black font making it difficult to
read. The alternative is to use the "Use GnuCash Built-in color theme"
record option.

But that's better than without black theme, it's already in use!

I did not notice a difference without this line:
gtk-theme-name=Adwaita

And with Adwaita-Slim everything goes white again.

Regards

Em dom, 24 de jun de 2018 às 18:15, Geert Janssens <
[hidden email]> escreveu:

> I have come across the following combination of settings to enable a
> default
> dark theme on linux. Creating a file settings.ini in $HOME/.config/gtk-3.0
> with this contents
>
> [Settings]
> gtk-application-prefer-dark-theme=true
> gtk-theme-name=Adwaita
>
> gives me the default Adwaita-dark theme. I would be interested to know if
> this
> also works on Windows (the file should be created in
> %LOCALAPPDATA%\gtk-3.0
> instead).
>
> If so this could be added to our wiki here:
> https://wiki.gnucash.org/wiki/GTK3#Dark_Themes
>
> Can someone run this experiment and report back ?
>
> Thanks,
>
> Geert
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

David Cousens
In reply to this post by Geert Janssens-4
Geert,

I tried this on Linux Mint 18.3  but had no changes from the default theme.

David



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
David Cousens
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

Geert Janssens-4
Op zaterdag 30 juni 2018 02:17:55 CEST schreef DaveC49:
> Geert,
>
> I tried this on Linux Mint 18.3  but had no changes from the default theme.
>
I think it will only work if the theme itself supports light and dark
variants. Gtk's default theme, Adwaita, does. But I don't know about others.

What is the default theme on Linux Mint ?

Geert


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

David Cousens
Geert,

The default theme is Mint-X. There is a Mint-X Dark  GTK-3 theme available
as well and GnuCash comes up nicely in it. It is installable from the
Menu->Preferences->Themes dialog in the Cinnamon desktop. I would say on
Mint all you have to do is select a dark theme at the system level. There
are many available for download.
Thanks

David



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
David Cousens
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Dark theme on Windows

Geert Janssens-4
Op zondag 1 juli 2018 11:43:05 CEST schreef DaveC49:

> Geert,
>
> The default theme is Mint-X. There is a Mint-X Dark  GTK-3 theme available
> as well and GnuCash comes up nicely in it. It is installable from the
> Menu->Preferences->Themes dialog in the Cinnamon desktop. I would say on
> Mint all you have to do is select a dark theme at the system level. There
> are many available for download.
> Thanks
>
> David

Thanks.

That seems to confirm my suspicion: the dark flag will only work for themes
that choose to implement both a light and a dark variant within the same
theme. So far the only confirmed one that does is Adwaita.

For all the others instead it makes more sense to search for a dark theme and
install that.

Geert


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.