fix: adding data-theme to tailwind config (#319)

Resolve: #288
This commit is contained in:
rachel cantor
2024-07-15 11:33:07 -04:00
committed by GitHub
parent 2e707286ce
commit 569e53ef0d
+1
View File
@@ -9,6 +9,7 @@ function withOpacity(variableName) {
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["selector", "[data-theme='dark']"],
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
// Remove the following screen breakpoint or add other breakpoints