Re: gnumeric dark theme

2021-02-20 Thread Morten Welinder
I just pushed changes that allow theming of the grid colour: GnmItemGrid.grid, GnmPreviewGrid.grid { color: #c7c7c7; } ___ gnumeric-list mailing list gnumeric-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnumeric-list

Re: gnumeric dark theme

2021-02-18 Thread Morten Welinder
> I am unable to change the grid color The grid colour can come either from the spreadsheet (if you define borders) or from a default which happens to live in src/style-color.c, function style_color_grid. That means that currently you need a recompile to change it. I'll try to hook it up

Re: gnumeric dark theme

2021-02-17 Thread Fourhundred Thecat via gnumeric-list
> On 2021-02-17 23:07, Morten Welinder wrote: i asked for it here ~9 years ago but there's stubborn people on this earth... You did indeed, but you were so obnoxious about it then (and now, it would seem) that it promptly got put in the "will take patches" pile. There is some kind of life

Re: gnumeric dark theme

2021-02-17 Thread Marc Dunord via gnumeric-list
the lesson was for all of those whose eyes you guys have harmed at night meanwhile and to gnumeric's popularity among those who --like me-- stopped using it and had to stick to excel (since calc leaves so much to be desired) PS. macs too have a wonderful "whole session to dark mode" switch. It's

Re: gnumeric dark theme

2021-02-17 Thread Morten Welinder
> i asked for it here ~9 years ago but there's stubborn people on this earth... You did indeed, but you were so obnoxious about it then (and now, it would seem) that it promptly got put in the "will take patches" pile. There is some kind of life lesson hidden here, I suspect. Now, if you have

Re: gnumeric dark theme

2021-02-17 Thread Pierre
Le 17/02/2021 à 12:46, Marc Dunord via gnumeric-list a écrit : Hi, ridiculous that still there's no "nightwork" switch for the entire gnumeric application, akin to the "dark" mode switch in WIN that darkens everything including MSoffice. i asked for it here ~9 years ago but there's stubborn

Re: gnumeric dark theme

2021-02-17 Thread Marc Dunord via gnumeric-list
ridiculous that still there's no "nightwork" switch for the entire gnumeric application, akin to the "dark" mode switch in WIN that darkens everything including MSoffice. i asked for it here ~9 years ago but there's stubborn people on this earth... so i had to keep using excel2003 with wine and

Re: gnumeric dark theme

2021-02-16 Thread Fourhundred Thecat via gnumeric-list
> On 2021-02-16 22:25, Morten Welinder wrote: It should be something like the stuff below, but it looks like the gtk+ people have broken this underneath us. That happens entirely too often. M. GnmItemGrid pane-divider { color: #ff; /* This isn't working well yet: */

Re: gnumeric dark theme

2021-02-16 Thread Anton Kratz via gnumeric-list
I am also interested in a dark theme for Gnumeric. My only comment is, it would be awesome if the light-on-dark colors were not full white on full black, but rather something like a very light grey on a very, very dark grey. I feel it makes a huge difference. Many tools and themes from the Linux

Re: gnumeric dark theme

2021-02-16 Thread Morten Welinder
I have code that can detect whether a theme is dark. (It's a heuristic -- looks at the foreground colour; if that is light, the theme is probably dark. For the sake of argument, assume it works.) I could use that to load a "gnumeric-dark.css" file instead, but that leaves the question of what

Re: gnumeric dark theme

2021-02-16 Thread Morten Welinder
It should be something like the stuff below, but it looks like the gtk+ people have broken this underneath us. That happens entirely too often. M. GnmItemGrid pane-divider { color: #ff; /* This isn't working well yet: */ border-style: solid; border-width: 1px; }

Re: gnumeric dark theme

2021-02-15 Thread Fourhundred Thecat via gnumeric-list
> On 2021-02-15 14:43, Morten Welinder wrote: You either compile your new one into gnumeric, or you add your stuff to ~/.config/gtk-3.0/gtk.css bearing in mind that this file is shared among all gtk3 programs. thank you. I found how to change the background color to #d7cfc4, but I am unable to

Re: gnumeric dark theme

2021-02-15 Thread Morten Welinder
You either compile your new one into gnumeric, or you add your stuff to ~/.config/gtk-3.0/gtk.css bearing in mind that this file is shared among all gtk3 programs. M. ___ gnumeric-list mailing list gnumeric-list@gnome.org

Re: gnumeric dark theme

2021-02-15 Thread Fourhundred Thecat via gnumeric-list
> On 2021-02-15 08:32, Jean Bréfort wrote: Hi, The answer is b. You need to add appropriate fields in you gtk.css file. You'll find the default along with some documentation in: https://gitlab.gnome.org/GNOME/gnumeric/-/blob/master/src/gnumeric.css thank you. And where should I place this css

Re: gnumeric dark theme

2021-02-14 Thread Jean Bréfort
Hi, The answer is b. You need to add appropriate fields in you gtk.css file. You'll find the default along with some documentation in: https://gitlab.gnome.org/GNOME/gnumeric/-/blob/master/src/gnumeric.css Hope this helps, Jean Le lundi 15 février 2021 à 03:48 +0100, Fourhundred Thecat via

gnumeric dark theme

2021-02-14 Thread Fourhundred Thecat via gnumeric-list
Hello, I am using dark desktop theme (light text on dark background). But gnumeric is using black text on white background. Is there some way to either: a) tell gnumeric to use my gtk theme, as all other applications or b) configure myself color for background and text in gnumeric ? I am