-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed as not planned
Description
Describe the problem
Chrome has supported @scope
since last year, Safari released on the fourth march this year supports @scope
, Firefox comming. Soon all browser engines will support native css scoped.
Svelte scoped CSS in this way:
Adding a class to affected elements, which is based on a hash of the component styles (e.g. svelte-123xyz).
To disable this behavior can by adding :global
to each class or by installing a library like svelte-preprocess and adding a global
attribute to each style tag. These options are not convenient.
Need the ability to disable Svelte scoped CSS globally.
Describe the proposed solution
Add the option scopedStyle: boolean
to svelte.config.js
to disable Svelte scoped styles.
Importance
would make my life easier
Jerboas86
Metadata
Metadata
Assignees
Labels
No labels