Skip to content

Commit

Permalink
Merge pull request #484 from marp-team/brand-icon-font
Browse files Browse the repository at this point in the history
Apply theme color to Marp icon
  • Loading branch information
yhatt authored Jan 13, 2025
2 parents bc09bd5 + f256c33 commit 9c169fa
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

### Fixed

- Apply theme color to Marp icon ([#479](https://github.com/marp-team/marp-vscode/issues/479), [#484](https://github.com/marp-team/marp-vscode/pull/484))

## v3.0.0 - 2024-12-31

> 🆙 **This update is including the major update of [Marp Core](https://github.com/marp-team/marp-core) and [Marp CLI](https://github.com/marp-team/marp-cli) v3 → v4.** Please check "**[Changes in new Marp Core v4](https://github.com/orgs/marp-team/discussions/533)**" for details.
Expand Down
1 change: 0 additions & 1 deletion images/icon-light.svg

This file was deleted.

2 changes: 1 addition & 1 deletion images/icon-dark.svg → images/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icon.woff
Binary file not shown.
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,7 @@
"category": "Marp",
"command": "markdown.marp.showQuickPick",
"title": "Show Quick Pick Of Marp Commands...",
"icon": {
"dark": "./images/icon-dark.svg",
"light": "./images/icon-light.svg"
}
"icon": "$(marp-brand)"
},
{
"category": "Marp",
Expand Down Expand Up @@ -240,6 +237,15 @@
}
}
},
"icons": {
"marp-brand": {
"description": "Marp brand",
"default": {
"fontPath": "./images/icon.woff",
"fontCharacter": "\\e000"
}
}
},
"markdown.markdownItPlugins": true,
"markdown.previewScripts": [
"./preview/preview.js"
Expand Down

0 comments on commit 9c169fa

Please sign in to comment.