cooked/tailwind.config.js

58 lines
2.2 KiB
JavaScript
Raw Normal View History

2024-10-22 15:18:23 +02:00
/** @type {import('tailwindcss').Config} */
2024-10-23 16:02:21 +02:00
module.exports = {
2024-10-30 16:59:15 +01:00
content: [
"./templates/**/*.html",
"./templates/**/*.jinja",
],
2024-10-22 15:18:23 +02:00
theme: {
extend: {
colors: {
primary: '#FF6363',
secondary: {
100: '#E2E2D5',
200: '#888883'
}
},
fontFamily: {
body: ['Nunito']
2024-10-25 21:27:03 +02:00
},
size: {
'600': '37.5rem',
'800': '50rem',
'1000': '62.5rem',
'1200': '75rem',
},
width: {
'600': '37.5rem',
'800': '50rem',
'1000': '62.5rem',
'1200': '75rem',
},
2024-10-22 15:18:23 +02:00
},
},
variants: {
extend: {},
},
2024-10-23 16:02:21 +02:00
plugins: [
require('daisyui'),
2024-10-25 17:13:01 +02:00
require('postcss-import'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/nesting'),
require('@tailwindcss/typography'),
2024-10-25 21:27:03 +02:00
require('@tailwindcss/forms')({
strategy: 'base', // only generate global styles
strategy: 'class', // only generate classes
}),
2024-10-23 16:02:21 +02:00
],
daisyui: {
2024-10-25 21:32:12 +02:00
themes: ['corporate', 'dark'], // false: only light + dark | true: all themes | array: specific themes like this ["light", "dark", "cupcake"]
2024-10-30 13:15:01 +01:00
darkTheme: "dark", // name of one of the included themes for dark mode
2024-10-23 16:02:21 +02:00
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
},
};