mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Add more color docs to config
This commit is contained in:
parent
382537f86a
commit
a08388efc7
@ -287,7 +287,9 @@ module.exports = {
|
||||
| Text colors https://tailwindcss.com/docs/text-colors
|
||||
|-----------------------------------------------------------------------------
|
||||
|
|
||||
| Add...
|
||||
| Here is where you define your text colors. By default these use the color
|
||||
| palette we defined above, however you're welcome to set these
|
||||
| independently if that makes sense for your project.
|
||||
|
|
||||
| Class name: .text-{color}
|
||||
|
|
||||
@ -301,7 +303,9 @@ module.exports = {
|
||||
| Background colors https://tailwindcss.com/docs/background-colors
|
||||
|-----------------------------------------------------------------------------
|
||||
|
|
||||
| Add...
|
||||
| Here is where you define your background colors. By default these use the
|
||||
| color palette we defined above, however you're welcome to set these
|
||||
| independently if that makes sense for your project.
|
||||
|
|
||||
| Class name: .bg-{color}
|
||||
|
|
||||
@ -335,7 +339,13 @@ module.exports = {
|
||||
| Border colors https://tailwindcss.com/docs/border-colors
|
||||
|-----------------------------------------------------------------------------
|
||||
|
|
||||
| Add...
|
||||
| Here is where you define your border colors. By default these use the
|
||||
| color palette we defined above, however you're welcome to set these
|
||||
| independently if that makes sense for your project.
|
||||
|
|
||||
| Take note that border colors require a special "default" value set as
|
||||
| well. This is the color that will be used when you do not specify a
|
||||
| border color.
|
||||
|
|
||||
| Class name: .border-{color}
|
||||
|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user