Skip to content

Commit db63fb1

Browse files
committed
Fix(web): Order top-level CSS layers by selector specificity
1 parent 3d91997 commit db63fb1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/web/src/scss/index.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
@forward 'components';
1+
// ⚠️ Order matters!
2+
// Layers are ordered by specificity, from the most generic rules to components to high-specificity overrides.
3+
24
@forward 'foundation';
5+
@forward 'components';
36
@forward 'helpers';
47
@forward 'utilities';

0 commit comments

Comments
 (0)