-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
37 lines (36 loc) · 910 Bytes
/
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
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin')
module.exports = {
content: [
'./src/**/*.{js,ts,jsx,tsx}',
'./app/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
fontFamily: {
serif: ['var(--font-garamond)'],
sans: ['var(--font-varela)'],
body: ['var(--font-eb-garamond)'],
},
textShadow: {
// 1px 1px 0 rgb(0 0 0 / 25%)
DEFAULT: '-0.33px -0.33px 1px rgb(0 0 0 / 25%)', // change to var(--tw-some-var)
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') },
)
}),
require('tailwind-scrollbar-hide'),
],
}