-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tailwind): enable Tailwind utility and component classes (#675)
* feat(tailwind): enable utility classes and add tw- prefix * feat(tailwind): introduces script to add tw- prefix in css files * feat(tailwind): process components css to add tw- prefixes * revert prefixing script and prefixes * revert tw- prefix for tailwind utility classes * feat(tailwind): enable tailwind component classes * docs(tailwind): describe tailwind class usage * docs(tailwind): revise tailwind utility class usage * feat(tailwind): enable tailwind purge * feat(tailwind): enable tailwind jit mode * feat(tailwind): broaden TW purge scope to incl js jsx ts * feat(tailwind): move import tailwind utilities for storybook only * chore(tailwind): move properties to top f tailwind config object * docs(tailwind): update tw custom class with example * docs(tailwind): update tw conflict description Co-authored-by: Annie Hu <[email protected]> * docs(tailwind): udpate tw example * fix(tailwind): specify tailwind purge and add related doc Co-authored-by: Annie Hu <[email protected]>
- Loading branch information
1 parent
f91156d
commit ecedecf
Showing
5 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* This injects Tailwind's component classes and any component classes | ||
* registered by plugins. | ||
*/ | ||
@tailwind components; | ||
|
||
/** | ||
* This injects Tailwind's utility classes and any utility classes registered | ||
* by plugins. | ||
*/ | ||
@tailwind utilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters