Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Direct support for @import 'tailwindcss/{layer}' syntax #145

Merged
merged 3 commits into from
Mar 23, 2021

Conversation

adamwathan
Copy link
Member

This PR adds support for writing your layers this way:

@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

This already works if you are using postcss-import or similar, but this makes it work even if you aren't, which makes it a lot easier to document things. Tailwind already supports this on the main branch, bringing this in here as it came up in #143.

@adamwathan adamwathan merged commit aa912ad into main Mar 23, 2021
@adamwathan adamwathan deleted the import-syntax branch March 23, 2021 15:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant