-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
74 lines (73 loc) · 2.78 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import type { Config } from 'tailwindcss';
const { fontFamily } = require('tailwindcss/defaultTheme');
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
primary: '#ededed', // 여기에 원하는 'primary' 색상 코드를 입력
secondary: '#f5f5f5', // 'secondary' 색상 코드
mute: '#171717',
neutral: {
50: '#fafafa',
100: '#f5f5f5',
150: '#ededed',
200: '#e5e5e5',
250: '#dedede',
300: '#d4d4d4',
350: '#b5b5b5',
400: '#a3a3a3',
450: '#8a8a8a',
470: '#808080',
500: '#737373',
600: '#525252',
700: '#404040',
750: '#363636',
800: '#262626',
900: '#171717',
},
},
dropShadow: {
base: '0px 0px 10px rgba(234, 179, 8, 0.3)',
'base-bold': '0px 0px 7px rgba(234, 179, 8, 0.7)',
},
fontFamily: {
sans: ['var(--font-sans)', ...fontFamily.sans],
spoqa: ['var(--font-spoqa)', ...fontFamily.sans],
mono: ['var(--font-mono)', ...fontFamily.mono],
},
typography: (theme: (arg0: string) => any) => ({
DEFAULT: {
css: {
'h2,h3,h4': {
'scroll-margin-top': 'var(--scroll-mt)',
},
'hr, thead, tbody tr': { borderColor: theme('colors.neutral.300') },
'blockquote p:first-of-type::before': false,
'blockquote p:last-of-type::after': false,
'code::before': false,
'code::after': false,
},
},
dark: {
css: {
blockquote: {
borderLeftColor: theme('colors.neutral.700'),
color: theme('colors.neutral.300'),
},
'hr, thead, tbody tr': { borderColor: theme('colors.neutral.700') },
'ol li::marker, ul li::marker': {
color: theme('colors.neutral.500'),
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};
export default config;