Skip to content

fix: theming minor corrections - #64

Merged
stee-re merged 1 commit into
openscd:mainfrom
stee-re:fix_minor-theming-inaccuracies
Oct 1, 2026
Merged

stee-re merged 1 commit into
openscd:mainfrom
stee-re:fix_minor-theming-inaccuracies

Conversation

@stee-re

@stee-re stee-re commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

• Correct the palette token names. The supported distribution-facing tokens use the  --oscd-theme-*  prefix. The table previously listed internal  --oscd-*  aliases, which could lead consumers to set the wrong properties.
• Scope the examples to  :host  instead of  * . Define mappings once on the plugin root and let CSS inheritance carry them to descendants. Declaring them on every element prevents subtree overrides from taking effect through inheritance.

- design tokens should include the "-theme-" keyword
- styling should be applied to :host, not every sub element - allow css
to do its thing
@stee-re
stee-re requested review from clepski and danyill and removed request for danyill September 30, 2026 08:14
@stee-re
stee-re merged commit 153e3d5 into openscd:main Oct 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants