-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
46 lines (45 loc) · 1.69 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
const { fontFamily } = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
'terminal-green': 'rgba(74, 246, 38, 1)', // base UI green
'terminal-green-75': 'rgba(74, 246, 38, 0.75)', // 70% opacity
'terminal-green-50': 'rgba(74, 246, 38, 0.5)', // 50% opacity
'terminal-green-25': 'rgba(74, 246, 38, 0.25)', // 25% opacity
'terminal-yellow': 'rgba(255, 176, 0, 1)', // base UI yellow
'terminal-yellow-75': 'rgba(255, 176, 0, 0.75)', // 70% opacity
'terminal-yellow-50': 'rgba(255, 176, 0, 0.5)', // 50% opacity
'terminal-yellow-25': 'rgba(255, 176, 0, 0.25)', // 50% opacity
'terminal-black': 'rgba(21, 21, 21, 1)', // 50% opacity,
'cartridge': 'rgba(243, 205, 98, 1)',
},
fontFamily: {
mono: ['var(--font-vt323)', ...fontFamily.mono],
},
animation: {
pulseFast: 'pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1) infinite',
cardToFront: 'cardToFront 0.5s forwards',
cardToBack: 'cardToBack 0.5s forwards',
},
keyframes: {
cardToFront: {
'0%': { transform: 'translateX(100%) translateY(-50%) scale(0.8)', opacity: '0' },
'100%': { transform: 'translateX(-50%) translateY(-50%) scale(1)', opacity: '1' },
},
cardToBack: {
'0%': { transform: 'translateX(-50%) translateY(-50%) scale(1)', opacity: '1' },
'100%': { transform: 'translateX(-200%) translateY(-50%) scale(0.8)', opacity: '0' },
},
},
screens: {
'3xl': '2000px',
},
},
},
plugins: [],
}