Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
66 lines (66 loc) · 2.71 KB
/
Copy pathtailwind.config.js
File metadata and controls
66 lines (66 loc) · 2.71 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/ui/webview/**/*.{ts,tsx,html}"],
theme: {
extend: {
colors: {
vscode: {
bg: "var(--vscode-editor-background)",
fg: "var(--vscode-editor-foreground)",
sidebar: "var(--vscode-sideBar-background)",
inputBg: "var(--vscode-input-background)",
inputFg: "var(--vscode-input-foreground)",
inputBorder: "var(--vscode-input-border)",
buttonBg: "var(--vscode-button-background)",
buttonHoverBg: "var(--vscode-button-hoverBackground)",
buttonFg: "var(--vscode-button-foreground)",
accent: "var(--vscode-focusBorder)",
border: "var(--vscode-panel-border)",
success: "var(--vscode-terminal-ansiGreen)",
error: "var(--vscode-errorForeground)",
warning: "var(--vscode-editorWarning-foreground)",
info: "var(--vscode-editorInfo-foreground)",
selection: "var(--vscode-editor-selectionBackground)",
lineHighlight: "var(--vscode-editor-lineHighlightBackground)",
},
},
fontFamily: {
vscode: ["var(--vscode-font-family)", "sans-serif"],
code: ["var(--vscode-editor-font-family)", "monospace"],
},
fontSize: {
vscode: "var(--vscode-font-size)",
},
animation: {
"pulse-slow": "pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite",
"fade-in": "fadeIn 0.3s ease-in-out",
"slide-up": "slideUp 0.3s ease-out",
"slide-down": "slideDown 0.3s ease-out",
"typing": "typing 1.5s infinite",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
slideUp: {
"0%": { transform: "translateY(10px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
slideDown: {
"0%": { transform: "translateY(-10px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
typing: {
"0%, 60%, 100%": { opacity: "0.3" },
"30%": { opacity: "1" },
},
},
},
},
plugins: [],
important: true,
corePlugins: {
preflight: false,
},
};