forked from UTDNebula/planner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
139 lines (136 loc) · 3.04 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
// eslint-disable-next-line @typescript-eslint/no-var-requires
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
defaultText: '#1C2A6D', // use this as override if text color not working
general: {
primary: '#4659A7',
secondary: '#BCC9FD',
accentOne: '#FBBB78',
accentTwo: '#A7EDE9',
},
primary: {
light: '#BCC9FD',
DEFAULT: '#7486CE',
dark: '#4659A7',
},
secondary1: {
light: '#FFE2C5',
DEFAULT: '#FFCF9D',
dark: '#FBBB78',
},
secondary2: {
light: '#A7EDE9',
DEFAULT: '#69CCC6',
dark: '#4BA6A0',
},
},
fontSize: {
headline1: [
'96px',
{
letterSpacing: '-1.5px',
},
],
headline2: [
'60px',
{
letterSpacing: '-0.5px',
},
],
headline3: [
'48px',
{
letterSpacing: '0px',
},
],
headline4: [
'34px',
{
letterSpacing: '0.25px',
},
],
headline5: [
'24px',
{
letterSpacing: '0px',
},
],
headline6: [
'20px',
{
letterSpacing: '0.15px',
},
],
subtitle1: [
'16px',
{
letterSpacing: '0.15px',
},
],
subtitle2: [
'14px',
{
letterSpacing: '0.1px',
},
],
body1: [
'16px',
{
letterSpacing: '0.5px',
},
],
body2: [
'14px',
{
letterSpacing: '0.25px',
},
],
button: [
'14px',
{
letterSpacing: '1.25px',
},
],
caption: [
'12px',
{
letterSpacing: '0.4px',
},
],
overline: [
'10px',
{
letterSpacing: '1.5px',
},
],
},
keyframes: {
fadeIn: {
'0%': { transform: 'translateX(1rem)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '100' },
},
fadeDown: {
'0%': { transform: 'translateY(-1rem)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '100' },
},
},
animation: {
intro: 'fadeIn 0.75s ease-in-out',
fadeDown: 'fadeDown 0.75s ease-in-out',
},
gridTemplateColumns: {
onboardingHonors: '40px minmax(0, 1fr)',
},
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
roboto: ['Roboto', 'ui-sans-serif', 'system-ui'],
jost: ['Jost', 'Roboto', 'ui-sans-serif', 'system-ui'],
},
},
plugins: [],
};