Skip to content

Conversation

@shgysk8zer0
Copy link
Member

Introduces createStyleScope, a utility for generating and attaching scoped CSSStyleSheets to a given root (Document, ShadowRoot, or Element). This enables dynamic creation of unique class names and CSS rules within a specific DOM scope. Updates exports and adds usage in test suite to demonstrate functionality.

Description and issue

Please add relevant sections (Added, removed, changed, fixed) to CHANGELOG.md

List of significant changes made

Introduces createStyleScope, a utility for generating and attaching scoped CSSStyleSheets to a given root (Document, ShadowRoot, or Element). This enables dynamic creation of unique class names and CSS rules within a specific DOM scope. Updates exports and adds usage in test suite to demonstrate functionality.
@shgysk8zer0 shgysk8zer0 added the enhancement New feature or request label Jan 8, 2026
@shgysk8zer0 shgysk8zer0 self-assigned this Jan 8, 2026
@shgysk8zer0 shgysk8zer0 added the enhancement New feature or request label Jan 8, 2026
@shgysk8zer0 shgysk8zer0 enabled auto-merge January 8, 2026 23:22
@shgysk8zer0 shgysk8zer0 merged commit 7c232e0 into master Jan 8, 2026
5 checks passed
@shgysk8zer0 shgysk8zer0 deleted the feature/scoped-styles branch January 8, 2026 23:23
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

Successfully merging this pull request may close these issues.

2 participants