From 60bf261106cd98ee63219be8657158583554aad3 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Thu, 2 Jun 2022 08:24:06 -0500 Subject: Configurations for tailwind --- tailwind.config.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tailwind.config.js (limited to 'tailwind.config.js') diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..7b12736 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,7 @@ +module.exports = { + content: ['./public/index.html', './src/**/*.svelte'], + theme: { + extend: {}, + }, + plugins: [], +} -- cgit v1.2.3 From 7883cc717cbedb01c44a1a8c89eda105938a5603 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Fri, 3 Jun 2022 07:30:23 -0500 Subject: Stop daisyui from using its own theme --- tailwind.config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tailwind.config.js') diff --git a/tailwind.config.js b/tailwind.config.js index 7b12736..df677cf 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -3,5 +3,12 @@ module.exports = { theme: { extend: {}, }, - plugins: [], + plugins: [ + require('daisyui'), + ], + + // Daisyui had some theme turned on by default + daisyui: { + themes: false, + } } -- cgit v1.2.3 From dded395fab171cf110e50be3d991e67a3e1d36c1 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Fri, 3 Jun 2022 11:26:20 -0500 Subject: enable DaisyUI themes --- tailwind.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tailwind.config.js') diff --git a/tailwind.config.js b/tailwind.config.js index df677cf..764d3c2 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -9,6 +9,9 @@ module.exports = { // Daisyui had some theme turned on by default daisyui: { - themes: false, - } + themes: ["light", "dark", "cupcake", "bumblebee", "emerald", "corporate", "synthwave", "retro", "cyberpunk", "valentine", "halloween", "garden", "forest", "aqua", "lofi", "pastel", "fantasy", "wireframe", "black", "luxury", "dracula", "cmyk", "autumn", "business", "acid", "lemonade", "night", "coffee", "winter"], + // themes: [], + }, + + darkMode: 'class', } -- cgit v1.2.3