headplane/tailwind.config.ts

45 lines
875 B
TypeScript
Raw Normal View History

/* eslint-disable @typescript-eslint/naming-convention */
2024-03-25 17:50:58 -04:00
import type { Config } from 'tailwindcss'
import colors from 'tailwindcss/colors'
import animate from 'tailwindcss-animate'
import aria from 'tailwindcss-react-aria-components'
2024-03-25 17:50:58 -04:00
export default {
content: ['./app/**/*.{js,jsx,ts,tsx}'],
theme: {
container: {
center: true,
padding: {
2024-05-15 21:54:40 -04:00
'DEFAULT': '1rem',
'sm': '2rem',
'lg': '4rem',
'xl': '5rem',
'2xl': '6rem',
},
},
2024-04-17 17:42:44 -04:00
extend: {
height: {
2024-05-15 21:54:40 -04:00
editor: 'calc(100vh - 20rem)',
},
colors: {
main: colors.slate,
2024-05-15 21:54:40 -04:00
ui: colors.neutral,
2024-05-11 23:07:24 -04:00
},
keyframes: {
loader: {
from: {
2024-05-15 21:54:40 -04:00
transform: 'translateX(-100%)',
2024-05-11 23:07:24 -04:00
},
to: {
2024-05-15 21:54:40 -04:00
transform: 'translateX(100%)',
},
},
2024-05-11 23:07:24 -04:00
},
animation: {
2024-05-15 21:54:40 -04:00
loading: 'loader 0.8s infinite ease-in-out',
},
},
2024-03-25 17:50:58 -04:00
},
2024-05-15 21:54:40 -04:00
plugins: [animate, aria],
2024-03-25 17:50:58 -04:00
} satisfies Config