diff --git a/.changeset/fuzzy-pens-live.md b/.changeset/fuzzy-pens-live.md new file mode 100644 index 0000000000..f33e3c8053 --- /dev/null +++ b/.changeset/fuzzy-pens-live.md @@ -0,0 +1,5 @@ +--- +"typespec-vscode": patch +--- + +Added icons to the extensions diff --git a/icons/raw/readme.md b/icons/raw/readme.md new file mode 100644 index 0000000000..04c17ea095 --- /dev/null +++ b/icons/raw/readme.md @@ -0,0 +1,3 @@ +# TypeSpec Raw Svg Icons + +Those are the raw typespec icons with text still has text. It can be used to easily convert the text to path with different font and different positions. diff --git a/icons/raw/tsp-logo-inverted.svg b/icons/raw/tsp-logo-inverted.svg new file mode 100644 index 0000000000..33e6f84aaa --- /dev/null +++ b/icons/raw/tsp-logo-inverted.svg @@ -0,0 +1,7 @@ + + + + + + TSP + diff --git a/icons/raw/tsp-logo.svg b/icons/raw/tsp-logo.svg new file mode 100644 index 0000000000..b52a0a909b --- /dev/null +++ b/icons/raw/tsp-logo.svg @@ -0,0 +1,8 @@ + + + + + + + TSP + \ No newline at end of file diff --git a/packages/typespec-vscode/.vscodeignore b/packages/typespec-vscode/.vscodeignore index 63dbd54be3..b016ff91a9 100644 --- a/packages/typespec-vscode/.vscodeignore +++ b/packages/typespec-vscode/.vscodeignore @@ -14,3 +14,4 @@ !README.md !ThirdPartyNotices.txt !LICENSE +!icons/ diff --git a/packages/typespec-vscode/icons/logo.png b/packages/typespec-vscode/icons/logo.png new file mode 100644 index 0000000000..2c17e664c5 Binary files /dev/null and b/packages/typespec-vscode/icons/logo.png differ diff --git a/packages/typespec-vscode/icons/tsp-file.dark.svg b/packages/typespec-vscode/icons/tsp-file.dark.svg new file mode 100644 index 0000000000..eeb3b10cbd --- /dev/null +++ b/packages/typespec-vscode/icons/tsp-file.dark.svg @@ -0,0 +1,7 @@ + + + + diff --git a/packages/typespec-vscode/icons/tsp-file.light.svg b/packages/typespec-vscode/icons/tsp-file.light.svg new file mode 100644 index 0000000000..48c3ce2d95 --- /dev/null +++ b/packages/typespec-vscode/icons/tsp-file.light.svg @@ -0,0 +1,7 @@ + + + + diff --git a/packages/typespec-vscode/package.json b/packages/typespec-vscode/package.json index 3ae596056d..c083dff724 100644 --- a/packages/typespec-vscode/package.json +++ b/packages/typespec-vscode/package.json @@ -34,6 +34,7 @@ "typespec-vscode-*.vsix", "ThirdPartyNotices.txt" ], + "icon": "./icons/logo.png", "contributes": { "languages": [ { @@ -45,6 +46,10 @@ "extensions": [ ".tsp" ], + "icon": { + "light": "./icons/tsp-file.light.svg", + "dark": "./icons/tsp-file.dark.svg" + }, "configuration": "./dist/language-configuration.json" }, { diff --git a/packages/website/docusaurus.config.ts b/packages/website/docusaurus.config.ts index df9005d395..b966fac47a 100644 --- a/packages/website/docusaurus.config.ts +++ b/packages/website/docusaurus.config.ts @@ -41,7 +41,7 @@ const config: Config = { baseUrl, onBrokenLinks: "throw", onBrokenMarkdownLinks: "warn", - favicon: "img/azure.svg", + favicon: "img/favicon.svg", // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. diff --git a/packages/website/package.json b/packages/website/package.json index 9397ad6204..2b1ecead1b 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -2,6 +2,7 @@ "name": "@typespec/website", "version": "1.0.0", "description": "", + "private": true, "main": "index.js", "scripts": { "docusaurus": "docusaurus", diff --git a/packages/website/static/img/favicon.svg b/packages/website/static/img/favicon.svg new file mode 100644 index 0000000000..27071d255e --- /dev/null +++ b/packages/website/static/img/favicon.svg @@ -0,0 +1,8 @@ + + + + +