-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
211 lines (211 loc) · 6.69 KB
/
package.json
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
{
"name": "theme-changer",
"displayName": "Theme Changer",
"description": "Generate your favorite VSCode workbench Theme color Customizations",
"version": "4.1.1",
"publisher": "Thinker",
"license": "MIT",
"icon": "images/theme-changer-logo.png",
"author": {
"name": "Sivaraman",
"email": "sendmsg2siva@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/R35007/theme-changer-vscode-extension"
},
"engines": {
"vscode": "^1.60.0"
},
"keywords": [
"Theme Changer",
"Theme editor",
"Dynamic Theme",
"Theme color",
"vscode theme changer",
"color customizations",
"colorCustomizations",
"dynamic color customizations",
"dynamic theme changer"
],
"categories": [
"Themes",
"Other"
],
"activationEvents": [
"onCommand:themeChanger.addColor",
"onCommand:themeChanger.clearColors",
"onCommand:themeChanger.changeThemeColor",
"onCommand:themeChanger.resetTheme",
"onCommand:themeChanger.resetColors",
"onView:sidebar-colorsView",
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "sidebar-colorsView",
"title": "Theme Changer",
"icon": "images/theme-changer.svg"
}
]
},
"views": {
"sidebar-colorsView": [
{
"type": "webview",
"id": "themeChanger.sidebar-colorsView",
"name": "Theme Changer"
}
]
},
"commands": [
{
"command": "themeChanger.addColor",
"category": "Theme Changer",
"title": "Add Color"
},
{
"command": "themeChanger.clearColors",
"category": "Theme Changer",
"title": "Clear Colors",
"icon": "$(clear-all)"
},
{
"command": "themeChanger.changeThemeColor",
"category": "Theme Changer",
"title": "Change Theme Color"
},
{
"command": "themeChanger.resetTheme",
"category": "Theme Changer",
"title": "Reset Theme to VSCode Default"
},
{
"command": "themeChanger.resetColors",
"category": "Theme Changer",
"title": "Reset All colors",
"icon": "$(discard)"
}
],
"configuration": {
"title": "Theme Changer",
"properties": {
"theme-changer.settings.setAsUserTheme": {
"type": "boolean",
"default": true,
"description": "Set to true to update the theme color in user settings else it sets to the workspace folder settings."
},
"theme-changer.settings.color": {
"type": "string",
"description": "Sets current selected Color here."
},
"theme-changer.settings.colors": {
"type": "array",
"default": [
"#005C99",
"#6C0080",
"#CC5200",
"#CC7E00",
"#4D4D4D"
],
"items": {
"type": "string"
},
"additionalItems": true,
"description": "Add your Favorite Theme Colors here."
},
"theme-changer.settings.themeName": {
"type": "string",
"default": "Default Dark+",
"description": "Provide theme name to generate the theme colors, Leave it empty to generate as a global theme."
},
"theme-changer.settings.theme": {
"type": "string",
"default": "Dynamite",
"enum": [
"Dynamite",
"Dynamite High Contrast"
],
"description": "Provide theme name to generate the theme colors, Leave it empty to generate as a global theme."
},
"theme-changer.settings.colorRangeCustomizations": {
"type": "object",
"default": {},
"examples": [
{
"button.background": "",
"button.hoverBackground": "+10",
"settings.headerForeground": "-5",
"badge.background": "50",
"editor.background": "0",
"statusBar.foreground": "100",
"terminal.background": "#181818"
}
],
"markdownDescription": "Set vscode style attributes and its color lightness from 0 to 100. give + or - to increment or decrement the current color lightness.\n\n \n\nExample : Theme Color `#CC5200`\n\n \n\n ```jsonc\n {\n\t\"button.background\": \"\", // If its empty it uses the exact Theme color -> #CC5200\n\t\"button.hoverBackground\": \"+10\", // Increments Theme color lightness by 10% and becomes lighter shade -> #FF6700\n\t\"settings.headerForeground\": \"-5\", // Decrements Theme color lightness by 5% and becomes darker shade -> #E65C00\n\t\"badge.background\": \"50\", // Directly sets the lightens to 50% of the Theme color -> #FF6700\n\t\"editor.background\": \"0\", // Becomes Black color => #000000\n\t\"statusBar.foreground\": \"100\", // Becomes White color => #ffffff\n\t\"terminal.background\": \"#181818\" // Overrides the Theme color and uses the given color\n}\n```"
},
"theme-changer.settings.overrideDefaultColorRange": {
"type": "boolean",
"default": false,
"description": "Set to true if you want to override the default Color Range Customizations"
}
}
},
"menus": {
"commandPalette": [
{
"command": "themeChanger.addColor",
"when": "false"
},
{
"command": "themeChanger.clearColors",
"when": "false"
}
],
"view/title": [
{
"command": "themeChanger.clearColors",
"group": "navigation",
"when": "view == themeChanger.sidebar-colorsView"
},
{
"command": "themeChanger.resetColors",
"group": "navigation",
"when": "view == themeChanger.sidebar-colorsView"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@vscode/test-electron": "^2.1.3",
"@vscode/webview-ui-toolkit": "^0.8.1",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^8.11.0",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"ts-loader": "^9.2.8",
"ts-node": "^10.9.1",
"typescript": "^4.5.5",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"color": "^4.0.1"
}
}