@@ -713,13 +713,7 @@ test(
713713 expect ( await fs . dumpFiles ( './dist/*.css' ) ) . toMatchInlineSnapshot ( `
714714 "
715715 --- ./dist/out.css ---
716- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
717- @layer base {
718- *, ::before, ::after, ::backdrop {
719- --tw-content: "";
720- }
721- }
722- }
716+ @layer properties;
723717 .content-\\[\\"components\\/my-component\\.tsx\\"\\] {
724718 --tw-content: "components/my-component.tsx";
725719 content: var(--tw-content);
@@ -761,6 +755,13 @@ test(
761755 inherits: false;
762756 initial-value: "";
763757 }
758+ @layer properties {
759+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
760+ *, ::before, ::after, ::backdrop {
761+ --tw-content: "";
762+ }
763+ }
764+ }
764765 "
765766 ` )
766767 } ,
@@ -951,13 +952,7 @@ test(
951952 expect ( await fs . dumpFiles ( './project-a/dist/*.css' ) ) . toMatchInlineSnapshot ( `
952953 "
953954 --- ./project-a/dist/out.css ---
954- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
955- @layer base {
956- *, ::before, ::after, ::backdrop {
957- --tw-content: "";
958- }
959- }
960- }
955+ @layer properties;
961956 .content-\\[\\'project-a\\/node_modules\\/my-lib-1\\/src\\/index\\.html\\'\\] {
962957 --tw-content: 'project-a/node modules/my-lib-1/src/index.html';
963958 content: var(--tw-content);
@@ -1011,6 +1006,13 @@ test(
10111006 inherits: false;
10121007 initial-value: "";
10131008 }
1009+ @layer properties {
1010+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1011+ *, ::before, ::after, ::backdrop {
1012+ --tw-content: "";
1013+ }
1014+ }
1015+ }
10141016 "
10151017 ` )
10161018
@@ -1195,13 +1197,7 @@ test(
11951197 expect ( await fs . dumpFiles ( './dist/*.css' ) ) . toMatchInlineSnapshot ( `
11961198 "
11971199 --- ./dist/out.css ---
1198- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1199- @layer base {
1200- *, ::before, ::after, ::backdrop {
1201- --tw-content: "";
1202- }
1203- }
1204- }
1200+ @layer properties;
12051201 .content-\\[\\"pages\\/foo\\.html\\"\\] {
12061202 --tw-content: "pages/foo.html";
12071203 content: var(--tw-content);
@@ -1219,6 +1215,13 @@ test(
12191215 inherits: false;
12201216 initial-value: "";
12211217 }
1218+ @layer properties {
1219+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1220+ *, ::before, ::after, ::backdrop {
1221+ --tw-content: "";
1222+ }
1223+ }
1224+ }
12221225 "
12231226 ` )
12241227 } ,
@@ -1588,27 +1591,8 @@ test(
15881591 "
15891592 --- ./dist/out.css ---
15901593 @import url('https://fonts.googleapis.com');
1594+ @layer properties;
15911595 @layer theme, base, components, utilities;
1592- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1593- @layer base {
1594- *, ::before, ::after, ::backdrop {
1595- --tw-shadow: 0 0 #0000;
1596- --tw-shadow-color: initial;
1597- --tw-shadow-alpha: 100%;
1598- --tw-inset-shadow: 0 0 #0000;
1599- --tw-inset-shadow-color: initial;
1600- --tw-inset-shadow-alpha: 100%;
1601- --tw-ring-color: initial;
1602- --tw-ring-shadow: 0 0 #0000;
1603- --tw-inset-ring-color: initial;
1604- --tw-inset-ring-shadow: 0 0 #0000;
1605- --tw-ring-inset: initial;
1606- --tw-ring-offset-width: 0px;
1607- --tw-ring-offset-color: #fff;
1608- --tw-ring-offset-shadow: 0 0 #0000;
1609- }
1610- }
1611- }
16121596 @layer theme {
16131597 :root, :host {
16141598 --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
@@ -1839,6 +1823,26 @@ test(
18391823 inherits: false;
18401824 initial-value: 0 0 #0000;
18411825 }
1826+ @layer properties {
1827+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1828+ *, ::before, ::after, ::backdrop {
1829+ --tw-shadow: 0 0 #0000;
1830+ --tw-shadow-color: initial;
1831+ --tw-shadow-alpha: 100%;
1832+ --tw-inset-shadow: 0 0 #0000;
1833+ --tw-inset-shadow-color: initial;
1834+ --tw-inset-shadow-alpha: 100%;
1835+ --tw-ring-color: initial;
1836+ --tw-ring-shadow: 0 0 #0000;
1837+ --tw-inset-ring-color: initial;
1838+ --tw-inset-ring-shadow: 0 0 #0000;
1839+ --tw-ring-inset: initial;
1840+ --tw-ring-offset-width: 0px;
1841+ --tw-ring-offset-color: #fff;
1842+ --tw-ring-offset-shadow: 0 0 #0000;
1843+ }
1844+ }
1845+ }
18421846 "
18431847 ` )
18441848 } ,
0 commit comments