From 3907c479b268427377059fd93c7a6e00ad4278d8 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Fri, 3 Nov 2023 19:04:32 +0100 Subject: [PATCH 1/4] Provide dedicated, vendor-neutral icons --- .../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 ++++++++ .../src/assets/icons/resource-type-presentation-fill.svg | 5 +++-- .../src/assets/icons/resource-type-spreadsheet-fill.svg | 9 +++++++-- 5 files changed, 28 insertions(+), 6 deletions(-) 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/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 @@ - - + + + + + + + From e62d032ce0c6fdf580ece2c014880d0487844999 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Fri, 3 Nov 2023 19:10:01 +0100 Subject: [PATCH 2/4] Add changelog --- changelog/unreleased/enhancement-provide-neutral-file-icons | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelog/unreleased/enhancement-provide-neutral-file-icons 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 From fd00d4766128ff56c1a16eaaa76375bb78d77964 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Fri, 3 Nov 2023 19:19:38 +0100 Subject: [PATCH 3/4] Add markdown icon --- packages/design-system/src/helpers/resourceIconMapping.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/design-system/src/helpers/resourceIconMapping.json b/packages/design-system/src/helpers/resourceIconMapping.json index 1c6765c280e..dac36b94cec 100644 --- a/packages/design-system/src/helpers/resourceIconMapping.json +++ b/packages/design-system/src/helpers/resourceIconMapping.json @@ -196,7 +196,7 @@ "color": "var(--oc-color-icon-document)" }, "md": { - "name": "resource-type-file", + "name": "resource-type-markdown", "color": "var(--oc-color-text-default)" }, "mdb": { From 20adc4f985550b7de38a38f23d28a98f5e157660 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Mon, 6 Nov 2023 10:17:12 +0100 Subject: [PATCH 4/4] add docf, oform --- .../design-system/src/helpers/resourceIconMapping.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/design-system/src/helpers/resourceIconMapping.json b/packages/design-system/src/helpers/resourceIconMapping.json index dac36b94cec..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)"