From d69ebb9f1eab17c1874e3e72d2929f6273ffab71 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sat, 5 Dec 2026 09:47:10 +0800 Subject: [PATCH] style(icons): use a document glyph for Markdown files --- src/ui/icons.tsx | 6 +++--- src/ui/openidea/fileTypes/markdown.svg | 5 +++++ src/ui/openidea/fileTypes/markdown_dark.svg | 5 +++++ 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 src/ui/openidea/fileTypes/markdown.svg create mode 100644 src/ui/openidea/fileTypes/markdown_dark.svg diff --git a/src/ui/icons.tsx b/src/ui/icons.tsx index e8909adfca..ff8ae44910 100644 --- a/src/ui/icons.tsx +++ b/src/ui/icons.tsx @@ -2,8 +2,8 @@ * Icon set: JetBrains new-UI ("expui") icons from intellij-community / intellij-plugins * (Apache-2.0 / MIT, see THIRD_PARTY_LICENSES.md), vendored as-is under * `./expui//.svg` with their `_dark` and `@20x20` variants; `./expui/flutter/` - * holds the Flutter plugin's tool window icons (BSD-3-Clause). File types - * whose JetBrains icons are not open source use OpenIDEA's own icons drawn in the same + * holds the Flutter plugin's tool window icons (BSD-3-Clause). Additional and customized file types + * use OpenIDEA's own icons drawn in the same * style, under `./openidea//.svg` (paths prefixed `openidea/`). Project type * logos under `./brands/` come from Simple Icons (CC0-1.0; see THIRD_PARTY_LICENSES.md). Names are the * contract used by actions (`Action.icon`) and contributions (`ToolWindowContribution.icon`). @@ -113,7 +113,7 @@ const ICONS = { "file-code": "fileTypes/anyType", "file-text": "fileTypes/text", "file-json": "fileTypes/json", - "file-md": "fileTypes/markdown", + "file-md": "openidea/fileTypes/markdown", "file-word": "openidea/fileTypes/word", "file-pdf": "openidea/fileTypes/pdf", "file-image": "fileTypes/image", diff --git a/src/ui/openidea/fileTypes/markdown.svg b/src/ui/openidea/fileTypes/markdown.svg new file mode 100644 index 0000000000..1c00a94e48 --- /dev/null +++ b/src/ui/openidea/fileTypes/markdown.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/ui/openidea/fileTypes/markdown_dark.svg b/src/ui/openidea/fileTypes/markdown_dark.svg new file mode 100644 index 0000000000..57da578cac --- /dev/null +++ b/src/ui/openidea/fileTypes/markdown_dark.svg @@ -0,0 +1,5 @@ + + + + +