-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Tailwind utility and component classes #675
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
865cea7
feat(tailwind): enable utility classes and add tw- prefix
db8cc6f
feat(tailwind): introduces script to add tw- prefix in css files
bc0cdb6
feat(tailwind): process components css to add tw- prefixes
5210e46
revert prefixing script and prefixes
ba65a36
revert tw- prefix for tailwind utility classes
621edf4
Merge branch 'main' into sc-141242
5b06b47
feat(tailwind): enable tailwind component classes
86c29ae
docs(tailwind): describe tailwind class usage
bc1f3aa
docs(tailwind): revise tailwind utility class usage
b358d26
feat(tailwind): enable tailwind purge
dac0e7e
feat(tailwind): enable tailwind jit mode
daded58
feat(tailwind): broaden TW purge scope to incl js jsx ts
8410af4
feat(tailwind): move import tailwind utilities for storybook only
a9ec8ec
chore(tailwind): move properties to top f tailwind config object
b0399db
docs(tailwind): update tw custom class with example
948846f
docs(tailwind): update tw conflict description
jinlee93 a251681
docs(tailwind): udpate tw example
84361f6
fix(tailwind): specify tailwind purge and add related doc
50172bb
Merge branch 'main' into sc-141242
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it'd be nice to mirror the naming convention in traject?
global.css
->tailwind-base.css
(I think we should rename this in traject, will leave a comment in the other PR)tailwindUtilities.css
->tailwind-utilities.css
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 This makes sense to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed as suggested