Marius
Marius
> This is a possible duplicate of [#1430](https://github.com/callstack/linaria/issues/1430). Have you tried the `tagResolver` option documented [here](https://github.com/callstack/linaria/blob/master/docs/CONFIGURATION.md)? Did this solve your issue? @clintandrewhall
One can simply use `data-*` attributes paired with attribute selectors to implement conditional styles. Using the example of the OP: ```ts const TopLevelList = styled.ul` /* some css */ &[data-dark="true"]...
Have you made any progress on this issue? @mattoni
I can see how your proposal would require less switching between CSS and JS syntax when writing styles but how would you make this type-safe? Will typescript actually complain if...
Alright, I cannot share the full sentry issue here but most events are reported by devices with iOS 17 & 18. Those [usually support dynamic imports](https://caniuse.com/es6-module-dynamic-import) so maybe the feature...
What you are looking for is the `tagResolver` option documented [here](https://github.com/callstack/linaria/blob/master/docs/CONFIGURATION.md). > By default, linaria APIs like css and styled must be imported directly from the package – this is...
Does this solve your issue? @dndrsn