Env: Update tailwind config + some other plugins
This commit is contained in:
@ -1,8 +1,37 @@
|
||||
import daisyui from "daisyui";
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
content: ["./src/**/*.{html,js,svelte,ts}"],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
plugins: [daisyui],
|
||||
daisyui: {
|
||||
logs: false,
|
||||
themes: [
|
||||
{
|
||||
formula11: {
|
||||
primary: "#F8D7DA",
|
||||
secondary: "#FFF3CD",
|
||||
accent: "#D1E7DD",
|
||||
neutral: "#E8E8E8",
|
||||
error: "#DC3545",
|
||||
warning: "#FFC107",
|
||||
success: "#198754",
|
||||
"base-100": "#FFFFFF",
|
||||
|
||||
"--rounded-box": "1rem", // border radius rounded-box utility class, used in card and other large boxes
|
||||
"--rounded-btn": "0.35rem", // border radius rounded-btn utility class, used in buttons and similar element
|
||||
"--rounded-badge": "1.9rem", // border radius rounded-badge utility class, used in badges and similar
|
||||
"--animation-btn": "0.25s", // duration of animation when you click on button
|
||||
"--animation-input": "0.2s", // duration of animation for inputs like checkbox, toggle, radio, etc
|
||||
"--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
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user