Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Add root file type icon
Browse files Browse the repository at this point in the history
Apply suggestions from code review

Co-authored-by: elizavetaRa <[email protected]>
  • Loading branch information
javfg and elizavetaRa committed May 31, 2022
1 parent adf07c4 commit 0fa694c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/enhancement-add-root-file-icon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Add ROOT file icon

We've added an icon for files of ROOT type. ROOT is a software suite designed
for data analysis in particle physics, astronomy and other sciences.

https://github.com/owncloud/owncloud-design-system/pull/2158
9 changes: 9 additions & 0 deletions src/assets/icons/resource-type-root-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/helpers/resourceIconColorExtensionMapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"psd": "var(--oc-color-icon-image)",
"py": "var(--oc-color-text-default)",
"rar": "var(--oc-color-icon-archive)",
"root": "var(--oc-color-icon-root)",
"rss": "var(--oc-color-text-default)",
"sh": "var(--oc-color-text-default)",
"sh-lib": "var(--oc-color-text-default)",
Expand Down
1 change: 1 addition & 0 deletions src/helpers/resourceIconExtensionMapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"psd": "image",
"py": "code",
"rar": "archive",
"root": "root",
"rss": "file",
"scss": "code",
"sh": "code",
Expand Down
2 changes: 2 additions & 0 deletions src/tokens/ods/color.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,5 @@ color:
value: rgb(255, 64, 6)
pdf:
value: rgb(225, 5, 14)
root:
value: rgb(0, 187, 219)

0 comments on commit 0fa694c

Please sign in to comment.