@vscode/codicons 0.0.24 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/codeql-analysis.yml +71 -0
- package/README.md +16 -3
- package/dist/codicon.css +21 -2
- package/dist/codicon.csv +18 -0
- package/dist/codicon.html +529 -385
- package/dist/codicon.svg +1 -0
- package/dist/codicon.ttf +0 -0
- package/package.json +8 -14
- package/scripts/svg-sprite.js +39 -0
- package/src/icons/azure-devops.svg +1 -0
- package/src/icons/case-sensitive.svg +1 -1
- package/src/icons/issue-draft.svg +1 -1
- package/src/icons/layout-activitybar-left.svg +1 -0
- package/src/icons/layout-activitybar-right.svg +1 -0
- package/src/icons/layout-centered.svg +1 -0
- package/src/icons/layout-menubar.svg +1 -0
- package/src/icons/layout-panel-center.svg +1 -0
- package/src/icons/layout-panel-justify.svg +1 -0
- package/src/icons/layout-panel-left.svg +1 -0
- package/src/icons/layout-panel-right.svg +1 -0
- package/src/icons/layout-panel.svg +1 -0
- package/src/icons/layout-sidebar-left.svg +1 -0
- package/src/icons/layout-sidebar-right.svg +1 -0
- package/src/icons/layout-statusbar.svg +1 -0
- package/src/icons/layout.svg +1 -0
- package/src/icons/lock-small.svg +1 -0
- package/src/icons/newline.svg +1 -0
- package/src/icons/preserve-case.svg +1 -1
- package/src/icons/target.svg +1 -0
- package/src/icons/verified-filled.svg +1 -0
- package/src/icons/whole-word.svg +1 -1
- package/src/template/mapping.json +19 -1
- package/src/template/preview.hbs +3 -3
- package/src/template/styles.hbs +2 -1
package/dist/codicon.ttf
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vscode/codicons",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"fontVersion": "1.
|
|
3
|
+
"version": "0.0.28",
|
|
4
|
+
"fontVersion": "1.6",
|
|
5
5
|
"description": "The icon font for Visual Studio Code",
|
|
6
6
|
"license": "CC-BY-4.0",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"preinstall": "npx npm-force-resolutions",
|
|
10
9
|
"clean": "node ./scripts/reset.js",
|
|
11
10
|
"svgo": "svgo -f ./src/icons/ --config svgo.config.js",
|
|
11
|
+
"sprite": "node ./scripts/svg-sprite.js --outDir dist --outFile codicon.svg",
|
|
12
12
|
"replace-in-vscode": "cp -R ./dist/codicon.ttf ../vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf",
|
|
13
13
|
"export-to-csv": "node ./scripts/export-to-csv.js -f ./dist/codicon.ttf > ./dist/codicon.csv",
|
|
14
14
|
"fonts": "fantasticon",
|
|
15
|
-
"dev": "npm run clean && npm run svgo && npm run fonts && npm run export-to-csv && npm run replace-in-vscode",
|
|
16
|
-
"build": "npm run clean && npm run svgo && npm run fonts && npm run export-to-csv",
|
|
15
|
+
"dev": "npm run clean && npm run svgo && npm run fonts && npm run export-to-csv && npm run sprite && npm run replace-in-vscode",
|
|
16
|
+
"build": "npm run clean && npm run svgo && npm run fonts && npm run export-to-csv && npm run sprite",
|
|
17
17
|
"release": "release-it"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
@@ -24,17 +24,11 @@
|
|
|
24
24
|
"name": "Microsoft Corporation"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"ansi-regex": ">=5.0.1",
|
|
28
|
+
"fantasticon": "^1.2.3",
|
|
29
29
|
"opentype.js": "^1.3.3",
|
|
30
30
|
"release-it": "14.11.6",
|
|
31
|
-
"
|
|
31
|
+
"svg-sprite": "^1.5.2",
|
|
32
32
|
"svgo": "2.7.0"
|
|
33
|
-
},
|
|
34
|
-
"resolutions": {
|
|
35
|
-
"ansi-regex": "^5.0.1",
|
|
36
|
-
"glob-parent": "^5.1.2",
|
|
37
|
-
"set-value": "^4.0.1",
|
|
38
|
-
"tar": "^6.1.9"
|
|
39
33
|
}
|
|
40
34
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const SVGSpriter = require("svg-sprite");
|
|
2
|
+
const path = require("path");
|
|
3
|
+
const fs = require("fs");
|
|
4
|
+
const opts = require("minimist")(process.argv.slice(2));
|
|
5
|
+
const config = {
|
|
6
|
+
mode: {
|
|
7
|
+
symbol: {
|
|
8
|
+
dest: opts.outDir,
|
|
9
|
+
sprite: opts.outFile,
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
const spriter = new SVGSpriter(config);
|
|
14
|
+
const mapping = require("../src/template/mapping.json");
|
|
15
|
+
|
|
16
|
+
const mappingEntries = Object.entries(mapping);
|
|
17
|
+
|
|
18
|
+
const findNames = (symbol) => {
|
|
19
|
+
return mappingEntries.filter(([_, s]) => s === symbol).map(([name]) => name);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
mappingEntries.forEach(([mappedName, symbol]) => {
|
|
23
|
+
const file = path.resolve(`./src/icons/${mappedName}.svg`);
|
|
24
|
+
|
|
25
|
+
if (fs.existsSync(file)) {
|
|
26
|
+
for (const name of findNames(symbol)) {
|
|
27
|
+
spriter.add(
|
|
28
|
+
path.resolve(`./src/icons/${name}.svg`),
|
|
29
|
+
name + ".svg",
|
|
30
|
+
fs.readFileSync(file, "utf-8"),
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
spriter.compile(function (error, result, data) {
|
|
37
|
+
fs.mkdirSync(path.resolve(opts.outDir), { recursive: true });
|
|
38
|
+
fs.writeFileSync(result.symbol.sprite.path, result.symbol.sprite.contents);
|
|
39
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M15 3.62172V12.1336L11.5 15L6.075 13.025V14.9825L3.00375 10.9713L11.955 11.6704V4.00624L15 3.62172ZM12.0163 4.04994L6.99375 1V3.00125L2.3825 4.35581L1 6.12984V10.1586L2.9775 11.0325V5.86767L12.0163 4.04994Z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M8.85352 11.7021H7.85449L7.03809 9.54297H3.77246L3.00439 11.7021H2L4.9541 4H5.88867L8.85352 11.7021ZM6.74268 8.73193L5.53418 5.4502C5.49479 5.34277 5.4554 5.1709 5.41602 4.93457H5.39453C5.35872 5.15299 5.31755 5.32487 5.271 5.4502L4.07324 8.73193H6.74268Z"/><path d="M13.756 11.7021H12.8752V10.8428H12.8537C12.4706 11.5016 11.9066 11.8311 11.1618 11.8311C10.6139 11.8311 10.1843 11.686 9.87273 11.396C9.56479 11.106 9.41082 10.721 9.41082 10.2412C9.41082 9.21354 10.016 8.61556 11.2262 8.44727L12.8752 8.21631C12.8752 7.28174 12.4974 6.81445 11.7419 6.81445C11.0794 6.81445 10.4815 7.04004 9.94793 7.49121V6.58887C10.4886 6.24512 11.1117 6.07324 11.8171 6.07324C13.1097 6.07324 13.756 6.75716 13.756 8.125V11.7021ZM12.8752 8.91992L11.5485 9.10254C11.1403 9.15983 10.8324 9.26188 10.6247 9.40869C10.417 9.55192 10.3132 9.80794 10.3132 10.1768C10.3132 10.4453 10.4081 10.6655 10.5978 10.8374C10.7912 11.0057 11.0472 11.0898 11.3659 11.0898C11.8027 11.0898 12.1626 10.9377 12.4455 10.6333C12.7319 10.3254 12.8752 9.93685 12.8752 9.46777V8.91992Z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.7324 9.20047L13.6835 9.50931C13.889 8.87656 14 8.20125 14 7.5C14 6.79875 13.889 6.12344 13.6835 5.49069L12.7324 5.79953C12.9058 6.33376 13 6.9049 13 7.5C13 8.0951 12.9058 8.66624 12.7324 9.20047ZM12.4021 5.00313L13.2928 4.54842C12.6696 3.3279 11.6721 2.33037 10.4516 1.70723L9.99687 2.59787C11.0298 3.12523 11.8748 3.9702 12.4021 5.00313ZM9.20047 2.26763L9.50931 1.31652C8.87656 1.11105 8.20125 1 7.5 1C6.79875 1 6.12344 1.11105 5.49069 1.31652L5.79953 2.26763C6.33376 2.09415 6.9049 2 7.5 2C8.0951 2 8.66624 2.09415 9.20047 2.26763ZM5.00313 2.59787L4.54842 1.70723C3.3279 2.33037 2.33037 3.3279 1.70723 4.54842L2.59787 5.00313C3.12523 3.9702 3.9702 3.12523 5.00313 2.59787ZM1 7.5C1 6.79875 1.11105 6.12344 1.31652 5.49069L2.26763 5.79953C2.09415 6.33376 2 6.9049 2 7.5C2 8.0951 2.09415 8.66624 2.26763 9.20047L1.31652 9.50931C1.11105 8.87656 1 8.20125 1 7.5ZM2.59787 9.99687L1.70723 10.4516C2.33037 11.6721 3.3279 12.6696 4.54842 13.2928L5.00313 12.4021C3.9702 11.8748 3.12523 11.0298 2.59787 9.99687ZM5.79953 12.7324L5.49069 13.6835C6.12344 13.889 6.79875 14 7.5 14C8.20125 14 8.87656 13.889 9.50931 13.6835L9.20047 12.7324C8.66624 12.9058 8.0951 13 7.5 13C6.9049 13 6.33376 12.9058 5.79953 12.7324ZM9.99687 12.4021L10.4516 13.2928C11.6721 12.6696 12.6696 11.6721 13.2928 10.4516L12.4021 9.99687C11.8748 11.0298 11.0298 11.8748 9.99687 12.4021ZM7.50002 8.5C8.0523 8.5 8.50002 8.05228 8.50002 7.5C8.50002 6.94772 8.0523 6.5 7.50002 6.5C6.94773 6.5 6.50002 6.94772 6.50002 7.5C6.50002 8.05228 6.94773 8.5 7.50002 8.5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM14 14H4V2H14V14Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM2 14V2H12V14H2Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM2 14V2H6V14H2ZM10 14V2H14V14H10Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M6 3H3V4H6V3Z"/><path d="M3 5H6V6H3V5Z"/><path d="M6 7H3V8H6V7Z"/><path d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM2 14V2H14V14H2Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM2 14V2H4V14H2ZM5 10V2H11V10H5ZM12 2H14V14H12V2Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM2 10V2H4V10H2ZM5 10V2H11V10H5ZM12 10V2H14V10H12Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M1 2L2 1H14L15 2V14L14 15H2L1 14V2ZM2 2V10H10V2H2ZM11 2V14H14V2H11Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M1 2L2 1H14L15 2V14L14 15H2L1 14V2ZM2 2V14H5V2H2ZM6 2V10H14V2H6Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM2 10V2H14V10H2Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM14 14H7V2H14V14Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM2 14V2H9V14H2Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 1L1 2V14L2 15H14L15 14V2L14 1H2ZM2 12V2H14V12H2Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M1 0L0 1V12L1 13H5L6 12V1L5 0H1ZM1 12V1H5V12H1Z"/><path d="M7 1L8 0H12L13 1V5L12 6H8L7 5V1ZM8 1V5H12V1H8Z"/><path d="M7 8L8 7H12L13 8V12L12 13H8L7 12V8ZM8 8V12H12V8H8Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M3 8L4 7H12L13 8V13L12 14H4L3 13V8ZM4 8V13H12V8H4Z"/><path d="M11 7V5C11 3.34315 9.65685 2 8 2C6.34315 2 5 3.34315 5 5V7H6V5C6 3.89543 6.89543 3 8 3C9.10457 3 10 3.89543 10 5V7H11Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 5.5V7.484C12 7.61661 11.9473 7.74379 11.8535 7.83755C11.7598 7.93132 11.6326 7.984 11.5 7.984H4.618L6.251 6.351L5.544 5.644L3.423 7.765L3 8.188V8.756L5.544 11.3L6.251 10.593L4.641 8.984H11.5C11.8978 8.984 12.2793 8.82597 12.5607 8.54466C12.842 8.26336 13 7.88182 13 7.484V5.5H12Z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M8.
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M8.51358 11H7.51456L6.69815 8.84082H3.43253L2.66446 11H1.66006L4.61417 3.29785H5.54874L8.51358 11ZM6.40274 8.02979L5.19424 4.74805C5.15486 4.64062 5.11547 4.46875 5.07608 4.23242H5.0546C5.01879 4.45085 4.97761 4.62272 4.93106 4.74805L3.73331 8.02979H6.40274Z"/><path d="M9.59725 11V3.29785H11.7887C12.4547 3.29785 12.9828 3.46077 13.3731 3.78662C13.7634 4.11247 13.9586 4.53678 13.9586 5.05957C13.9586 5.49642 13.8404 5.87598 13.6041 6.19824C13.3678 6.52051 13.0419 6.74967 12.6265 6.88574V6.90723C13.1458 6.9681 13.5611 7.16504 13.8726 7.49805C14.1842 7.82747 14.3399 8.25716 14.3399 8.78711C14.3399 9.44596 14.1036 9.97949 13.6309 10.3877C13.1583 10.7959 12.5621 11 11.8424 11H9.59725ZM10.4996 4.11426V6.60107H11.4234C11.9176 6.60107 12.3061 6.48291 12.589 6.24658C12.8718 6.00667 13.0133 5.67008 13.0133 5.23682C13.0133 4.48844 12.5209 4.11426 11.5362 4.11426H10.4996ZM10.4996 7.41211V10.1836H11.7242C12.2542 10.1836 12.6641 10.0583 12.9542 9.80762C13.2478 9.55697 13.3946 9.21322 13.3946 8.77637C13.3946 7.86686 12.7751 7.41211 11.5362 7.41211H10.4996Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z"/><path d="M12 8C12 10.2091 10.2091 12 8 12C5.79086 12 4 10.2091 4 8C4 5.79086 5.79086 4 8 4C10.2091 4 12 5.79086 12 8ZM8 11C9.65685 11 11 9.65685 11 8C11 6.34315 9.65685 5 8 5C6.34315 5 5 6.34315 5 8C5 9.65685 6.34315 11 8 11Z"/><path d="M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M8.38 14.72H7.67L6 13H3.53L3 12.5V10.08L1.31 8.36004V7.65004L3 5.93004V3.50004L3.53 3.00004H6L7.67 1.29004H8.38L10.1 3.00004H12.53L13.03 3.49004V5.93004L14.74 7.65004V8.36004L13 10.08V12.5L12.5 13H10.1L8.38 14.72ZM6.73004 10.4799H7.44004L11.21 6.71L10.5 6L7.09004 9.41991L5.71 8.03984L5 8.74984L6.73004 10.4799Z"/></svg>
|
package/src/icons/whole-word.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 11H1V13H15V11H16V14H15H1H0V11Z"/><path d="M6.84048 11H5.95963V10.1406H5.93814C5.555 10.7995 4.99104 11.1289 4.24625 11.1289C3.69839 11.1289 3.26871 10.9839 2.95718 10.6938C2.64924 10.4038 2.49527 10.0189 2.49527 9.53906C2.49527 8.51139 3.10041 7.91341 4.3107 7.74512L5.95963 7.51416C5.95963 6.57959 5.58186 6.1123 4.82632 6.1123C4.16389 6.1123 3.56591 6.33789 3.03238 6.78906V5.88672C3.57307 5.54297 4.19612 5.37109 4.90152 5.37109C6.19416 5.37109 6.84048 6.05501 6.84048 7.42285V11ZM5.95963 8.21777L4.63297 8.40039C4.22476 8.45768 3.91682 8.55973 3.70914 8.70654C3.50145 8.84977 3.39761 9.10579 3.39761 9.47461C3.39761 9.74316 3.4925 9.96338 3.68228 10.1353C3.87564 10.3035 4.13166 10.3877 4.45035 10.3877C4.8872 10.3877 5.24706 10.2355 5.52994 9.93115C5.8164 9.62321 5.95963 9.2347 5.95963 8.76562V8.21777Z"/><path d="M9.3475 10.2051H9.32601V11H8.44515V2.85742H9.32601V6.4668H9.3475C9.78076 5.73633 10.4146 5.37109 11.2489 5.37109C11.9543 5.37109 12.5057 5.61816 12.9032 6.1123C13.3042 6.60286 13.5047 7.26172 13.5047 8.08887C13.5047 9.00911 13.2809 9.74674 12.8333 10.3018C12.3857 10.8532 11.7734 11.1289 10.9964 11.1289C10.2695 11.1289 9.71989 10.821 9.3475 10.2051ZM9.32601 7.98682V8.75488C9.32601 9.20964 9.47282 9.59635 9.76644 9.91504C10.0636 10.2301 10.4396 10.3877 10.8944 10.3877C11.4279 10.3877 11.8451 10.1836 12.1458 9.77539C12.4502 9.36719 12.6024 8.79964 12.6024 8.07275C12.6024 7.46045 12.4609 6.98063 12.1781 6.6333C11.8952 6.28597 11.512 6.1123 11.0286 6.1123C10.5166 6.1123 10.1048 6.29134 9.7933 6.64941C9.48177 7.00391 9.32601 7.44971 9.32601 7.98682Z"/></svg>
|
|
@@ -471,5 +471,23 @@
|
|
|
471
471
|
"pie-chart": 60388,
|
|
472
472
|
"bracket": 60175,
|
|
473
473
|
"bracket-dot": 60389,
|
|
474
|
-
"bracket-error": 60390
|
|
474
|
+
"bracket-error": 60390,
|
|
475
|
+
"lock-small": 60391,
|
|
476
|
+
"azure-devops": 60392,
|
|
477
|
+
"verified-filled": 60393,
|
|
478
|
+
"newline": 60394,
|
|
479
|
+
"layout": 60395,
|
|
480
|
+
"layout-activitybar-left": 60396,
|
|
481
|
+
"layout-activitybar-right": 60397,
|
|
482
|
+
"layout-panel-left": 60398,
|
|
483
|
+
"layout-panel-center": 60399,
|
|
484
|
+
"layout-panel-justify": 60400,
|
|
485
|
+
"layout-panel-right": 60401,
|
|
486
|
+
"layout-panel": 60402,
|
|
487
|
+
"layout-sidebar-left": 60403,
|
|
488
|
+
"layout-sidebar-right": 60404,
|
|
489
|
+
"layout-statusbar": 60405,
|
|
490
|
+
"layout-menubar": 60406,
|
|
491
|
+
"layout-centered": 60407,
|
|
492
|
+
"target": 60408
|
|
475
493
|
}
|
package/src/template/preview.hbs
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
.icon:hover {
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
|
|
56
56
|
.icon:hover .inner {
|
|
57
57
|
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.24);
|
|
58
58
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
padding: 16px 0;
|
|
72
72
|
font-size: 48px;
|
|
73
73
|
color: #333;
|
|
74
|
-
overflow: hidden;
|
|
74
|
+
overflow: hidden;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.icon .inner::before {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
{{# each assets }}
|
|
157
157
|
<div class="icon" data-name="{{ @key }}" title="{{ @key }}">
|
|
158
158
|
<span class="inner">
|
|
159
|
-
<{{ ../tag }} class="{{ ../prefix }} {{ ../prefix }}-{{ @key }}"></{{ ../tag }}>
|
|
159
|
+
<{{ ../tag }} class="{{ ../prefix }} {{ ../prefix }}-{{ @key }}" aria-hidden="true"></{{ ../tag }}>
|
|
160
160
|
</span>
|
|
161
161
|
<br>
|
|
162
162
|
<span class='label'>{{ @key }}</span>
|
package/src/template/styles.hbs
CHANGED
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
@font-face {
|
|
7
7
|
font-family: "{{ name }}";
|
|
8
|
+
font-display: block;
|
|
8
9
|
src: {{{ fontSrc }}};
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.codicon[class*='codicon-'] {
|
|
12
13
|
font: normal normal normal 16px/1 {{ name }};
|
|
13
|
-
display: block;
|
|
14
|
+
display: inline-block;
|
|
14
15
|
text-decoration: none;
|
|
15
16
|
text-rendering: auto;
|
|
16
17
|
text-align: center;
|