Files
evilspins/tailwind.config.js
valere 7be09dd12d
All checks were successful
Deploy App / build (push) Successful in 34s
Deploy App / deploy (push) Successful in 25s
WIP starbook demo
2026-02-10 07:31:31 +01:00

58 lines
1.2 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./app.vue',
'./error.vue'
],
theme: {
extend: {
boxShadow: {
'2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.5)',
'2xl-custom': '0 0 60px 50px rgba(0, 0, 0, 0.25)'
},
colors: {
esyellow: '#fdec50ff'
},
fontSize: {
xxs: '0.625rem' // 10px par exemple
},
screens: {
'2sm': '320px'
},
transitionDuration: {
2000: '2000ms'
}
}
},
plugins: [
function ({ addUtilities }) {
addUtilities({
'.screen-centered': {
position: 'fixed',
inset: '0',
height: '100dvh',
width: '100dvw',
display: 'grid',
'place-items': 'center'
},
'.debug': {
position: 'fixed',
'z-index': '1000',
top: '16px',
right: '16px',
background: '#9CA3AF',
'border-radius': '16px',
padding: '16px'
},
'.debug > *': {
display: 'block'
}
})
}
]
}