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

Add root file type icon #2158

Merged
merged 1 commit into from
May 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)