-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
60 lines (59 loc) · 1.96 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
// Background Colors
// TODO: Develop a better naming scheme - dont name after color because theme change
'color-1': '#0f3b26', // Main Green
'color-2': '#f9f7f7', // NavBar Off White
'color-3': '#222', // Dark Gray
'txt-1': '#fff',
'txt-4': '#ddd',
'active-1': '#4db6ac', // TODO: Decide on a color for this
'hover-1': '#4db6ac', // TODO: Decide on a color for this
'hover-2': '#89B4FA', // TODO: Decide on a color for this
'event-banner': '#5E18EB', // Event Banner Background
'newsItem-color': '#135b3f', // a shade of green
'event-content': '#403c3c',
socials: '#7BD4CB', // Social
},
keyframes: {
hackathonModalFloat: {
'0%, 100%': {
transform: 'translate-y-0 rotate-3',
'-webkit-transform': 'translateY(0) rotate(3deg)',
},
'50%': {
transform: '-translate-y-5 rotate-0',
'-webkit-transform': 'translateY(-1.25rem) rotate(0deg)',
},
},
},
animation: {
hackathonModalFloat: 'hackathonModalFloat 5s ease-in-out infinite',
},
spacing: {
'136': '30rem',
},
aspectRatio: {
event: '2 / 1', // This controls the aspect ratio of event elements, do not touch you will probably break stuff.
},
boxShadow: {
// Box Shadow - based on https://codepen.io/sdthornton/pen/wBZdXq
l1: '0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)',
l1Hover: '0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)',
},
gridAutoColumns: {
'4': 'minmax(1rem, 1rem)',
},
},
},
plugins: [],
};
export default config;