From cf7465a38cd490d79d846df696226bae498fc45d Mon Sep 17 00:00:00 2001 From: Jon Griffith Date: Sun, 26 May 2024 06:40:17 -0700 Subject: [PATCH] fix: tailwind selector strategy changed in 3.4.1 (#1895) --- upgrade/tailwind.config.ts | 2 +- www/tailwind.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/upgrade/tailwind.config.ts b/upgrade/tailwind.config.ts index 8911c377b1..95e9b93818 100644 --- a/upgrade/tailwind.config.ts +++ b/upgrade/tailwind.config.ts @@ -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: { diff --git a/www/tailwind.config.ts b/www/tailwind.config.ts index cf4e33f811..60b783dfe5 100644 --- a/www/tailwind.config.ts +++ b/www/tailwind.config.ts @@ -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: {