-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
51 lines (50 loc) · 1.58 KB
/
Copy pathtailwind.config.js
File metadata and controls
51 lines (50 loc) · 1.58 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
// Colors are defined as CSS variables (RGB triplets) in
// src/static/css/tailwind.css, with one set per theme ([data-theme="dark"]
// and [data-theme="day"]). Each Tailwind token below references a variable so
// that every utility class (and its /opacity modifiers) re-themes automatically.
const token = (name) => `rgb(var(--${name}) / <alpha-value>)`;
module.exports = {
content: ["./**/*.html", "./src/**/*.yaml", "./src/**/*.yml", "./src/**/*.svg"],
theme: {
extend: {
colors: {
'eh-bg': token('eh-bg'),
'eh-surface': token('eh-surface'),
'eh-surface-2': token('eh-surface-2'),
'eh-border': token('eh-border'),
'eh-text': token('eh-text'),
'eh-text-bright': token('eh-text-bright'),
'eh-muted': token('eh-muted'),
'eh-comment': token('eh-comment'),
'eh-selection': token('eh-selection'),
'eh-red': token('eh-red'),
'eh-orange': token('eh-orange'),
'eh-yellow': token('eh-yellow'),
'eh-green': token('eh-green'),
'eh-cyan': token('eh-cyan'),
'eh-blue': token('eh-blue'),
'eh-purple': token('eh-purple'),
'eh-pink': token('eh-pink'),
},
fontFamily: {
'sans': [
'Inter',
'ui-sans-serif',
'system-ui',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji'
],
'mono': [
'JetBrains Mono',
'ui-monospace',
'monospace',
],
},
},
},
variants: {},
plugins: [],
};