-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
97 lines (96 loc) · 2.08 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
const plugin = require('tailwindcss/plugin');
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
colors: {
white: '#FFFFFF',
transparentblue: '#2447f779',
blue: '#2446f7',
black: '#000000',
transparentblack1: '#000000BB',
transparentblack0: '#00000011',
darkblue: '#091856',
navyblue: '#0f2898',
gray: '#e2e2e2',
lightblue: '#0092ff',
transparent: 'transparent'
},
extend: {
fontFamily: {
poppins: ['Poppins', 'sans-serif']
},
textShadow: {
heavy: '2px 2px 2px rgba(0, 0, 0, 1)',
DEFAULT: '2px 2px 4px rgba(0, 0, 0, 0.5)'
},
height: {
// 64 px for navbar
screen: 'calc(100vh - 64px)'
},
boxShadow: {
xs: '3px 3px black',
sm: '4px 4px black',
md: '8px 8px black',
lg: '10px 10px black'
},
dropShadow: {
md: '0px 0px 2px #091856',
hover: '0px 6px 2px #091856'
},
backgroundImage: {
pixel: "url('/common/pixel-overlay.png')",
'pixel-dark': "url('/common/pixel-overlay-dark.png')",
'pixel-white': "url('/common/pixel-overlay-white.png')",
'pixel-large': "url('/common/pixel-overlay-large.png')"
},
backgroundSize: {
pixel: '7px',
'pixel-lg': '14px'
},
keyframes: {
scrolling: {
'0%': {
backgroundPosition: '0% 0%'
},
'50%': {
backgroundPosition: '50% 50%'
},
'100%': {
backgroundPosition: '100% 100%'
}
},
wiggle: {
'0%, 100%': { transform: 'rotate(0deg)' },
'25%': { transform: 'rotate(1deg)' },
'50%': { transform: 'rotate(-1deg)' },
'75%': { transform: 'rotate(1deg)' }
}
},
animation: {
scroll: 'scrolling 120s infinite linear',
wiggle: 'wiggle 1s ease-in-out infinite'
},
typography: {
DEFAULT: {
css: {
maxWidth: '100%'
}
}
}
}
},
plugins: [
require('@tailwindcss/typography'),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value
})
},
{ values: theme('textShadow') }
);
})
]
};