File tree Expand file tree Collapse file tree 4 files changed +13
-28
lines changed
packages/foundations/tailwind/theme Expand file tree Collapse file tree 4 files changed +13
-28
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @db-ux/core-foundations " : patch
3+ " @db-ux/ngx-core-components " : patch
4+ " @db-ux/react-core-components " : patch
5+ " @db-ux/wc-core-components " : patch
6+ " @db-ux/v-core-components " : patch
7+ " @db-ux/core-components " : patch
8+ ---
9+
10+ fix: issue with tailwind duplicating some classes by using @theme inline
Original file line number Diff line number Diff line change @@ -8,17 +8,8 @@ $all-variants: list.append(
88);
99
1010// stylelint-disable-next-line scss/at-rule-no-unknown
11- @theme {
11+ @theme inline {
1212 @each $color-name in $all-variants {
1313 @include colors-utils .get-color ($color-name , $color-name );
1414 }
1515}
16-
17- @layer colors {
18- @each $color-name in $all-variants {
19- [data-color = " #{$color-name } " ],
20- .db-color-#{$color-name } {
21- @include colors-utils .get-color ($color-name , " adaptive" );
22- }
23- }
24- }
Original file line number Diff line number Diff line change 1- @mixin get-variables () {
1+ // stylelint-disable-next-line scss/at-rule-no-unknown
2+ @theme inline {
23 --spacing-fix-3xs : var (--db-spacing-fixed-3xs );
34 --spacing-fix-2xs : var (--db-spacing-fixed-2xs );
45 --spacing-fix-xs : var (--db-spacing-fixed-xs );
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments