-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
46 lines (45 loc) · 1.28 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
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin')
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
dropShadow: {
'3xl': '0 35px 35px rgba(0, 0, 0, 0.25)',
'4xl': [
'0 10px 50px rgba(0, 0, 0, 0.65)'
]
},
filter: {
'text': "drop-shadow(3px 3px 3px var(--colors-lime-500))",
},
textShadow: {
sm: '0 1px 2px rgb(0,0,0,0.4)',
DEFAULT: '0 2px 4px rgb(0,0,0,0.4)',
lg: '0 8px 16px rgb(0,0,0,0.4)',
},
backgroundImage: {
'hero-pattern':
"linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.8)),url('https://cdn.beacons.ai/user_content/axaWeR0asKVRTHo2uxedx5HnC8R2/backgrounds/home/background_ilhadaslendas.png?t=1674843222900')",
'hero-background': "url('/src/assets/hero-img.jpg')",
},
},
clipPath: {
cardClip: 'url(#clipSvg)',
},
},
plugins: [
require('tailwind-clip-path'),
require('tailwind-scrollbar')({ nocompatible: true }),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') }
)
}),
],
}