-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
117 lines (116 loc) · 2.96 KB
/
Copy pathtailwind.config.ts
File metadata and controls
117 lines (116 loc) · 2.96 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
import type { Config } from 'tailwindcss';
const defaultTheme = 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}',
// The type roles live here, so their classes have to be scanned too.
'./src/lib/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
blue1: '#007AFF',
blue2: '#007AFF',
blue3: '#558EC2',
blue4: '#9EBEDC',
blue5: '#E7EFF6',
orange: '#FE6A5A',
yellow: '#FDE895',
originalYellow: '#FCC552',
white: '#F8FAFC',
black: '#121212',
},
fontSize: {
xs: '12px',
sm: '14px',
md: '16px',
lg: '18px',
xl: '24px',
// Every step is a plain size. Weight, leading and tracking belong to the
// type roles in src/lib/typography.ts, not to the size token.
'2xl': '32px',
'3xl': '48px',
'4xl': '64px',
'5xl': '72px',
'6xl': '90px',
},
spacing: {
'0': '0px',
'4': '4px',
'8': '8px',
'20': '20px',
'24': '24px',
'28': '28px',
'32': '32px',
'36': '36px',
},
fontFamily: {
...defaultTheme.fontFamily,
body: ['var(--font-body)'],
pixel: ['var(--font-pixel)'],
},
fontWeight: {
body: '400',
heading: '700',
bold: '700',
},
screens: {
sm: '480px',
md: '720px',
lg: '1025px',
xl: '1440px',
},
transitionDuration: {
'350': '350ms',
},
borderRadius: {
input: '3px',
},
borderWidth: {
input: '2px',
},
height: {
input: '40px',
},
placeholderColor: {
input: '#000015',
},
},
},
plugins: [require('@tailwindcss/typography'), require('daisyui')],
daisyui: {
// themes: [
// {
// myTheme: {
// ...require('daisyui/src/theming/themes')['light'],
// primary: '#FE6A5A',
// 'primary-focus': '#FDE895',
// 'primary-content': '#F8FAFC',
// secondary: '#0C5DA8',
// 'secondary-focus': '#084176',
// 'secondary-content': '#F8FAFC',
// accent: '#FCC552',
// 'accent-focus': '#FDE895',
// 'accent-content': '#000015',
// neutral: '#F8FAFC',
// 'neutral-focus': '#E7EFF6',
// 'neutral-content': '#000015',
// 'base-100': '#F8FAFC',
// 'base-200': '#E7EFF6',
// 'base-300': '#9EBEDC',
// 'base-content': '#000015',
// info: '#558EC2',
// success: '#558EC2',
// warning: '#FCC552',
// error: '#FE6A5A',
// fontFamily: {
// base: 'var(--font-body)',
// },
// },
// },
// ],
},
};
export default config;