Chapter quiz · Customization & Theming

Test what you learned.

8 questions on Customization & Theming. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Tailwind Theming — Chapter Quiz

Eight questions on @theme, tokens, @utility, @custom-variant, arbitrary values, and @apply.

0/ 9
  1. Question 1
    1

    Where do you define design tokens in Tailwind v4?

  2. Question 2
    2

    Defining --color-brand in @theme generates which utilities?

  3. Question 3
    3

    Which directive defines a brand-new custom utility?

  4. Question 4
    4

    Class-strategy dark mode requires a @custom-variant dark (...) in v4.

  5. Question 5
    5

    How do you apply a one-off arbitrary value, e.g. a 37px top margin?

  6. Question 6
    6

    The directive that inlines existing utility styles into a custom CSS rule is @___.

  7. Question 7
    7

    Which directive registers a Tailwind plugin in CSS-first v4?

  8. Question 8
    8

    Which are valid Tailwind v4 CSS directives?

    Select all that apply.

Pick an answer — instant feedback as you go.