style: flipping cards as background

This commit is contained in:
Riccardo
2023-12-16 23:27:07 +01:00
parent 9ab92751bd
commit d0028457ef
13 changed files with 284 additions and 32 deletions

View File

@@ -18,12 +18,6 @@ module.exports = {
}
},
extend: {
backgroundImage: {
'custom-background': "url('/background.jpg')"
},
backgroundSize: {
'size-cover': '100% auto'
},
colors: {
border: 'hsl(var(--border))',
input: 'hsl(var(--input))',
@@ -72,11 +66,21 @@ module.exports = {
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: 0 }
},
rotate: {
'0%': { transform: 'rotateY(0deg)' },
'100%': { transform: 'rotateY(180deg)' }
},
'rotate-inverse': {
'0%': { transform: 'rotateY(180deg)' },
'100%': { transform: 'rotateY(0deg)' }
}
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out'
'accordion-up': 'accordion-up 0.2s ease-out',
rotate: 'rotate 0.5s linear both',
'rotate-inverse': 'rotate-inverse 0.5s linear both'
},
fontFamily: {
sans: ['var(--font-sans)', ...fontFamily.sans]