generated from halo-dev/theme-modern-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
77 lines (75 loc) · 1.64 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
* @Author: Alkaid([email protected])
* @Date: 2023-07-07 18:00:15
* @LastEditors: Alkaid([email protected])
* @LastEditTime: 2023-07-16 04:35:52
* @FilePath: /theme-crux/tailwind.config.js
* @Description:
*
* Copyright (c) 2023 by Crux, All Rights Reserved.
*/
/** @type {import('tailwindcss').Config} */
const { Icons } = require("tailwindcss-plugin-icons");
module.exports = {
content: ["./templates/**/*.html", "./src/main.ts"],
darkMode: ['class'],
theme: {
extend: {},
fontFamily: {
sans: [
'ui-sans-serif',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Roboto',
'"Helvetica Neue"',
'Arial',
'"Noto Sans"',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
serif: ['ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
mono: [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace',
],
noto_serif: ["Noto Serif SC"],
}
},
plugins: [
require("@tailwindcss/typography"),
Icons(() => ({
tabler: {
includeAll: true,
},
heroicons: {
includeAll: true,
},
uim: {
includeAll: true,
}
})),
],
safelist: [
"prose-sm",
"prose-base",
"prose-lg",
"prose-xl",
"prose-2xl",
"prose-gray",
"prose-slate",
"prose-zinc",
"prose-neutral",
"prose-stone",
],
};