Skip to content

v4.1.0 handling different layer orders in conditional rules is unsupported #17498

@chenjmdgjl

Description

@chenjmdgjl

"vite": "^6.2.4"
"@tailwindcss/vite": "^4.1.0",
"tailwindcss": "^4.1.0",

14:58:18 [WARN] [vite] [vite:css][postcss] handling different layer orders in conditional rules is unsupported by this plugin and will cause style differences between browser versions.
1 | /*! tailwindcss v4.1.0 | MIT License | https://tailwindcss.com/ */
2 | @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3 | @layer base {
| ^^^^^^^^^^^^^
4 | *, ::before, ::after, ::backdrop {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 | --tw-space-y-reverse: 0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 | --tw-border-style: solid;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 | --tw-font-weight: initial;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8 | --tw-shadow: 0 0 #0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9 | --tw-shadow-color: initial;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 | --tw-shadow-alpha: 100%;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 | --tw-inset-shadow: 0 0 #0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 | --tw-inset-shadow-color: initial;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 | --tw-inset-shadow-alpha: 100%;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 | --tw-ring-color: initial;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 | --tw-ring-shadow: 0 0 #0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 | --tw-inset-ring-color: initial;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17 | --tw-inset-ring-shadow: 0 0 #0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 | --tw-ring-inset: initial;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 | --tw-ring-offset-width: 0px;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 | --tw-ring-offset-color: #fff;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 | --tw-ring-offset-shadow: 0 0 #0000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 | --tw-outline-style: solid;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 | }
| ^^^^^
24 | }
| ^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions