-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
65 lines (65 loc) · 1.85 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
typography: theme => ({
DEFAULT: {
css: {
code: {
borderRadius: theme("borderRadius.sm"),
fontWeight: theme("fontWeight.normal"),
fontSize: theme("fontSize.xs"),
"&::before": {
content: '"" !important',
},
"&::after": {
content: '"" !important',
},
},
},
},
}),
colors: {
"theme-primary": "var(--primary)",
"theme-secondary": "var(--secondary)",
"theme-tertiary": "var(--tertiary)",
"theme-background": "var(--background)",
"theme-surface": "var(--surface)",
"theme-error": "var(--error)",
"theme-on-primary": "var(--on-primary)",
"theme-on-secondary": "var(--on-secondary)",
"theme-on-background": "var(--on-background)",
"theme-on-surface": "var(--on-surface)",
"theme-on-error": "var(--on-error)",
"theme-shadow": "var(--shadow)",
},
fontFamily: {
"space-mono-bold": ["Space Mono Bold", "sans-serif"],
"cascadia-code": ["Cascadia Code", "sans-serif"],
workSans: ["WorkSans", "sans-serif"],
},
screens: {
wide: "1600px",
},
},
},
plugins: [require("@tailwindcss/typography"), require("daisyui")],
daisyui: {
themes: [
{
light: {
...require("daisyui/src/colors/themes")["[data-theme=light]"],
".tooltip": {
"--tooltip-text-color": "var(--background)",
"--tooltip-color": "var(--surface)",
},
},
},
],
},
}