-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
34 lines (33 loc) · 974 Bytes
/
tailwind.config.mjs
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
import containerQueriesPlugin from '@tailwindcss/container-queries'
import formsPlugin from '@tailwindcss/forms'
import plugin from 'tailwindcss/plugin'
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/(app|components|pages)/**/*.tsx', './src/*/components/**/*.tsx'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
icon: [
'var(--material-icons)',
{ fontVariationSettings: "'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48" },
],
'icon-outline': [
'var(--material-icons)',
{ fontVariationSettings: "'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48" },
],
},
},
},
plugins: [
containerQueriesPlugin,
formsPlugin,
plugin(({ addUtilities }) => {
addUtilities({
'.text-wrap': { 'text-wrap': 'wrap' },
'.text-nowrap': { 'text-wrap': 'nowrap' },
'.text-balance': { 'text-wrap': 'balance' },
})
}),
],
}