Skip to content

Commit 05f4001

Browse files
authored
Updating color for breakpoint example (#943)
The current example has `bg-teal-500` but it looks like that doesn't exist in the latest version (2.2.14) of tailwindcss https://tailwindcss.com/docs/customizing-colors.
1 parent b869e26 commit 05f4001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/docs/responsive-design.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ Tailwind's breakpoints only include a `min-width` and don't include a `max-width
103103

104104
If you'd like to apply a utility at one breakpoint only, the solution is to *undo* that utility at larger sizes by adding another utility that counteracts it.
105105

106-
Here is an example where the background color is red at the `md` breakpoint, but teal at every other breakpoint:
106+
Here is an example where the background color is red at the `md` breakpoint, but green at every other breakpoint:
107107

108108
```html
109-
<div class="bg-teal-500 md:bg-red-500 lg:bg-teal-500">
109+
<div class="bg-green-500 md:bg-red-500 lg:bg-green-500">
110110
<!-- ... -->
111111
</div>
112112
```

0 commit comments

Comments
 (0)