-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
120 lines (104 loc) · 3.55 KB
/
tailwind.config.cjs
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
const { addDynamicIconSelectors } = require('@iconify/tailwind');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,ts}'],
plugins: [addDynamicIconSelectors()],
theme: {
fontFamily: {
heading: ['Walsheim Regular', 'sans-serif'],
source: ['IBM Plex Mono', 'monospace']
},
colors: {
debug: 'rgba(255, 0, 255, 0.33)',
transparent: 'transparent',
primary: {
DEFAULT: '#2833FF',
hover: '#8C3FFF',
dark: '#ABAFFF',
'dark-hover': '#CAA6FF'
},
accent: {
DEFAULT: '#D200A3',
dark: '#FF7DE2'
},
background: {
DEFAULT: 'rgb(245, 245, 245)',
dark: 'rgb(34, 34, 34)',
toc: 'rgb(248, 248, 248)',
'toc-dark': 'rgb(17, 17, 17)',
'toc-filter': 'white',
'toc-filter-dark': '#333',
'toc-active': 'white',
'toc-active-dark': 'rgba(255, 255, 255, 0.1)',
'toc-toolbar': 'rgba(248, 248, 248, 0.9)',
'toc-toolbar-dark': 'rgba(17, 17, 17, 0.9)',
'toc-toolbar-wide': 'rgba(245, 245, 245, 0.9)',
'toc-toolbar-wide-dark': 'rgba(34, 34, 34, 0.9)',
illustration: '#f3c3de',
'illustration-dark': '#684358',
'hero-mobile': 'rgba(245, 245, 245, 0.66)',
banner: 'white',
'banner-dark': '#171717'
},
text: {
DEFAULT: '#333333',
dark: '#F5F5F5',
muted: 'rgba(0, 0, 0, 0.5)',
'muted-dark': 'rgba(255, 255, 255, 0.5)',
toc: '#333',
'toc-dark': '#fafafa',
'toc-active': '#2833FF',
'toc-active-dark': '#ABAFFF'
},
selection: {
DEFAULT: '#222',
dark: '#f5f5f5',
text: 'white',
'text-dark': 'black'
},
ui: {
border: 'rgba(0, 0, 0, 0.1)',
'border-dark': 'rgba(255, 255, 255, 0.15)',
'border-hr': 'rgba(0, 0, 0, 0.1)',
'border-hr-dark': 'rgba(255, 255, 255, 0.15)'
},
toc: {
progress: '#333',
'progress-active': '#f5f5f5'
},
code: {
stroke: 'rgba(0, 0, 0, 0.1)',
'stroke-dark': 'rgba(255, 255, 255, 0.15)',
'stroke-hover': 'rgba(0, 0, 0, 0.4)',
'stroke-hover-dark': 'rgba(255, 255, 255, 0.35)',
bg: '#ffffff',
'bg-dark': '#171717'
},
'code-switcher': {
tab: 'rgba(0, 0, 0, 0.1)',
'tab-dark': 'rgba(255, 255, 255, 0.15)'
},
gray: {
50: '#fafafa',
100: '#f5f5f5',
300: '#d4d4d4',
600: '#666666',
700: '#404040',
900: '#171717'
},
white: 'white',
black: 'black'
},
extend: {
fontSize: {
base: '1.1rem',
'toc-item': '0.75rem'
},
spacing: {
128: '32rem',
64: '16rem'
}
}
},
safelist: ['pl-toc-d1', 'pl-toc-d2', 'pl-toc-d3', 'pl-toc-d4']
};