-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtailwind.config.js
More file actions
52 lines (52 loc) · 1.65 KB
/
tailwind.config.js
File metadata and controls
52 lines (52 loc) · 1.65 KB
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./_includes/**/*.html',
'./_layouts/**/*.html',
'./*.html',
'./FAQ/**/*.html',
'./about/**/*.html',
'./contact/**/*.html',
'./linux/**/*.html',
'./assets/js/**/*.js',
],
safelist: [
'diff-added',
'diff-removed',
'diff-changed',
],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif'],
mono: ['JetBrains Mono', 'Fira Code', 'Consolas', 'monospace'],
},
colors: {
surface: {
DEFAULT: 'rgb(var(--color-surface) / <alpha-value>)',
alt: 'rgb(var(--color-surface-alt) / <alpha-value>)',
raised: 'rgb(var(--color-surface-raised) / <alpha-value>)',
},
primary: {
DEFAULT: 'rgb(var(--color-primary) / <alpha-value>)',
hover: 'rgb(var(--color-primary-hover) / <alpha-value>)',
subtle: 'rgb(var(--color-primary-subtle) / <alpha-value>)',
text: 'rgb(var(--color-primary-text) / <alpha-value>)',
},
heading: 'rgb(var(--color-text-heading) / <alpha-value>)',
body: 'rgb(var(--color-text-body) / <alpha-value>)',
muted: 'rgb(var(--color-text-muted) / <alpha-value>)',
'accent-bg': 'rgb(var(--color-accent-bg) / <alpha-value>)',
},
borderColor: {
DEFAULT: 'rgb(var(--color-border) / <alpha-value>)',
strong: 'rgb(var(--color-border-strong) / <alpha-value>)',
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
}