Skip to content

[5534] UX: create mechanism for themes to provide multiple variants - #5659

Merged
knolleary merged 1 commit into
devfrom
5534-theme-schemes
Apr 29, 2026
Merged

knolleary merged 1 commit into
devfrom
5534-theme-schemes

Conversation

@n-lark

@n-lark n-lark commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

Types of changes

See details & test plan here.

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Resolves #5534

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@knolleary

Copy link
Copy Markdown
Member

Verified with a custom theme plugin that includes the schemes property and provides a style sheet containing:

:root {
    --red-ui-primary-background: red;
}

:root.nr-theme-dark {
    --red-ui-primary-background: yellow;
}

It may look awful, but easy to check its working.

Thanks!

@knolleary
knolleary merged commit ace11a7 into dev Apr 29, 2026
4 checks passed
@knolleary
knolleary deleted the 5534-theme-schemes branch April 29, 2026 12:23
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.

UX: create mechanism for themes to provide multiple variants

2 participants