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

Add a way to specify the default color schemes (Base, Dialog etc) #112

Open
tznind opened this issue Oct 19, 2022 · 1 comment
Open

Add a way to specify the default color schemes (Base, Dialog etc) #112

tznind opened this issue Oct 19, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@tznind
Copy link
Collaborator

tznind commented Oct 19, 2022

Currently with ColorScheme in TerminalGuiDesigner there is an assumption that any ColorScheme that matches one of the base ones is '(inherited)'. This means that user can only set ColorSchemes they have created (or default ones supplied e.g. greeonOnBlack).

User cannot set to the base schemes.

If user creates a custom scheme with the same colors as one of the base schemes then I think designer will get confused (need to check this)

Implementation of this is important but might be complicated. See :

string? GetNameForColorScheme(ColorScheme s)
public void AddOrUpdateScheme(string name, ColorScheme scheme)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants