-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtailwind.config.js
146 lines (145 loc) · 5.98 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
import plugin from 'tailwindcss/plugin.js';
import tailwindcssForms from '@tailwindcss/forms';
export default {
content: ['./src/webviews/**/*.tsx'],
theme: {
extend: {
borderRadius: {
xs: '0.1875rem',
},
maxWidth: {
'prose-lg': '75ch',
'prose-xl': '90ch',
},
colors: {
'focus-border': 'var(--vscode-focusBorder)',
foreground: 'var(--vscode-foreground)',
'error-foreground': 'var(--vscode-errorForeground)',
current: 'currentColor',
'disabled-foreground': 'var(--vscode-disabledForeground)',
success: 'var(--vscode-terminal-ansiBrightGreen)',
accent: 'var(--vscode-terminal-ansiBrightBlue)',
widget: {
border: 'var(--vscode-widget-border)',
},
selection: 'var(--vscode-selection-background)',
error: 'var(--vscode-error-foreground)',
link: {
foreground: 'var(--vscode-textLink-foreground)',
'active-foreground': 'var(--vscode-textLink-activeForeground)',
},
description: 'var(--vscode-descriptionForeground)',
button: {
primary: {
background: 'var(--vscode-button-background)',
foreground: 'var(--vscode-button-foreground)',
'hover-background': 'var(--vscode-button-hoverBackground)',
border: 'var(--vscode-button-border)',
},
secondary: {
background: 'var(--vscode-button-secondaryBackground)',
foreground: 'var(--vscode-button-secondaryForeground)',
'hover-background': 'var(--vscode-button-secondaryHoverBackground)',
},
},
checkbox: {
foreground: 'var(--vscode-checkbox-foreground)',
background: 'var(--vscode-checkbox-background)',
'selection-background': 'var(--vscode-checkbox-selectBackground)',
border: 'var(--vscode-checkbox-border)',
'selection-border': 'var(--vscode-checkbox-selectBorder)',
},
radio: {
'active-foreground': 'var(--vscode-radio-activeForeground)',
'active-background': 'var(--vscode-radio-activeBackground)',
'active-border': 'var(--vscode-radio-activeBorder)',
'inactive-foreground': 'var(--vscode-radio-inactiveForeground)',
'inactive-background': 'var(--vscode-radio-inactiveBackground)',
'inactive-border': 'var(--vscode-radio-inactiveBorder)',
'inactive-hover-background': 'var(--vscode-radio-inactiveHoverBackground)',
},
dropdown: {
foreground: 'var(--vscode-dropdown-foreground)',
background: 'var(--vscode-dropdown-background)',
border: 'var(--vscode-dropdown-border)',
},
input: {
foreground: 'var(--vscode-input-foreground)',
background: 'var(--vscode-input-background)',
border: 'var(--vscode-input-border)',
'placeholder-foreground': 'var(--vscode-input-placeholderForeground)',
'invalid-foreground': 'var(--vscode-inputValidation-errorForeground)',
'invalid-border': 'var(--vscode-inputValidation-errorBorder)',
'invalid-background': 'var(--vscode-inputValidation-errorBackground)',
},
badge: {
foreground: 'var(--vscode-badge-foreground)',
background: 'var(--vscode-badge-background)',
},
terminal: {
foreground: 'var(--vscode-terminal-foreground)',
background: 'var(--vscode-terminal-background)',
border: 'var(--vscode-terminal-border)',
'selection-background': 'var(--vscode-terminal-selectionBackground)',
'selection-foreground': 'var(--vscode-terminal-selectionForeground)',
},
panel: {
background: 'var(--vscode-panel-background)',
border: 'var(--vscode-panel-border)',
},
list: {
'selection-background': 'var(--vscode-list-activeSelectionBackground)',
'selection-foreground': 'var(--vscode-list-activeSelectionForeground)',
},
'progress-bar': {
background: 'var(--vscode-progressBar-background)',
},
sidebar: {
background: 'var(--vscode-sideBar-background)',
foreground: 'var(--vscode-sideBar-foreground)',
border: 'var(--vscode-sideBar-border)',
'drop-background': 'var(--vscode-sideBar-dropBackground)',
title: {
foreground: 'var(--vscode-sideBarTitle-foreground)',
background: 'var(--vscode-sideBarTitle-background)',
},
'section-header': {
background: 'var(--vscode-sideBarSectionHeader-background)',
foreground: 'var(--vscode-sideBarSectionHeader-foreground)',
border: 'var(--vscode-sideBarSectionHeader-border)',
},
'activity-bar-top': {
border: 'var(--vscode-sideBarActivityBarTop-border)',
},
'sticky-scroll': {
background: 'var(--vscode-sideBarStickyScroll-background)',
border: 'var(--vscode-sideBarStickyScroll-border)',
shadow: 'var(--vscode-sideBarStickyScroll-shadow)',
},
},
'activity-bar': {
background: 'var(--vscode-activityBar-background)',
foreground: 'var(--vscode-activityBar-foreground)',
border: 'var(--vscode-activityBar-border)',
'active-background': 'var(--vscode-activityBar-activeBackground)',
'active-border': 'var(--vscode-activityBar-activeBorder)',
'active-foreground': 'var(--vscode-activityBar-activeForeground)',
'inactive-foreground': 'var(--vscode-activityBar-inactiveForeground)',
},
},
animation: {
'translate-lr': 'translate-lr 3s linear infinite',
},
keyframes: {
'translate-lr': {
'0%': { transform: 'translateX(-100%);' },
'100%': { transform: 'translateX(0%)' },
},
},
screens: {
touch: { raw: '(pointer: coarse)' },
},
},
},
plugins: [plugin(tailwindcssForms)],
};