Skip to content

Commit

Permalink
Merge pull request #10037 from owncloud/document-icons-and-colors
Browse files Browse the repository at this point in the history
feat: add docxf icon mapping and fix document icon colors
  • Loading branch information
JammingBen authored Nov 24, 2023
2 parents ca09be0 + c467aaa commit f5453d6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion changelog/unreleased/enhancement-provide-neutral-file-icons
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,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
https://github.com/owncloud/web/pull/9911
https://github.com/owncloud/web/pull/10037
6 changes: 5 additions & 1 deletion packages/design-system/src/helpers/resourceIconMapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@
"name": "resource-type-document",
"color": "var(--oc-color-icon-document)"
},
"docxf": {
"name": "resource-type-form",
"color": "var(--oc-color-icon-form)"
},
"dot": {
"name": "resource-type-document",
"color": "var(--oc-color-icon-document)"
Expand Down Expand Up @@ -293,7 +297,7 @@
},
"md": {
"name": "resource-type-markdown",
"color": "var(--oc-color-text-default)"
"color": "var(--oc-color-icon-markdown)"
},
"mdb": {
"name": "resource-type-text",
Expand Down
4 changes: 4 additions & 0 deletions packages/design-system/src/tokens/ods/color.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ color:
value: rgb(0, 182, 87)
document:
value: rgb(44, 101, 255)
form:
value: rgb(102, 166, 163)
markdown:
value: rgb(75, 100, 137)
video:
value: rgb(0, 187, 219)
audio:
Expand Down

0 comments on commit f5453d6

Please sign in to comment.