-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue SFC CSS pseudo classes #110
Comments
:deep
and :slotted
This request is not specific to Sass, but also affects CSS and SCSS both of which do not currently support We could add Ideally the vue.js package would extend CSS/Sass/SCSS to add support for framework specific keywords. It may however cause trouble in case required base packages are not installed. Adding framework specific features to general purpose syntaxes such as CSS/SCSS/Sass is tricky in the long term - as there are many of them with possible conflicting requirements. |
Ah yes, you’re right, I remembered that this should probably be in core CSS package but forgot to update comment 😄
I think this would be best approach, but I don’t know where to start. Vue syntax extends HTML syntax so I don’t know where to hook with changes related only to style blocks. |
Vue SFC supports
:deep
and:slotted
pseudo classes (as well:global
related to SFC), but they’re treated differently than other pseudo classes which accept CSS selectors.Since there is support for CSS Modules features such as
:global
and:local
, would you be willing to accept PR which will add support for these custom features inside Vue SFC scope?The text was updated successfully, but these errors were encountered: