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
solid-element is great on its own. For more complex projects or larger components, usually a styling library is brought in to manage styles (e.g., CSS Modules, some CSS in JS lib, tailwind, Panda). All of these end up producing solutions have tight integrations with the build process, which emit CSS assets or inject code that populate the <head> with styles.
When trying to use solid-styled-components and extractCss, the style tag inside the web component is empty and has a single $ character.
Any thoughts on how to better manage styles in custom elements build with solid-element?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
solid-element
is great on its own. For more complex projects or larger components, usually a styling library is brought in to manage styles (e.g., CSS Modules, some CSS in JS lib, tailwind, Panda). All of these end up producing solutions have tight integrations with the build process, which emit CSS assets or inject code that populate the<head>
with styles.When trying to use
solid-styled-components
andextractCss
, the style tag inside the web component is empty and has a single$
character.Any thoughts on how to better manage styles in custom elements build with
solid-element
?Beta Was this translation helpful? Give feedback.
All reactions