Skip to content

Commit 2f1dbcc

Browse files
revert change in postcss fixture
1 parent fa45f04 commit 2f1dbcc

File tree

2 files changed

+7
-32
lines changed

2 files changed

+7
-32
lines changed
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
/* @plugin '../plugin.js'; */
2-
.foo {
3-
@apply text-red-500;
4-
}
1+
@plugin '../plugin.js';

packages/@tailwindcss-postcss/src/index.test.ts

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -169,47 +169,25 @@ describe('plugins', () => {
169169

170170
let result = await processor.process(
171171
css`
172-
@import 'tailwindcss/theme' theme(reference);
173172
@import 'tailwindcss/utilities';
174173
@import '../example-project/src/relative-import.css';
175174
`,
176175
{ from: `${__dirname}/fixtures/another-project/input.css` },
177176
)
178177

179178
expect(result.css.trim()).toMatchInlineSnapshot(`
180-
".text-2xl {
181-
font-size: var(--font-size-2xl, 1.5rem);
182-
line-height: var(--tw-leading, var(--font-size-2xl--line-height, 2rem));
183-
}
184-
185-
.text-black\\/50 {
186-
color: color-mix(in srgb, var(--color-black, #000) 50%, transparent);
187-
}
188-
189-
.underline {
179+
".underline {
190180
text-decoration-line: underline;
191181
}
192182
193-
@media (width >= 96rem) {
194-
.\\32 xl\\:font-bold {
195-
--tw-font-weight: 700;
196-
font-weight: 700;
197-
}
198-
}
199-
200-
@apply text-red-500;
201-
202-
@supports (-moz-orient: inline) {
203-
@layer base {
204-
*, :before, :after, ::backdrop {
205-
--tw-font-weight: initial;
206-
}
183+
@media (inverted-colors: inverted) {
184+
.inverted\\:flex {
185+
display: flex;
207186
}
208187
}
209188
210-
@property --tw-font-weight {
211-
syntax: "*";
212-
inherits: false
189+
.hocus\\:underline:focus, .hocus\\:underline:hover {
190+
text-decoration-line: underline;
213191
}"
214192
`)
215193
})

0 commit comments

Comments
 (0)