-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
89 lines (83 loc) · 2.86 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
/** @type {import('tailwindcss').Config} */
const shadow = '4px 4px 0 rgba(18, 47, 76, 0.25)'
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}', // Note the addition of the `app` directory.
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
// Or if using `src` directory:
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
backgroundImage: {
'hackuta-pattern-transparent':
"url('/images/transparent-pattern-bg.png')",
'hackuta-pattern-red': "url('/images/red-pattern-bg.png')",
'hackuta-pattern-red-2': "url('/images/red-pattern-bg-2.png')",
'hackuta-pattern-red-3': "url('/images/red-pattern-bg-3.png')",
'hackuta-pattern-blue': "url('/images/blue-pattern-bg.png')",
'hackuta-pattern-yellow': "url('/images/yellow-pattern-bg.png')",
'hackuta-pattern-black': "url('/images/black-pattern-bg.png')",
'hackuta-ticket': "url('/images/ticket.svg')",
'hackuta-ticket-red': "url('/images/ticket-red.svg')",
'hackuta-ticket-blue': "url('/images/ticket-blue.svg')",
'hackuta-ticket-yellow': "url('/images/ticket-yellow.svg')",
'hackuta-sqrbg-ruby': "url('/images/backgrounds/rubyred.png')",
'hackuta-sqrbg-fireice': "url('/images/backgrounds/fireice.png')",
'hackuta-sqrbg-seir': "url('/images/backgrounds/seir.png')",
'hackuta-sqrbg-swsh': "url('/images/backgrounds/swsh.png')",
'hackuta-sqrbg-hackuta2022':
"url('/images/backgrounds/hackuta2022.png')",
'hackuta-sqrbg-unregistered':
"url('/images/backgrounds/unregistered.png')",
'hackuta-sqrbg-red': "url('/images/backgrounds/red.png')",
'hackuta-noqrcode': "url('/images/noqrcode.svg')",
},
boxShadow: {
hackuta: shadow,
},
colors: {
'hackuta-black': '#130D08',
'hackuta-beige': '#D2C2A9',
'hackuta-blue': '#2869A9',
'hackuta-darkblue': '#122F4C',
'hackuta-red': '#AF2922',
'hackuta-darkred': '#7A1D18',
'hackuta-yellow': '#F8B92A',
'hackuta-black-60': 'rgba(19, 13, 8, 0.6)',
'hackuta-error': '#D50032',
'event-current': '#28653d',
'event-future': '#007cab',
'event-past': '#494947',
},
dropShadow: {
hackuta: shadow,
},
fontFamily: {
heading: ['var(--font-rhd)', 'sans-serif'],
body: ['var(--font-atkinson)', 'sans-serif'],
mono: ['var(--font-rhm)', 'monospace'],
},
keyFrames: {
'jump-shaking': {
'0%': { transform: 'translateX(0)' },
'25%': { transform: 'translateY(-9px)' },
'35%': { transform: 'translateY(-9px) rotate(17deg)' },
'55%': { transform: 'translateY(-9px) rotate(-17deg)' },
'65%': { transform: 'translateY(-9px) rotate(17deg)' },
'75%': { transform: 'translateY(-9px) rotate(-17deg)' },
'100%': { transform: 'translateY(0) rotate(0)' },
},
},
width: {
15: '3.75rem',
46: '11.5rem',
},
zIndex: {
'100': 100,
},
},
},
plugins: [],
}