Skip to content

Build your personal knowledge base with Trilium Notes

feat(text): draw the keyboard shortcut button as a keycap

Elian Doran2c6b9de8a668
diff --git a/apps/client/src/fonts/text-editor-icons.woff2 b/apps/client/src/fonts/text-editor-icons.woff2
index dba6d060e5..c6b01c53ce 100644
Binary files a/apps/client/src/fonts/text-editor-icons.woff2 and b/apps/client/src/fonts/text-editor-icons.woff2 differ
diff --git a/packages/ckeditor5/src/icons/kbd.svg b/packages/ckeditor5/src/icons/kbd.svg
index 722031cf9e..a1cdeed270 100644
--- a/packages/ckeditor5/src/icons/kbd.svg
+++ b/packages/ckeditor5/src/icons/kbd.svg
@@ -1,4 +1,5 @@
-<!-- Came from IceMoon's free package (https://icomoon.io/#preview-free) licensed under CC BY 4.0 -->
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 32">
-<path d="M34 4h-32c-1.1 0-2 0.9-2 2v20c0 1.1 0.9 2 2 2h32c1.1 0 2-0.9 2-2v-20c0-1.1-0.9-2-2-2zM20 8h4v4h-4v-4zM26 14v4h-4v-4h4zM14 8h4v4h-4v-4zM20 14v4h-4v-4h4zM8 8h4v4h-4v-4zM14 14v4h-4v-4h4zM4 8h2v4h-2v-4zM4 14h4v4h-4v-4zM6 24h-2v-4h2v4zM24 24h-16v-4h16v4zM32 24h-6v-4h6v4zM32 18h-4v-4h4v4zM32 12h-6v-4h6v4z"></path>
-</svg>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
+<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+ <rect x="2.6" y="2.6" width="14.8" height="14.8" rx="2.4" fill="none" stroke="currentColor" stroke-width="1.2"/>
+ <path d="M2.6 14.4h14.8M8 5.6v5.8M12 5.6 8.3 9M9.4 8l2.8 3.4" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
+</svg>