Transcript
00:00 There's a fundamental difference right now between the colors in our Tailwind config and the colors in Figma. In the Tailwind config, all the colors are defined on the colors object and available everywhere, which is the equivalent of that, all colors defined. But remember,
00:15 we want, at some point, to have various tokens for background, text, and border, and these are very different. For example, teal is only available for a background color, not a text or border. And let me show you why that's a thing. Right now, teal is usable everywhere
00:32 because in the colors object, and so as a result, I could, if I wanted, to make the special deal text here, text, teal. That's available and that's going to work. But I don't know about you, but this teal text on white background is really hard to read, and I'm pretty sure that's not what the
00:50 designers intended with the highlight color, which is the teal. So your challenge in this exercise is to scope out the background color, the text color, and border colors, and make them only available for these purposes in Tailwind. You're going to take the row tokens that we have already
01:08 defined, and then you're going to make scopes for background, text, and border, and map the colors appropriately. There's more info in the descriptions below if you need that. Good luck!