Skip to content

Commit

Permalink
Add icon to website and vscode extension (#2829)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin committed Jan 25, 2024
1 parent 9f55600 commit ba02533
Show file tree
Hide file tree
Showing 12 changed files with 53 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-pens-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"typespec-vscode": patch
---

Added icons to the extensions
3 changes: 3 additions & 0 deletions icons/raw/readme.md
Original file line number Diff line number Diff line change
@@ -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.
7 changes: 7 additions & 0 deletions icons/raw/tsp-logo-inverted.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions icons/raw/tsp-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/typespec-vscode/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
!README.md
!ThirdPartyNotices.txt
!LICENSE
!icons/
Binary file added packages/typespec-vscode/icons/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions packages/typespec-vscode/icons/tsp-file.dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions packages/typespec-vscode/icons/tsp-file.light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/typespec-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"typespec-vscode-*.vsix",
"ThirdPartyNotices.txt"
],
"icon": "./icons/logo.png",
"contributes": {
"languages": [
{
Expand All @@ -45,6 +46,10 @@
"extensions": [
".tsp"
],
"icon": {
"light": "./icons/tsp-file.light.svg",
"dark": "./icons/tsp-file.dark.svg"
},
"configuration": "./dist/language-configuration.json"
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@typespec/website",
"version": "1.0.0",
"description": "",
"private": true,
"main": "index.js",
"scripts": {
"docusaurus": "docusaurus",
Expand Down
8 changes: 8 additions & 0 deletions packages/website/static/img/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ba02533

Please sign in to comment.