codevise / pageflow

Multimedia story telling for the web.
http://pageflow.io
MIT License
692 stars 126 forks source link

Support scopes in storybook theme properties #1986

Closed tf closed 1 year ago

tf commented 1 year ago

So far theme properties in stories were set directly as keys below themeOptions.properties. In real themes, a scope like root or defaultNavigation needs to be inserted as an intermediate level.

To allow testing these scopes in stories, we now generate a full style tag with scope rules instead of only setting the properties as inline styles on a wrapper div.

REDMINE-20411