Skip to content

Commit

Permalink
fix: tailwind selector strategy changed in 3.4.1 (#1895)
Browse files Browse the repository at this point in the history
  • Loading branch information
devotoare authored May 26, 2024
1 parent ea5bba1 commit cf7465a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion upgrade/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type Config } from "tailwindcss";
import { fontFamily } from "tailwindcss/defaultTheme";

export default {
darkMode: ["class"],
darkMode: ["selector"],
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
container: {
Expand Down
2 changes: 1 addition & 1 deletion www/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { type Config } from "tailwindcss";

export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
darkMode: "class",
darkMode: "selector",
theme: {
extend: {
colors: {
Expand Down

0 comments on commit cf7465a

Please sign in to comment.