-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
69 lines (68 loc) · 1.63 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
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/pages/**/*.{js,ts,jsx,tsx}', './src/components/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
industry: ['Industry', ...defaultTheme.fontFamily.sans],
proximaNova: ['Proxima Nova', ...defaultTheme.fontFamily.sans],
},
fontSize: {
'1.5xl': '1.375rem', // 22px
'2.5xl': '1.75rem', // 28px
'3xl': '2rem', // 32px
'6.25xl': '4rem', // 64px
},
keyframes: {
// Dialog
'fade-in': {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
'fade-out': {
'0%': { opacity: 1 },
'100%': { opacity: 0 },
},
},
animation: {
// Dialog
'fade-in': 'fade-in 0.2s ease',
'fade-out': 'fade-out 0.2s ease',
},
screens: {
'3xl': '2160px',
},
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: {
100: '#F8F8F9',
200: '#CCD4E2',
300: '#97A3B7',
400: '#4A5465',
450: '#343A47',
475: '#373E4B',
500: '#292E38',
550: '#252932',
600: '#1E2229',
},
yellow: {
500: '#FAA806',
550: '#EE9F04',
600: '#BC7E03',
},
red: '#EF4100',
},
},
plugins: [
require('@tailwindcss/forms'),
require('tailwindcss-radix')({
variantPrefix: 'rdx',
}),
],
};