Fundamentals
What the library is, how to add it, and the rules its components follow.
InstallationAdd it as a package, or copy each component's source into your app.ColorsThe palette, and every color token as each container sets it.MaterialsWhat a box is made of, which any container can set again for what's inside it.DepthA card sets the colors of what sits on it, so its controls keep their contrast.SizesThree control heights a theme can scale, and corners from Tailwind's scale.UtilitiesWhat every control shares, and patterns too fiddly to write twice.Writing a themeA theme imports base.css and sets again only what it changes.