style(icons): use a document glyph for Markdown files

Цей коміт міститься в:
l0ng-ai committed 2026-12-05 09:47:37 +08:00
1 джерело 579ce3f731
коміт d69ebb9f1e
3 files changed
+13 -3

No files matched your search

+3 -3
Переглянути файл
@@ -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/<group>/<name>.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/<group>/<name>.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",
+5
Переглянути файл
@@ -0,0 +1,5 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.5 1.5H12C12.8284 1.5 13.5 2.17157 13.5 3V13C13.5 13.8284 12.8284 14.5 12 14.5H4C3.17157 14.5 2.5 13.8284 2.5 13V5.5L6.5 1.5Z" fill="#F5F8FE" stroke="#3574F0" stroke-linejoin="round"/>
<path d="M6.5 1.5V4C6.5 4.82843 5.82843 5.5 5 5.5H2.5" stroke="#3574F0" stroke-linejoin="round"/>
<path d="M5.25 11.75V7.5L8 10L10.75 7.5V11.75" stroke="#3574F0" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

Після

Ширина:  |  Висота:  |  Розмір: 529 B

+5
Переглянути файл
@@ -0,0 +1,5 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.5 1.5H12C12.8284 1.5 13.5 2.17157 13.5 3V13C13.5 13.8284 12.8284 14.5 12 14.5H4C3.17157 14.5 2.5 13.8284 2.5 13V5.5L6.5 1.5Z" fill="#25324D" stroke="#548AF7" stroke-linejoin="round"/>
<path d="M6.5 1.5V4C6.5 4.82843 5.82843 5.5 5 5.5H2.5" stroke="#548AF7" stroke-linejoin="round"/>
<path d="M5.25 11.75V7.5L8 10L10.75 7.5V11.75" stroke="#548AF7" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

Після

Ширина:  |  Висота:  |  Розмір: 529 B