worlabel/frontend/tailwind.config.js

85 lines
2.1 KiB
JavaScript
Raw Permalink Normal View History

2024-08-27 09:46:39 +09:00
/** @type {import('tailwindcss').Config} */
2024-08-27 14:33:10 +09:00
import tailwindcssAnimate from 'tailwindcss-animate';
2024-08-27 09:46:39 +09:00
export default {
2024-08-27 14:33:10 +09:00
darkMode: ['class'],
content: ['./pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}', './src/**/*.{ts,tsx}', './stories/**/*.{ts,tsx}'],
prefix: '',
2024-08-27 09:46:39 +09:00
theme: {
fontFamily: {
sans: [
'Pretendard Variable',
'Pretendard',
'-apple-system',
'BlinkMacSystemFont',
'system-ui',
'Roboto',
'Helvetica Neue',
'Segoe UI',
'Apple SD Gothic Neo',
'Noto Sans KR',
'Malgun Gothic',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'sans-serif',
],
},
2024-08-27 14:33:10 +09:00
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
padding: {
0.5: '0.125rem',
1.5: '0.375rem',
},
2024-08-27 14:33:10 +09:00
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#000',
white: '#fff',
gray: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e6e6e6',
300: '#d9d9d9',
400: '#b3b3b3',
500: '#757575',
600: '#444444',
700: '#383838',
800: '#2c2c2c',
900: '#1e1e1e',
1000: '#111111',
},
primary: '#17f',
primaryHover: '#06c',
},
keyframes: {
'accordion-down': {
from: { height: '0' },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: '0' },
},
2024-09-23 09:13:23 +09:00
'weight-loop': {
'0%': { 'font-weight': '100' },
'50%': { 'font-weight': '900' },
'100%': { 'font-weight': '100' },
},
2024-08-27 14:33:10 +09:00
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
2024-09-23 09:13:23 +09:00
'weight-loop': 'weight-loop 5s infinite',
2024-08-27 14:33:10 +09:00
},
},
2024-08-27 09:46:39 +09:00
},
2024-08-27 14:33:10 +09:00
plugins: [tailwindcssAnimate],
2024-08-27 09:46:39 +09:00
};