-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.cjs
91 lines (90 loc) · 2.34 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
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
screens: {
'brand-lg': '730px',
'brand-md': '480px',
},
colors: {
brand: {
white: '#FFFFFF',
violet: {
DEFAULT: '#7C5DFA',
ghost: '#F9FAFE',
highlight: '#DFE3FA',
light: '#9277FF',
muted: '#7E88C3',
},
red: {
DEFAULT: '#EC5757',
light: '#FF9797',
},
orange: {
DEFAULT: '#FF8F00',
ghost: 'rgba(255, 143, 0, 0.0571)',
},
green: {
DEFAULT: '#33D69F',
ghost: 'rgba(51, 214, 159, 0.0571)',
},
gray: {
'light-ghost': 'rgba(223, 227, 250, 0.0571)',
dark: '#1E2139',
DEFAULT: '#373B53',
ghost: 'rgba(55, 59, 83, 0.0571)',
light: '#494E6E',
muted: '#252945',
},
text: {
DEFAULT: '#0C0E16',
light: '#858BB2',
muted: '#888EB0',
},
bg: {
dark: '#141625',
DEFAULT: '#F8F8FB',
'dark-ghost': 'rgba(0, 0, 0, 0.4984)',
},
},
},
boxShadow: {
'brand-md': '0px 10px 10px -10px rgba(72, 84, 159, 0.100397)',
'brand-lg': '0px 10px 20px rgba(72, 84, 159, 0.25)',
},
fontSize: {
xs: [
'11px',
{ lineHeight: '18px', fontWeight: '500', letterSpacing: '-0.23px' },
],
sm: [
'12px',
{ lineHeight: '15px', fontWeight: '500', letterSpacing: '-0.25px' },
],
base: [
'16px',
{ lineHeight: '24px', fontWeight: '700', letterSpacing: '-0.8px' },
],
lg: [
'20px',
{ lineHeight: '22px', fontWeight: '500', letterSpacing: '-0.63px' },
],
xl: [
'32px',
{ lineHeight: '36px', fontWeight: '500', letterSpacing: '-1px' },
],
},
fontFamily: {
sans: [
'Spartan',
'Prevent Layout Shift',
...defaultTheme.fontFamily.sans,
],
},
},
},
plugins: [],
};