Repository navigation
feat(tools): setup TailwindCSS in ui-components - #42153
Merged
Merged
Conversation
huyenltnguyen
commented
May 16, 2021
Comment on lines
+34
to
+36
| .fcc-style { | ||
| @apply bg-darkGreen; | ||
| } |
Member
Author
There was a problem hiding this comment.
This is just to validate that tailwind is working. The button does not match our styles and its implementation needs to be updated (IMO). I am planning to tear it down and rebuild it in a coming up PR as the pilot component.
Comment on lines
+5
to
+8
| colors: { | ||
| // Configure the color palette here | ||
| darkGreen: '#00471b' | ||
| } |
Member
Author
There was a problem hiding this comment.
I think we can start adding the color tokens in after this PR gets merged, and the task can be open for new contributors. The color list should contain layout colors and accent colors.
Comment on lines
+10
to
+13
| variants: { | ||
| extend: {} | ||
| }, | ||
| plugins: [] |
Member
Author
There was a problem hiding this comment.
These are just placeholders that npx tailwindcss init added.
raisedadead
approved these changes
May 17, 2021
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Checklist:
Update index.md)mainbranch of freeCodeCamp.Ref #41580
This PR adds basic TailwindCSS setup to
ui-components. Setup steps are:global.cssto include all the Tailwind import (https://tailwindcss.com/docs/installation#include-tailwind-in-your-css)Screenshot