-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
119 lines (118 loc) · 3.56 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
screens: {
sm: '575px',
md: '768px',
lg: '1025px',
xl: '1202px',
},
fontFamily: {
display: ['"CalSans-SemiBold"', 'sans-serif'],
body: ['"DM Sans"', 'sans-serif'],
},
container: {
center: true,
padding: '1rem',
},
colors: {
transparent: 'transparent',
current: 'currentColor',
white: '#ffffff',
accent: '#8358FF',
'accent-dark': '#7444FF',
'accent-light': '#9E7CFF',
'accent-lighter': '#B9A0FF',
'light-base': '#F5F8FA',
green: '#10b981',
orange: '#FEB240',
red: '#EF4444',
blue: '#428AF8',
brand: {
base: '#5A5D79',
50: '#F4F4F6',
100: '#E7E8EC',
200: '#C4C5CF',
300: '#A1A2B3',
400: '#7D7F96',
500: '#5A5D79',
600: '#363A5D',
700: '#131740',
800: '#101436',
900: '#0D102D',
},
},
boxShadow: {
none: 'none',
sm: '0px 1px 2px 0px rgba(13, 16, 45, 0.1)',
base: '0px 1px 2px -1px rgba(13, 16, 45, 0.1), 0px 2px 4px 0px rgba(13, 16, 45, 0.1)',
md: '0px 2px 4px -2px rgba(13, 16, 45, 0.1), 0px 4px 6px -1px rgba(13, 16, 45, 0.1)',
lg: '0px 4px 6px -4px rgba(13, 16, 45, 0.1), 0px 10px 15px -3px rgba(13, 16, 45, 0.1)',
xl: '0px 8px 10px -6px rgba(13, 16, 45, 0.1), 0px 20px 25px -5px rgba(13, 16, 45, 0.1)',
'2xl': '0px 25px 50px -12px rgba(13, 16, 45, 0.1), 0px 12px 24px 0px rgba(13, 16, 45, 0.1)',
'accent-volume':
'5px 5px 10px rgba(108, 106, 213, 0.25), inset 2px 2px 6px #A78DF0, inset -5px -5px 10px #6336E4',
'white-volume':
'5px 5px 10px rgba(108, 106, 212, 0.25), inset 2px 2px 6px #EEF1F9, inset -5px -5px 10px #DFE3EF',
},
fontSize: {
xs: ['0.75rem', { lineHeight: 'normal' }],
'2xs': ['0.8125rem', { lineHeight: 'normal' }],
sm: ['0.875rem', { lineHeight: 'normal' }],
base: ['1rem', { lineHeight: 'normal' }],
lg: ['1.25rem', { lineHeight: 'normal' }],
xl: ['1.5rem', { lineHeight: 'normal' }],
'2xl': ['1.75rem', { lineHeight: 'normal' }],
'3xl': ['2rem', { lineHeight: 'normal' }],
'4xl': ['2.25rem', { lineHeight: 'normal' }],
'5xl': ['2.5rem', { lineHeight: 'normal' }],
'6xl': ['3.5rem', { lineHeight: 'normal' }],
'7xl': ['4.25rem', { lineHeight: 'normal' }],
},
borderRadius: {
none: '0',
sm: '0.125rem',
DEFAULT: '0.25rem',
DEFAULT: '4px',
md: '0.375rem',
lg: '0.5rem',
full: '9999px',
large: '12px',
},
extend: {
backgroundImage: {
hero: "url('/images/cover.jpeg')",
},
borderRadius: {
'2lg': '0.625rem',
},
transitionProperty: {
height: 'height',
width: 'width',
},
animation: {
fly: 'fly 5s cubic-bezier(0.75, 0.06, 0.45, 0.80) infinite',
heartBeat: 'heartBeat 1s cubic-bezier(0.75, 0.02, 0.31, 0.87) infinite',
progress: 'progress 6s linear',
},
keyframes: {
fly: {
'0%, 100%': { transform: 'translateY(5%)' },
'50%': { transform: 'translateY(0)' },
},
heartBeat: {
'0%, 40%, 80%, 100%': { transform: 'scale(1.1)' },
'20%, 60%': { transform: 'scale(.8)' },
},
progress: {
'0%': { width: '0%' },
'100%': { width: '100%' },
},
},
},
namedGroups: ['dropdown'],
},
plugins: [],
};