1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-28 01:10:52 +01:00
upscayl/tailwind.config.js

79 lines
2.0 KiB
JavaScript
Raw Normal View History

2022-08-15 06:53:14 +02:00
module.exports = {
content: [
"./renderer/pages/**/*.{js,ts,jsx,tsx}",
"./renderer/components/**/*.{js,ts,jsx,tsx}",
],
2022-12-16 17:20:46 +01:00
safelist: [
2024-01-23 09:54:08 +01:00
...[...Array(101).keys()].flatMap((index) => [
2024-01-23 09:44:32 +01:00
`group-hover:scale-[${index * 10}%]`,
`group-hover:scale-[${index * 10}%]`,
]),
2022-12-16 17:20:46 +01:00
],
2022-11-15 15:42:20 +01:00
theme: {
extend: {
spacing: {
128: "28rem",
},
},
},
2023-11-26 09:04:03 +01:00
plugins: [
require("daisyui"),
require("tailwind-scrollbar"),
require("@tailwindcss/typography"),
],
2022-12-08 04:25:26 +01:00
daisyui: {
darkTheme: "upscayl",
2022-12-08 04:25:26 +01:00
themes: [
2023-08-26 09:27:15 +02:00
{
upscayl: {
primary: "#334155",
secondary: "#4f46e5",
accent: "#6d28d9",
neutral: "#475569",
"base-100": "#1e293b",
"base-200": "#0f172a",
"base-300": "#020617",
"--rounded-btn": "2rem", // border radius rounded-btn utility class, used in buttons and similar element
"--rounded-badge": "2rem", // border radius rounded-badge utility class, used in badges and similar
"--animation-btn": "0.5s", // duration of animation when you click on button
"--animation-input": "0.5s", // duration of animation for inputs like checkbox, toggle, radio, etc
"--btn-text-case": "uppercase", // set default text transform for buttons
"--btn-focus-scale": "0.95", // scale transform of button when you focus on it
"--border-btn": "1px", // border width of buttons
"--tab-border": "1px", // border width of tabs
"--tab-radius": "0.5rem", // border radius of tabs
},
},
2022-12-08 04:25:26 +01:00
"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",
],
},
2022-08-15 06:53:14 +02:00
};