aboutsummaryrefslogtreecommitdiffstats
path: root/tailwind.config.cjs
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-09-08 08:14:24 -0700
committerAdam Soltys <[email protected]>2025-09-08 08:14:24 -0700
commit1c6a15704d38ef110743c8ebb613829f7ee43db1 (patch)
tree0ccc053bb1150b15c8f82fd8b34366cfcfdcdec7 /tailwind.config.cjs
parent75de7d23fb7557ad7173da4f8bd4697da0cfe42b (diff)
downloadcoinosv3-1c6a15704d38ef110743c8ebb613829f7ee43db1.tar.gz
coinosv3-1c6a15704d38ef110743c8ebb613829f7ee43db1.zip
new buttons
Diffstat (limited to 'tailwind.config.cjs')
-rw-r--r--tailwind.config.cjs25
1 files changed, 25 insertions, 0 deletions
diff --git a/tailwind.config.cjs b/tailwind.config.cjs
new file mode 100644
index 0000000..8bc2b2d
--- /dev/null
+++ b/tailwind.config.cjs
@@ -0,0 +1,25 @@
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+ content: ["./src/**/*.{html,js,svelte}"],
+ plugins: [require("daisyui")],
+ daisyui: {
+ themes: [
+ {
+ light: {
+ ...require("daisyui/src/theming/themes").lofi,
+ gradient: "#C3CFE2",
+ error: "#b91c1c",
+ },
+ },
+ ], // 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
+ darkMode: 'class',
+ 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: false, // 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
+ },
+ safelist: ["w-16", "h-16", "w-20", "h-20", "w-24", "h-24"],
+};