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

Scoped styles #233

Open
metonym opened this issue Aug 7, 2022 · 2 comments · May be fixed by #349
Open

Scoped styles #233

metonym opened this issue Aug 7, 2022 · 2 comments · May be fixed by #349
Assignees
Labels
enhancement New feature or request

Comments

@metonym
Copy link
Owner

metonym commented Aug 7, 2022

Currently, code styles are applied globally. It could be useful if styles code be scoped, which would allow the ability use different styles in the same page.

The docs site actually scopes styles for the purpose of showcasing individual styles on one page:

$: css = (styles[moduleName] || "")

@mhkeller
Copy link

This would be a great feature. Any news on the progress?

@metonym metonym self-assigned this Jul 30, 2024
@metonym
Copy link
Owner Author

metonym commented Jul 30, 2024

I'll put this in my queue – seems like a table stakes feature TBH.

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 a pull request may close this issue.

2 participants