-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
45 lines (43 loc) · 1.59 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
darkMode: 'class',
theme: {
colors: {
// Plain
current: 'currentColor',
transparent: 'transparent',
inherit: 'inherit',
black: 'rgb(var(--color-black) / <alpha-value>)',
white: 'rgb(var(--color-white) / <alpha-value>)',
// Semantic
base: {
bg: 'rgb(var(--color-base-bg) / <alpha-value>)',
border: 'rgb(var(--color-base-border) / <alpha-value>)',
'border-subtle': 'rgb(var(--color-base-border-subtle) / <alpha-value>)',
'text-strong': 'rgb(var(--color-base-text-strong) / <alpha-value>)',
'text-light': 'rgb(var(--color-base-text-light) / <alpha-value>)',
'text-weak': 'rgb(var(--color-base-text-weak) / <alpha-value>)',
'text-subtle': 'rgb(var(--color-base-text-subtle) / <alpha-value>)',
surface: 'rgb(var(--color-base-surface) / <alpha-value>)',
'surface-text-strong':
'rgb(var(--color-base-surface-text-strong) / <alpha-value>)',
'surface-text-weak':
'rgb(var(--color-base-surface-text-weak) / <alpha-value>)',
},
primary: {
text: 'rgb(var(--color-primary-text) / <alpha-value>)',
border: 'rgb(var(--color-primary-border) / <alpha-value>)',
surface: 'rgb(var(--color-primary-surface) / <alpha-value>)',
'surface-text-strong':
'rgb(var(--color-primary-surface-text-strong) / <alpha-value>)',
},
},
extend: {
lineHeight: {
relaxed: '1.65',
},
},
},
plugins: [],
};