-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
59 lines (59 loc) · 1.3 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./app/*",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
inter: ['Inter', 'sans-serif'],
helvetica: ['Helvetica', 'Arial', 'sans-serif'],
},
screens: {
'3xl': '1920px',
},
colors: {
ssw: {
red: '#CC4141',
charcoal: '#333333'
}
},
},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
function ({ addComponents }) {
addComponents({
// Variant styles
'.solidRed': {
backgroundColor: '#CC4141',
color: '#FFFFFF',
},
'.solidWhite': {
backgroundColor: '#FFFFFF',
color: '#000000',
border: '1px solid #000000',
},
'.outlinedWhite': {
color: '#FFFFFF',
border: '1px solid #FFFFFF',
},
// Size styles
'.small': {
padding: '0.25rem 0.5rem',
fontSize: '0.875rem',
},
'.medium': {
padding: '0.5rem 1rem',
fontSize: '1rem',
},
'.large': {
padding: '0.75rem 1.5rem',
fontSize: '1.125rem',
},
});
},
],
};