Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User configurable Color Themes #29

Closed
migueldeicaza opened this issue Jan 11, 2018 · 4 comments
Closed

User configurable Color Themes #29

migueldeicaza opened this issue Jan 11, 2018 · 4 comments

Comments

@migueldeicaza
Copy link
Collaborator

migueldeicaza commented Jan 11, 2018

Should include other color themes, currently we have the Norton-esque theme, we could include a TurboVision-esque theme. The support is already in place, it is a matter of allocating new colors in each driver.

@kostrse
Copy link

kostrse commented Jan 28, 2018

Look and feel of Turbo Vision (not only colors) would be really great!

@tig
Copy link
Collaborator

tig commented Jun 3, 2022

This issue, for Out-ConsoleGridView requests more user control over color themes:

PowerShell/ConsoleGuiTools#129

It should be possible for a user to define the colors used for Dialog, Error, Menu, and TopLevel in a configuration file. The drivers would then load these color overrides and use them instead fo the colors built into the source.

I'm renaming this Issue to be more consistent with this ask.

@tig tig added the enhancement label Jun 3, 2022
@tig tig changed the title Color themes User configurable Color Themes Jun 3, 2022
@tznind
Copy link
Collaborator

tznind commented Jun 3, 2022

It should be possible for a user to define the colors used for Dialog, Error, Menu, and TopLevel in a configuration file. The drivers would then load these color overrides and use them instead fo the colors built into the source.

Not sure if this helps but up to now I have just used yaml for specifying custom color combinations (but not new color codes):

https://github.com/SMI/IsIdentifiable/blob/main/ii/TerminalGuiTheme.cs
https://github.com/SMI/IsIdentifiable/blob/main/ii/theme.yaml

var themeFile = Path.Combine(TestContext.CurrentContext.TestDirectory, "theme.yaml");
var des = new Deserializer();

var theme = des.Deserialize<TerminalGuiTheme>(File.ReadAllText(themeFile));

Presumably we don't want a dependency on a specific persistence library though?

@tig
Copy link
Collaborator

tig commented Apr 14, 2023

Fixed by #2284

@tig tig closed this as completed Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: ✅ Done
4 participants