-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
46 additions
and
11 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
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 +1 @@ | ||
// future | ||
var toast = document.getElementById('wip'); |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
//... | ||
|
||
// add daisyUI plugin | ||
plugins: [require("daisyui")], | ||
|
||
// daisyUI config (optional - here are the default values) | ||
daisyui: { | ||
themes: false, // false: only light + dark | true: all themes | array: specific themes like this ["light", "dark", "cupcake"] | ||
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 | ||
}, | ||
|
||
//... | ||
} |