Skip to content

Commit

Permalink
feat: add docxf icon mapping and fix document icon colors
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Nov 23, 2023
1 parent 59d4f36 commit c467aaa
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 c467aaa

Please sign in to comment.