From 80415ece5e8ec8cb9871ae41f6e7415e4942be27 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Wed, 10 May 2023 19:44:03 +0200 Subject: [PATCH] Support `@import "tailwindcss"` using top-level `index.css` file (#11205) * make `@import "tailwindcss"` work out of the box * update changelog --- CHANGELOG.md | 1 + index.css | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 index.css diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a6d4ff90..f61138f1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - [Oxide] Use `lightningcss` for nesting and vendor prefixes in PostCSS plugin ([#10399](https://github.com/tailwindlabs/tailwindcss/pull/10399)) +- Support `@import "tailwindcss"` using top-level `index.css` file ([#11205](https://github.com/tailwindlabs/tailwindcss/pull/11205)) ### Changed diff --git a/index.css b/index.css new file mode 100644 index 000000000..7f393742a --- /dev/null +++ b/index.css @@ -0,0 +1,5 @@ +@tailwind base; + +@tailwind components; + +@tailwind utilities;