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
Option 2
Try using a :style binding on the component root element. This would mean no integration-side work needed. Could even be a prop to allow overriding of the component theme!
Option 2 sounds better methinks.. 🤔
TheFoot
changed the title
CSS variables not included in bundle
CSS variables are applied at root (HTML) scope
Sep 17, 2020
The CSS vars used by the component:
.. are applied to the host application, however - they aren't named with any reference to VDG - so there is potential for a clash.
Including them in a
scoped
doesn't work at all - not even withing local component development, hence why they exist in a globally scoped block atm.Hopefully Vue will include support soon for a
:host
selector - to be applied to the component root: vuejs/vue-loader#1601The text was updated successfully, but these errors were encountered: