diff --git a/changelog/unreleased/enhancement-add-root-file-icon b/changelog/unreleased/enhancement-add-root-file-icon new file mode 100644 index 000000000..38f2566b9 --- /dev/null +++ b/changelog/unreleased/enhancement-add-root-file-icon @@ -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 diff --git a/src/assets/icons/resource-type-root-fill.svg b/src/assets/icons/resource-type-root-fill.svg new file mode 100644 index 000000000..61b9c41cc --- /dev/null +++ b/src/assets/icons/resource-type-root-fill.svg @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/src/helpers/resourceIconColorExtensionMapping.json b/src/helpers/resourceIconColorExtensionMapping.json index 28c1981ae..1e8040ea9 100644 --- a/src/helpers/resourceIconColorExtensionMapping.json +++ b/src/helpers/resourceIconColorExtensionMapping.json @@ -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)", diff --git a/src/helpers/resourceIconExtensionMapping.json b/src/helpers/resourceIconExtensionMapping.json index de28c3dfc..860fe219d 100644 --- a/src/helpers/resourceIconExtensionMapping.json +++ b/src/helpers/resourceIconExtensionMapping.json @@ -79,6 +79,7 @@ "psd": "image", "py": "code", "rar": "archive", + "root": "root", "rss": "file", "scss": "code", "sh": "code", diff --git a/src/tokens/ods/color.yaml b/src/tokens/ods/color.yaml index 209ab2216..a96e0ee02 100644 --- a/src/tokens/ods/color.yaml +++ b/src/tokens/ods/color.yaml @@ -139,3 +139,5 @@ color: value: rgb(255, 64, 6) pdf: value: rgb(225, 5, 14) + root: + value: rgb(0, 187, 219)