-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
39 lines (37 loc) · 915 Bytes
/
tailwind.config.mjs
File metadata and controls
39 lines (37 loc) · 915 Bytes
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
import { addDynamicIconSelectors } from '@iconify/tailwind'
import forms from '@tailwindcss/forms'
import typography from '@tailwindcss/typography'
import plugin from 'tailwindcss/plugin'
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
nunito: ['Nunito', 'sans-serif'],
amita: ['Amita', 'serif'],
},
textShadow: {
sm: '0 1px 2px var(--tw-shadow-color)',
DEFAULT: '0 2px 4px var(--tw-shadow-color)',
lg: '0 8px 16px var(--tw-shadow-color)',
},
},
},
plugins: [
forms({ strategy: 'class' }),
typography(),
addDynamicIconSelectors(),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': value => ({
textShadow: value,
}),
},
{ values: theme('textShadow') },
)
}),
],
}