tailwindcss/src
Robin Malfait 083bca3d3f
Insert always on defaults layer in correct spot (#6526)
* insert in correct spot

We were injecting the always on `@tailwind defaults` layer at the beginning of
the file. However, if a `@tailwind base` layer is available, then that
will now be injected _after_ the defaults layer. The base layer does
contain some reset that are now overriding the defaults we set.

So now we will:
- Insert the `@tailwind defaults` layer at the beginning of the file
  _if_ there is no `@tailwind base`
- Insert the `@tailwind defaults` layer after the `@tailwind base` layer
  if it exists.

* update changelog
2021-12-15 12:34:53 +01:00
..
css Add "li" to list-style reset 2021-12-14 20:40:20 -05:00
lib Insert always on defaults layer in correct spot (#6526) 2021-12-15 12:34:53 +01:00
public Improve warnings (#5666) 2021-10-01 11:47:02 -04:00
util Move defaults to their own always-on layer (#6500) 2021-12-14 12:21:38 -05:00
cli-peer-dependencies.js Improve new JIT-compatible CLI (#4558) 2021-06-04 10:28:09 -04:00
cli.js Fix debug mode being active although explicitly disabled (#5837) 2021-10-25 11:25:25 +02:00
constants.js Adds support for tailwind.config.cjs files (#3181) 2021-05-07 13:56:10 -04:00
corePlugins.js Move defaults to their own always-on layer (#6500) 2021-12-14 12:21:38 -05:00
featureFlags.js temporarily disable optimize universal defaults (#6461) 2021-12-13 15:39:18 +01:00
index.js Remove AOT (#5340) 2021-09-01 17:13:59 +02:00
processTailwindFeatures.js Dedupe duplicate properties (#5830) 2021-10-21 11:54:23 +02:00