From 72ad8987aca595ff2030519f9ed9aa10478d5dae Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Mon, 6 Nov 2023 10:48:47 +0100 Subject: [PATCH] Provide dedicated, vendor-neutral icons (#9911) * Provide dedicated, vendor-neutral icons * Add changelog * Add markdown icon * add docf, oform --- .../unreleased/enhancement-provide-neutral-file-icons | 6 ++++++ .../src/assets/icons/resource-type-document-fill.svg | 4 ++-- .../src/assets/icons/resource-type-form-fill.svg | 8 ++++++++ .../src/assets/icons/resource-type-markdown-fill.svg | 8 ++++++++ .../assets/icons/resource-type-presentation-fill.svg | 5 +++-- .../assets/icons/resource-type-spreadsheet-fill.svg | 9 +++++++-- .../design-system/src/helpers/resourceIconMapping.json | 10 +++++++++- 7 files changed, 43 insertions(+), 7 deletions(-) create mode 100644 changelog/unreleased/enhancement-provide-neutral-file-icons create mode 100644 packages/design-system/src/assets/icons/resource-type-form-fill.svg create mode 100644 packages/design-system/src/assets/icons/resource-type-markdown-fill.svg diff --git a/changelog/unreleased/enhancement-provide-neutral-file-icons b/changelog/unreleased/enhancement-provide-neutral-file-icons new file mode 100644 index 00000000000..bae51121bd8 --- /dev/null +++ b/changelog/unreleased/enhancement-provide-neutral-file-icons @@ -0,0 +1,6 @@ +Enhancement: Provide vendor neutral file icons + +We replaced the icons for Document, Spreadsheet, Presentation, Forms and Markdown + +https://github.com/owncloud/web/pull/9911 +https://github.com/owncloud/web/issues/9847 diff --git a/packages/design-system/src/assets/icons/resource-type-document-fill.svg b/packages/design-system/src/assets/icons/resource-type-document-fill.svg index c3f98fbae96..054cd11d14b 100644 --- a/packages/design-system/src/assets/icons/resource-type-document-fill.svg +++ b/packages/design-system/src/assets/icons/resource-type-document-fill.svg @@ -1,7 +1,7 @@ - - + + diff --git a/packages/design-system/src/assets/icons/resource-type-form-fill.svg b/packages/design-system/src/assets/icons/resource-type-form-fill.svg new file mode 100644 index 00000000000..f29685c1c0e --- /dev/null +++ b/packages/design-system/src/assets/icons/resource-type-form-fill.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/packages/design-system/src/assets/icons/resource-type-markdown-fill.svg b/packages/design-system/src/assets/icons/resource-type-markdown-fill.svg new file mode 100644 index 00000000000..b4fcf0dddba --- /dev/null +++ b/packages/design-system/src/assets/icons/resource-type-markdown-fill.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/packages/design-system/src/assets/icons/resource-type-presentation-fill.svg b/packages/design-system/src/assets/icons/resource-type-presentation-fill.svg index 74f2aec00bc..0d139665735 100644 --- a/packages/design-system/src/assets/icons/resource-type-presentation-fill.svg +++ b/packages/design-system/src/assets/icons/resource-type-presentation-fill.svg @@ -1,7 +1,8 @@ - - + + + diff --git a/packages/design-system/src/assets/icons/resource-type-spreadsheet-fill.svg b/packages/design-system/src/assets/icons/resource-type-spreadsheet-fill.svg index aa37d07a66c..19dd8de1104 100644 --- a/packages/design-system/src/assets/icons/resource-type-spreadsheet-fill.svg +++ b/packages/design-system/src/assets/icons/resource-type-spreadsheet-fill.svg @@ -1,7 +1,12 @@ - - + + + + + + + diff --git a/packages/design-system/src/helpers/resourceIconMapping.json b/packages/design-system/src/helpers/resourceIconMapping.json index 1c6765c280e..5074af30d1e 100644 --- a/packages/design-system/src/helpers/resourceIconMapping.json +++ b/packages/design-system/src/helpers/resourceIconMapping.json @@ -87,6 +87,14 @@ "name": "resource-type-document", "color": "var(--oc-color-icon-document)" }, + "docf": { + "name": "resource-type-form", + "color": "var(--oc-color-icon-document)" + }, + "oform": { + "name": "resource-type-form", + "color": "var(--oc-color-icon-document)" + }, "docm": { "name": "resource-type-document", "color": "var(--oc-color-icon-document)" @@ -196,7 +204,7 @@ "color": "var(--oc-color-icon-document)" }, "md": { - "name": "resource-type-file", + "name": "resource-type-markdown", "color": "var(--oc-color-text-default)" }, "mdb": {