Skip to content

Commit

Permalink
refactor: 🔥 Remove unnecessary ds.typography CSS layer (#2831)
Browse files Browse the repository at this point in the history
Remove unnecessary `ds.typography` CSS layer now that they just reflect
the component. Reduce complexity and avoid confusion with
`ds.theme.typography`
  • Loading branch information
mimarz authored Nov 26, 2024
1 parent b01e6f2 commit 2f237cd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/css/src/index.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@charset 'UTF-8';

@layer ds.base, ds.typography, ds.theme, ds.components;
@layer ds.base, ds.theme, ds.components;

/** Import order defines ordinal specificity for layers */
@import url('./base.css') layer(ds.base);
@import url('./heading.css') layer(ds.typography);
@import url('./label.css') layer(ds.typography);
@import url('./paragraph.css') layer(ds.typography);
@import url('./validation-message.css') layer(ds.typography);
@import url('./heading.css') layer(ds.base);
@import url('./label.css') layer(ds.base);
@import url('./paragraph.css') layer(ds.base);
@import url('./validation-message.css') layer(ds.base);
@import url('./button.css') layer(ds.components);
@import url('./field.css') layer(ds.components);
@import url('./input.css') layer(ds.components);
Expand Down

0 comments on commit 2f237cd

Please sign in to comment.