-
Notifications
You must be signed in to change notification settings - Fork 22
/
tailwind.config.cjs
52 lines (51 loc) · 1.16 KB
/
tailwind.config.cjs
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
51
52
const defaultTheme = require('tailwindcss/defaultTheme')
const { iconsPlugin, getIconCollections } = require('@egoist/tailwindcss-icons')
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{vue,ts}'],
theme: {
fontFamily: {
sans: [
// Windows
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
// macOS
'system-ui',
// Linux
'Ubuntu',
'Cantarell',
'Noto Sans',
// Fallbacks
'Helvetica Neue',
'Arial',
'sans-serif',
// Emoji fonts
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
mono: [
// Windows
'Cascadia Code',
'Consolas',
// macOS
'Menlo',
// Linux
'Ubuntu Mono',
'DejaVu Sans Mono',
// Fallbacks
'Courier New',
'monospace',
],
serif: [...defaultTheme.fontFamily.serif],
},
},
plugins: [
iconsPlugin({
// Collections: https://icones.js.org/
collections: getIconCollections(['mdi']),
}),
],
}