-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
58 lines (56 loc) · 1.21 KB
/
Copy pathtailwind.config.js
File metadata and controls
58 lines (56 loc) · 1.21 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
/** @type {import('tailwindcss').Config} */
function stripMarkdownCodeBlocks(content) {
if (typeof content !== "string") {
return content;
}
// Avoid generating utilities from markdown code examples.
return content.replace(/```[\s\S]*?```/g, "");
}
module.exports = {
darkMode: 'class',
content: {
files: [
"./_includes/**/*.njk",
"./_layouts/**/*.njk",
"./tools/**/*.njk",
"./tutorial/**/*.md",
"./uz/**/*.md",
"./*.{md,njk}",
],
transform: {
md: stripMarkdownCodeBlocks
}
},
theme: {
extend: {
colors: {
primary: {
100: '#e0f2fe',
200: '#bae6fd',
300: '#3776ab',
400: '#316997',
500: '#2a5880',
600: '#234c6e',
700: '#1d3f5b',
800: '#1c3a55',
900: '#1e2933'
},
secondary: {
400: '#ffdf76',
500: '#fdd03f',
700: '#e2b215',
}
},
animation: {
scroll: 'scroll 80s linear infinite',
},
keyframes: {
scroll: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-50%)' },
},
},
},
},
plugins: [],
}