-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
85 lines (83 loc) · 3.5 KB
/
tailwind.config.ts
File metadata and controls
85 lines (83 loc) · 3.5 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
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
78
79
80
81
82
83
84
85
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
safelist: [
'pl-0',
'pl-4',
'pl-8',
'pl-12',
'pl-16',
'absolute',
'invisible',
'hidden',
],
theme: {
colors: {
'basic': 'rgb(var(--color-base) / <alpha-value>)',
'mantle': 'rgb(var(--color-mantle) / <alpha-value>)',
'crust': 'rgb(var(--color-crust) / <alpha-value>)',
'surface-0': 'rgb(var(--color-surface-0) / <alpha-value>)',
'surface-1': 'rgb(var(--color-surface-1) / <alpha-value>)',
'surface-2': 'rgb(var(--color-surface-2) / <alpha-value>)',
'overlay-0': 'rgb(var(--color-overlay-0) / <alpha-value>)',
'overlay-1': 'rgb(var(--color-overlay-1) / <alpha-value>)',
'overlay-2': 'rgb(var(--color-overlay-2) / <alpha-value>)',
// text over previous surfaces (except overlays)
'text': 'rgb(var(--color-text) / <alpha-value>)',
'title': 'rgb(var(--color-title) / <alpha-value>)',
'subtext': 'rgb(var(--color-subtext) / <alpha-value>)',
'subtitle': 'rgb(var(--color-subtitle) / <alpha-value>)',
'success': 'rgb(var(--color-success) / <alpha-value>)',
'info': 'rgb(var(--color-info) / <alpha-value>)',
'warning': 'rgb(var(--color-warning) / <alpha-value>)',
'error': 'rgb(var(--color-error) / <alpha-value>)',
// selection
'selection-bg': 'rgb(var(--color-selection-bg) / <alpha-value>)', // with opacity
'selection-text': 'rgb(var(--color-selection-text) / <alpha-value>)',
// links
'link': 'rgb(var(--color-link) / <alpha-value>)',
'followed-link': 'rgb(var(--color-followed-link) / <alpha-value>)',
'hover-link': 'rgb(var(--color-hover-link) / <alpha-value>)',
// code snippets
'snippet-bg': 'rgb(var(--color-snippet-bg) / <alpha-value>)',
'keyword': 'rgb(var(--color-keyword) / <alpha-value>)',
'string': 'rgb(var(--color-string) / <alpha-value>)',
'regex': 'rgb(var(--color-regex) / <alpha-value>)',
'comment': 'rgb(var(--color-comment) / <alpha-value>)',
'number': 'rgb(var(--color-number) / <alpha-value>)',
'constant': 'rgb(var(--color-constant) / <alpha-value>)',
'operator': 'rgb(var(--color-operator) / <alpha-value>)',
'delimiter': 'rgb(var(--color-delimiter) / <alpha-value>)',
'function': 'rgb(var(--color-function) / <alpha-value>)',
'parameter': 'rgb(var(--color-parameter) / <alpha-value>)',
// ALIASES
'subtext-1': 'rgb(var(--color-subtext-1) / <alpha-value>)',
'sapphire': 'rgb(var(--color-sapphire) / <alpha-value>)',
'green': 'rgb(var(--color-green) / <alpha-value>)',
'teal': 'rgb(var(--color-teal) / <alpha-value>)',
'yellow': 'rgb(var(--color-yellow) / <alpha-value>)',
'red': 'rgb(var(--color-red) / <alpha-value>)',
'blue': 'rgb(var(--color-blue) / <alpha-value>)',
'lavender': 'rgb(var(--color-lavender) / <alpha-value>)',
'sky': 'rgb(var(--color-sky) / <alpha-value>)',
'mauve': 'rgb(var(--color-mauve) / <alpha-value>)',
'pink': 'rgb(var(--color-pink) / <alpha-value>)',
'peach': 'rgb(var(--color-peach) / <alpha-value>)',
'maroon': 'rgb(var(--color-maroon) / <alpha-value>)'
},
extend: {
fontSize: {
'sm-logo': ['2rem', {lineHeight: '0'}],
'logo': ['2.5rem', {lineHeight: '0'}],
'md-logo': ['3rem', {lineHeight: '0'}],
'xl-logo': ['4em', {lineHeight: '0'}],
},
},
},
variants: {},
plugins: [
],
}
export default config