-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
109 lines (108 loc) · 2.61 KB
/
tailwind.config.cjs
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
/* eslint-disable @typescript-eslint/no-var-requires */
const { calc } = require('caniuse-lite/data/features')
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
corePlugins: {
container: false
},
theme: {
extend: {
colors: {
'primary-F94545': '#F94545',
'primary-67B044': '#67B044',
'primary-0071DC': '#0071DC',
'primary-7644E1': '#7644E1',
'primary-FFB700': '#FFB700',
'primary-1A162E': '#1A162E',
'secondary-77DAE6': '#77DAE6',
'secondary-9E9DA8': '#9E9DA8',
'secondary-D2D1D6': '#D2D1D6',
'secondary-EDEDF6': '#EDEDF6',
'secondary-F8F8FB': '#F8F8FB'
},
backgroundColor: {
FAFAFD: '#FAFAFD',
F8F8FB: '#F8F8FB',
EEEEEE: '#EEEEEE',
F6F6F6: '#F6F6F6'
},
borderRadius: {
20: '20px',
16: '16px',
10: '10px',
8: '8px'
}
},
fontFamily: {
'brave-ecom': 'Source Sans Pro, Arial, sans-serif'
},
screens: {
xsm: '420px',
sm: '576px',
md: '768px',
mmd: '868px',
lg: '992px',
mlg: '1120px'
}
},
plugins: [
plugin(function ({ addComponents, theme }) {
addComponents({
'.container': {
maxWidth: theme('columns.7xl'),
marginLeft: 'auto',
marginRight: 'auto',
paddingLeft: theme('spacing.4'),
paddingRight: theme('spacing.4')
},
'.b-sd': {
boxShadow: '0px 20px 60px 10px rgba(237, 237, 246, 0.2)'
},
'.fs-30': {
fontSize: '30px',
lineHeight: '44px'
},
'.fs-26': {
fontSize: '26px',
lineHeight: '32px'
},
'.fs-22': {
fontSize: '22px',
lineHeight: '32px'
},
'.fs-20': {
fontSize: '20px',
lineHeight: '32px'
},
'.fs-18': {
fontSize: '18px',
lineHeight: '26px'
},
'.fs-16': {
fontSize: '16px',
lineHeight: '24px'
},
'.fs-14': {
fontSize: '14px',
lineHeight: '22px'
},
'.fs-12': {
fontSize: '12px',
lineHeight: '18px'
},
'.fs-10': {
fontSize: '10px',
lineHeight: '16px'
},
'.fs-9': {
fontSize: '9px',
lineHeight: '14px'
}
})
}),
require('@tailwindcss/line-clamp'),
require('tailwind-scrollbar')({ nocompatible: true })
]
}