Skip to content
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

Revert SCSS preprocessing #141

Merged
merged 3 commits into from
Oct 30, 2022
Merged

Revert SCSS preprocessing #141

merged 3 commits into from
Oct 30, 2022

Conversation

janosh
Copy link
Owner

@janosh janosh commented Oct 30, 2022

Closes #140.

SCSS preprocessing leads to increased specificity making default CSS difficult to override. :where() is the future i.t.o. 0-specificity default component styles with growing browser support. Svelte v4 might even make it the default to wrap component styles in :where() (see sveltejs/svelte#4374).

@janosh janosh merged commit 063ec2d into main Oct 30, 2022
@janosh janosh deleted the gh-140 branch October 30, 2022 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can not override default styles - CSS class multiplication
1 participant