May 2022
Intermediate to advanced
104 pages
2h 24m
English
In the configuration file, the theme object has keys that are the names of each core plugin and values that are the configuration options for that plugin. The three special configuration options, screen, color, and spacing, aren’t core plugins themselves but are the basis for the configuration of many other core plugins.
It’s worth mentioning here that Tailwind’s use of the word “theme” is different than the way you might see it used in other places, where “theme” refers to a set of colors, as in “dark theme” versus “light theme.” For Tailwind, the theme is the entire set of defaults, and there’s only one. If you want to change color schemes, you need to either use CSS variables or use the dark: modifier to specify behavior ...