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

Resources addon to dynamically add/remove css #4622

Merged
merged 69 commits into from
Nov 26, 2018
Merged

Resources addon to dynamically add/remove css #4622

merged 69 commits into from
Nov 26, 2018

Conversation

nm123github
Copy link
Contributor

@nm123github nm123github commented Oct 30, 2018

Issue: I think there might be use-cases where folks want to quickly hop between different css resources at runtime. Here is an addon that will help with that.

What I did

demo

Neville Mehta and others added 23 commits September 10, 2018 00:23
# Conflicts:
#	examples/official-storybook/package.json
@nm123github
Copy link
Contributor Author

This might seem similar to recent resources-addon PR but is slightly different. This one allows you to switch between css files/themes predefined at compile time. This was a usecase that folks had asked and might be a good idea to deliver just that in this addon.

The other addon (which is more of a codeinjector-addon) will be a different PR, (most likely will update the previous one).

@ndelangen ndelangen merged commit cd02d36 into storybookjs:next Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants