Skip to content

Cursor plugin specification and official plugins

TypeScript

Use custom SVG avatars for PR Review Canvas and Docs Canvas

Alex Vandak Maloney01c91641cd47
diff --git a/docs-canvas/.cursor-plugin/plugin.json b/docs-canvas/.cursor-plugin/plugin.json
index 143033d2..351505d3 100644
--- a/docs-canvas/.cursor-plugin/plugin.json
+++ b/docs-canvas/.cursor-plugin/plugin.json
@@ -10,7 +10,7 @@
"homepage": "https://github.com/cursor/plugins/tree/main/docs-canvas",
"repository": "https://github.com/cursor/plugins",
"license": "MIT",
- "logo": "assets/avatar.png",
+ "logo": "assets/avatar.svg",
"keywords": [
"cursor-plugin",
"canvas",
diff --git a/docs-canvas/assets/avatar.png b/docs-canvas/assets/avatar.png
deleted file mode 100644
index 052d4cf8..00000000
Binary files a/docs-canvas/assets/avatar.png and /dev/null differ
diff --git a/docs-canvas/assets/avatar.svg b/docs-canvas/assets/avatar.svg
new file mode 100644
index 00000000..c0fe055e
--- /dev/null
+++ b/docs-canvas/assets/avatar.svg
@@ -0,0 +1,9 @@
+<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" role="img" aria-label="Docs Canvas">
+ <rect x="2.25" y="3.25" width="19.5" height="17.5" rx="2.25" fill="none" stroke="currentColor" stroke-width="1.5"/>
+ <circle cx="6" cy="8" r="1.1"/>
+ <circle cx="6" cy="12" r="1.1"/>
+ <circle cx="6" cy="16" r="1.1"/>
+ <rect x="9.5" y="7.1" width="10" height="1.8" rx="0.5"/>
+ <rect x="9.5" y="11.1" width="8.5" height="1.8" rx="0.5" opacity="0.65"/>
+ <rect x="9.5" y="15.1" width="10" height="1.8" rx="0.5" opacity="0.4"/>
+</svg>
diff --git a/pr-review-canvas/.cursor-plugin/plugin.json b/pr-review-canvas/.cursor-plugin/plugin.json
index a42e7f75..2273a704 100644
--- a/pr-review-canvas/.cursor-plugin/plugin.json
+++ b/pr-review-canvas/.cursor-plugin/plugin.json
@@ -10,7 +10,7 @@
"homepage": "https://github.com/cursor/plugins/tree/main/pr-review-canvas",
"repository": "https://github.com/cursor/plugins",
"license": "MIT",
- "logo": "assets/avatar.png",
+ "logo": "assets/avatar.svg",
"keywords": [
"cursor-plugin",
"canvas",
diff --git a/pr-review-canvas/assets/avatar.png b/pr-review-canvas/assets/avatar.png
deleted file mode 100644
index 052d4cf8..00000000
Binary files a/pr-review-canvas/assets/avatar.png and /dev/null differ
diff --git a/pr-review-canvas/assets/avatar.svg b/pr-review-canvas/assets/avatar.svg
new file mode 100644
index 00000000..12c95147
--- /dev/null
+++ b/pr-review-canvas/assets/avatar.svg
@@ -0,0 +1,7 @@
+<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" role="img" aria-label="PR Review Canvas">
+ <rect x="2.25" y="3.25" width="19.5" height="17.5" rx="2.25" fill="none" stroke="currentColor" stroke-width="1.5"/>
+ <rect x="5.25" y="6.75" width="9.5" height="2" rx="0.6"/>
+ <rect x="5.25" y="11" width="13.5" height="2" rx="0.6" opacity="0.55"/>
+ <rect x="5.25" y="15.25" width="7.5" height="2" rx="0.6" opacity="0.3"/>
+ <circle cx="17.75" cy="7.75" r="2.25"/>
+</svg>