forked from novuhq/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
93 lines (92 loc) · 2.25 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
/* eslint-disable import/no-extraneous-dependencies, global-require */
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
corePlugins: {
container: false,
},
theme: {
fontFamily: {
sans: ['Brother-1816', ...defaultTheme.fontFamily.sans],
mono: ['IBM Plex Mono', ...defaultTheme.fontFamily.mono],
},
fontSize: {
xs: ['12px'],
sm: ['14px'],
base: ['16px'],
lg: ['18px'],
xl: ['20px'],
'2xl': ['24px'],
'3xl': ['28px'],
'4xl': ['36px'],
'5xl': ['40px'],
'6xl': ['48px'],
'7xl': ['56px'],
'8xl': ['64px'],
},
fontWeight: {
book: 350,
...defaultTheme.fontWeight,
},
colors: ({ colors }) => ({
inherit: colors.inherit,
current: colors.current,
transparent: colors.transparent,
black: '#000000',
white: '#ffffff',
primary: {
1: '#00D5FF',
},
secondary: {
1: '#FF33DE',
2: '#FFE14D',
3: '#00E585',
},
gray: {
1: '#0D0D0D',
2: '#1A1A1A',
3: '#262626',
4: '#333333',
5: '#4D4D4D',
6: '#666666',
7: '#808080',
8: '#999999',
9: '#CCCCCC',
10: '#E6E6E6',
},
yellow: {
DEFAULT: '#FFE27D',
},
purple: {
DEFAULT: '#9092FF',
},
}),
backgroundImage: {
'input-gradient':
'linear-gradient(268.91deg, #FFBB33 14.72%, #FFFFFF 51.94%, #E300BD 82.34%, #FF006A 94.81%)',
'hero-gradient': "url('components/pages/hacktoberfest/hero/images/background.svg')",
'blue-gradient': 'linear-gradient(135deg, #FFE27D 14.04%, #64E3FF 50.5%, #9192FF 86.21%)',
...defaultTheme.backgroundImage,
},
screens: {
'2xl': { max: '1919px' },
xl: { max: '1535px' },
lg: { max: '1279px' },
md: { max: '1023px' },
sm: { max: '767px' },
xs: { max: '359px' },
},
extend: {
lineHeight: {
denser: '1.125',
},
spacing: {
18: '4.5rem',
22: '5.75rem',
30: '7.5rem',
34: '8.5rem',
},
},
},
plugins: [require('tailwindcss-safe-area'), require('@tailwindcss/line-clamp')],
};