forked from zzzi-ori/watermelon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
80 lines (79 loc) ยท 1.74 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./src/**/*.{js,ts,vue,jsx,tsx}',
],
theme: {
extend: {
fontSize: {
'title': [
'2.25rem', {
lineHeight: '2.25rem',
fontWeight: '900',
},
],
'subtitle': [
'1.125rem', {
lineHeight: '',
fontWeight: '700',
},
],
'body-r': [
'1rem', // 16px
{
lineHeight: '24px',
fontWeight: '400',
}],
'body-b': [
'1rem', // 16px
{
lineHeight: '24px',
fontWeight: '700',
}],
'caption-r': [
'0.75rem', // 12px
{
lineHeight: '',
fontWeight: '400',
}],
'caption-b': [
'0.75rem', // 12px
{
lineHeight: '',
fontWeight: '700',
}],
'banner-r': [
'0.875rem', // 12px
{
lineHeight: '',
fontWeight: '500',
}],
'banner-b': [
'0.875rem', // 12px
{
lineHeight: '',
fontWeight: '900',
}],
},
colors: {
primary: '#FEBE31',
red: '#FF6C6C',
'light-green': '#8ACFA7',
green: '#66BE8B',
'dark-green': '#489B6D',
gray: '#CDCDCD',
'dark-gray': '#7E7E7E',
transBlack: {
'10': 'rgba(0, 0, 0, 0.1)',
'15': 'rgba(0, 0, 0, 0.15)',
'50': 'rgba(0, 0, 0, 0.5)',
'90': 'rgba(0, 0, 0, 0.9)',
},
'gradient-yellow': '#FFEC45',
'gradient-pink': '#FF8181',
},
},
},
plugins: [],
}