You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Tailwind CSS doesn't support themes by default, but they offer a "[dark mode](ht
11
11
```html
12
12
<!-- Card example w/ Tailwind CSS dark mode -->
13
13
14
-
<divclass="bg-gray-900 dark:bg-gray p-12">
14
+
<divclass="bg-gray-900 dark:bg-gray-100 p-12">
15
15
<h3>Card w/ light theme</h3>
16
16
<pclass="text-white dark:text-black">
17
17
This card example is styled using Tailwind color values that were set up for
@@ -46,7 +46,7 @@ Tailwind CSS doesn't support themes by default, but they offer a "[dark mode](ht
46
46
</div>
47
47
```
48
48
49
-
This system significantly reduces CSS styling by avoiding dark classes altogether in favor of the theme classes. If you design your app using semantic color names, you can theming for free.
49
+
This system avoids dark classes altogether in favor of the theme classes. If you design your app using semantic color names, you get theming for free. This results in a significant reduction in CSS styling because you're not writing color values directly into components.
0 commit comments