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

[Feature]: Additional colours for theme.css #4187

Closed
bubblobill opened this issue Jun 30, 2023 · 0 comments · Fixed by #4189
Closed

[Feature]: Additional colours for theme.css #4187

bubblobill opened this issue Jun 30, 2023 · 0 comments · Fixed by #4189
Assignees
Labels
feature Adding functionality that adds value

Comments

@bubblobill
Copy link
Collaborator

Describe the Problem

There are colours defined in themes that are not available to users in available CSS.
Current theme CSS aims at matching UI elements with common HTML elements into a simple usable construction.
This leaves out many settings that have not been implemented into the CSS yet and renders them inaccessible when using things like handlebars to construct stat-sheets.

The Solution you'd like

Extend the custom CSS properties defined in the root element to reflect properties defined in theme property files.
This eill allow users to extract particular values for known names
e.g. from

Panel.background = @baseColour
ProgressBar.arc = 6
ProgressBar.background = @col20
ProgressBar.foreground = @blue
ScrollBar.background = @col20
ScrollBar.showButtons = true
ScrollBar.thumb  = @col50

to

--panel-background : blah;
--progress-bar-arc : blah;
--progress-bar-background : blah;
--progress-bar-foreground : blah;
--scroll-bar-background : blah;
--scroll-bar-showbuttons : blah;
--scroll-bar-thumb  : blah;

Alternatives that you've considered.

No response

Additional Context

No response

@bubblobill bubblobill added the feature Adding functionality that adds value label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding functionality that adds value
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants