You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS modules are great, but I after webpack build, all generated names are hidden in the bundle. It should be great to generate a single mapping file that contain:
Without this, I can't do that:
An external CSS (not a CSS Module, a regular one, a THEME written by my client) that contain
keywords like @MyComponent.title@ that could be transformed in _2IezJF1AI1wN8JrvVVyB9-
before putting it in prod.
With that, My client could do theming with rules like:
Actually, I'm stuck. And no, theming with inline styles is not a solution. I want to use :hover or whatever I want.
What do you think about this idea ?
Note: my requirement is that the application can change it's theme at runtime and the theme is not
defined at development time. it is not predefined themes.
Regards.
Eric.
The text was updated successfully, but these errors were encountered:
CSS modules are great, but I after webpack build, all generated names are hidden in the bundle. It should be great to generate a single mapping file that contain:
for instance
Without this, I can't do that:
An external CSS (not a CSS Module, a regular one, a THEME written by my client) that contain
keywords like
@MyComponent.title@
that could be transformed in_2IezJF1AI1wN8JrvVVyB9-
before putting it in prod.
With that, My client could do theming with rules like:
Actually, I'm stuck. And no, theming with inline styles is not a solution. I want to use :hover or whatever I want.
What do you think about this idea ?
Note: my requirement is that the application can change it's theme at runtime and the theme is not
defined at development time. it is not predefined themes.
Regards.
Eric.
The text was updated successfully, but these errors were encountered: