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

feat(runtime): update & allow access to updateStyle() #1770

Merged
merged 1 commit into from Oct 18, 2022

Conversation

chu121su12
Copy link
Collaborator

Closes #1765. The alternative is to selectively expose access to tokens and styleElement

let tokens = new Set<string>()

let styleElement: HTMLStyleElement | undefined

@netlify
Copy link

netlify bot commented Oct 18, 2022

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit c31c35e
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/634e44b85dc38100085e6a82
😎 Deploy Preview https://deploy-preview-1770--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@antfu antfu merged commit 1b8cc7b into main Oct 18, 2022
@antfu antfu deleted the feat/runtime-update branch October 18, 2022 12:05
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.

Feature Request: Expose the function updateStyle on unoCssRuntime
2 participants