-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
50 lines (49 loc) · 1.2 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}"
],
theme: {
extend: {
colors: {
'orange': "#D37116",
'dark-blue': "#001858",
'white': "#ffffff"
},
fontFamily: {
'montserrat': ["Montserrat", "sans-serif"]
},
textShadow: {
'default': '2px 2px 4px rgba(0, 0, 0, 0.10)',
'md': '2px 2px 5px rgba(0, 0, 0, 0.15)',
'lg': '3px 3px 8px rgba(0, 0, 0, 0.20)',
'xl': '4px 4px 10px rgba(0, 0, 0, 0.25)',
}
},
},
variants: {
extend: {
textShadow: ['responsive', 'hover', 'focus'],
},
},
plugins: [
function ({ addUtilities }) {
const newUtilities = {
'.text-shadow': {
textShadow: '2px 2px 4px rgba(0, 0, 0, 0.10)',
},
'.text-shadow-md': {
textShadow: '2px 2px 5px rgba(0, 0, 0, 0.15)',
},
'.text-shadow-lg': {
textShadow: '3px 3px 8px rgba(0, 0, 0, 0.20)',
},
'.text-shadow-xl': {
textShadow: '4px 4px 10px rgba(0, 0, 0, 0.25)',
},
}
addUtilities(newUtilities, ['responsive', 'hover'])
}
],
}