Skip to content

Commit

Permalink
fix: tailwind preset
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-karger committed Oct 23, 2023
1 parent 3d46fe0 commit eb03975
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/docs/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { fontFamily } = require("tailwindcss/defaultTheme")
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ["class", '[data-kb-theme="dark"]'],
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
content: ["./src/**/*.{js,jsx,md,mdx,ts,tsx}"],
theme: {
container: {
center: true,
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ export const TAILWIND_PRESET = `const {fontFamily} = require("tailwindcss/defaul
/**@type {import("tailwindcss").Config} */
module.exports = {
darkMode: ["class"],
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
darkMode: ["class", '[data-kb-theme="dark"]'],
content: ["./src/**/*.{js,jsx,md,mdx,ts,tsx}"],
theme: {
container: {
center: true,
Expand Down
4 changes: 2 additions & 2 deletions suc.preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const { fontFamily } = require("tailwindcss/defaultTheme")

/**@type {import("tailwindcss").Config} */
module.exports = {
darkMode: ["class"],
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
darkMode: ["class", '[data-kb-theme="dark"]'],
content: ["./src/**/*.{js,jsx,md,mdx,ts,tsx}"],
theme: {
container: {
center: true,
Expand Down

1 comment on commit eb03975

@vercel
Copy link

@vercel vercel bot commented on eb03975 Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.