-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from snurfer0/fix/loading
fix: theme
- Loading branch information
Showing
2 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
btn-primary | ||
btn-secondary | ||
btn-neutral | ||
btn-accent | ||
btn-ghost | ||
btn-link | ||
["btn-primary", | ||
"btn-secondary", | ||
"btn-neutral", | ||
"btn-accent", | ||
"btn-ghost", | ||
"btn-link"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: [ | ||
'./src/app/**/*.{js,ts,jsx,tsx,mdx}', | ||
'./src/components/**/*.{js,ts,jsx,tsx}', | ||
], | ||
daisyui: { | ||
themes: ["pastel", "sunset"], | ||
darkTheme: "sunset", // name of one of the included themes for dark mode | ||
base: true, // applies background color and foreground color for root element by default | ||
styled: true, // include daisyUI colors and design decisions for all components | ||
utils: true, // adds responsive and modifier utility classes | ||
prefix: "", // prefix for daisyUI classnames (components, modifiers and responsive class names. Not colors) | ||
logs: true, // Shows info about daisyUI version and used config in the console when building your CSS | ||
themeRoot: ":root", // The element that receives theme color CSS variables | ||
}, | ||
plugins: [require("daisyui")], | ||
content: ["./src/styles/safelist.txt"], | ||
} | ||
content: [ | ||
"./src/app/**/*.{js,ts,jsx,tsx,mdx}", | ||
"./src/components/**/*.{js,ts,jsx,tsx}", | ||
], | ||
daisyui: { | ||
themes: ["light", "dark"], | ||
darkTheme: "dark", // name of one of the included themes for dark mode | ||
base: true, // applies background color and foreground color for root element by default | ||
styled: true, // include daisyUI colors and design decisions for all components | ||
utils: true, // adds responsive and modifier utility classes | ||
prefix: "", // prefix for daisyUI classnames (components, modifiers and responsive class names. Not colors) | ||
logs: true, // Shows info about daisyUI version and used config in the console when building your CSS | ||
themeRoot: ":root", // The element that receives theme color CSS variables | ||
}, | ||
plugins: [require("daisyui")], | ||
safelist: [ | ||
"btn-primary", | ||
"btn-secondary", | ||
"btn-neutral", | ||
"btn-accent", | ||
"btn-ghost", | ||
"btn-link", | ||
], | ||
}; |