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

Expose styles via reagent atom in SCI #516

Open
sritchie opened this issue Jun 16, 2023 · 0 comments
Open

Expose styles via reagent atom in SCI #516

sritchie opened this issue Jun 16, 2023 · 0 comments

Comments

@sritchie
Copy link
Collaborator

sritchie commented Jun 16, 2023

I'd love to be able to wrap my Mafs and MathBox viewers in a div that sets their styles based on the Clerk style active at the moment.

It would be great to expose the current style (as a map of variable => value, maybe?) in a reagent atom that I can deref, so my component will change when the user toggles dark/light mode.

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

No branches or pull requests

1 participant