sauron
sauron copied to clipboard
[Suggestion] Apply colorscheme to Sauron's windows/panels
Is your feature request related to a problem? Please describe. Sauron's windows/panels have a white background even with dark themes/colorschemes active.
It's a small thing, users of light themes/schemes won't be affected and the others won't care much, but the contrast causes some strain after a while.
Describe the solution you'd like Having Sauron inherit the background from globally define themes or DrRacket's colorscheme.
Describe alternatives you've considered Keeping the project viewer hidden and using the terminal or the REPL for version control.
Additional context Project viewer:

Version control:

This definitely would be good, I think it's related to color-prefs:register-info-based-color-schemes, the idea is if
- framework:basic-canvas-background
- framework:default-text-color
are provided, sauron will try to use it?
or #194 will solve this problem(by throwing it to others, Jee!)
Honestly, I don't know enough to make any good suggestions about the implementation, but seeing #194, files-viewer is a good example of what I meant, it inherits both the GTK theme (the path in the top) and DrRacket's colorscheme (the main area).
Yes, and those files-viewer didn't give in few years ago are implemented now, so I think bundle it is good now
short note: extracts color% objects from the configuration
#lang racket
(require framework)
(define-values (a-set b-set)
(color-prefs:get-color-scheme-names))
(for/list ([color-name (in-set a-set)])
(cons color-name
(color-prefs:lookup-in-color-scheme
color-name)))