forked from TherapEase-CEOS/TherapEase-FE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
141 lines (138 loc) · 3.81 KB
/
tailwind.config.js
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
fontFamily: {
// sans: ['var(--default-font)'],
sans: 'AppleSDGothicNeo',
logo: ['var(--logo-font)'],
},
fontSize: {
title: [
'55px',
{ fontStyle: 'normal', fontWeight: '400', lineHeight: '60px' },
],
landingPageTitle: [
'40px',
{ fontStyle: 'normal', fontWeight: '400', lineHeight: 'normal' },
],
landingPageBody1: [
'30px',
{ fontStyle: 'normal', fontWeight: '500', lineHeight: '45px' },
],
landingPageBody2: [
'24px',
{ fontStyle: 'normal', fontWeight: '400', lineHeight: '40px' },
],
landingPageBody3: [
'22px',
{ fontStyle: 'normal', fontWeight: '300', lineHeight: '40px' },
],
heading1: [
'3.2rem',
{ fontStyle: 'normal', fontWeight: '800', lineHeight: '5.1rem' },
],
heading2: [
'2.6rem',
{ fontStyle: 'normal', fontWeight: '700', lineHeight: '4.2rem' },
],
heading3: [
'2.2rem',
{ fontStyle: 'normal', fontWeight: '600', lineHeight: '3.5rem' },
],
heading4: [
'1.8rem',
{ fontStyle: 'normal', fontWeight: '700', lineHeight: '2.9rem' },
],
body1: [
'1.8rem',
{ fontStyle: 'normal', fontWeight: '600', lineHeight: '2.9rem' },
],
body2: [
'1.6rem',
{ fontStyle: 'normal', fontWeight: '500', lineHeight: '2.5rem' },
],
body3: [
'1.4rem',
{ fontStyle: 'normal', fontWeight: '500', lineHeight: '2.2rem' },
],
body4: [
'1.2rem',
{ fontStyle: 'normal', fontWeight: '500', lineHeight: '2.2rem' },
],
label1: [
'1.2rem',
{ fontStyle: 'normal', fontWeight: '500', lineHeight: '1.2rem' },
],
label2: [
'1.0rem',
{ fontStyle: 'normal', fontWeight: '500', lineHeight: '1.2rem' },
],
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#181818',
yellow: {
20: '#FFFCF0',
100: '#FDF2B4',
120: '#E3C309',
disabled: '#DFD59E',
},
red: { 100: '#FF5757', 10: '#FFEEEE' },
green: {
100: '#2DEF7B',
80: '#79F3AA',
60: '#9AF6BF',
40: '#BCF9D4',
20: '#DCFCE9',
text: '#006026',
},
blue: {
100: '#61D0FF',
80: '#79D7FFCC',
60: '#79D7FF99',
40: '#79D7FF66',
20: '#79D7FF33',
text: '#004C6C',
},
gray: {
9: '#212121',
8: '#737373',
7: '#868686',
6: '#999999',
5: '#ACACAC',
4: '#DCDCDC',
3: '#EFEFEF',
2: '#F7F7F7',
1: '#FCFCFC',
20: '#73737333',
40: '#73737366',
60: '#73737399',
80: '#737373CC',
100: '#737373',
},
background: '#F5F5F5',
},
boxShadow: {
shadow: '0px 4px 14px 0px rgba(0, 0, 0, 0.09)',
},
keyframes: {
'modal-enter': {
from: { opacity: '0', transform: 'translateY(4px) scale(0.95)' },
to: { opacity: '1', transform: 'translateY(0) scale(1)' },
},
'modal-leave': {
from: { opacity: '1', transform: 'translateY(0) scale(1)' },
to: { opacity: '0', transform: 'translateY(4px) scale(0.95)' },
},
},
},
},
plugins: [],
};