summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/js/tagsplugin.js4
-rw-r--r--core/css/icons.scss4
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js
index 7e2aecef6fa..747a7245a56 100644
--- a/apps/files/js/tagsplugin.js
+++ b/apps/files/js/tagsplugin.js
@@ -110,10 +110,10 @@
var isFavorite = $file.data('favorite') === true;
if (isFavorite) {
- return 'icon-starred';
+ return 'icon-star-dark';
}
- return 'icon-star';
+ return 'icon-starred';
},
actionHandler: function(fileName, context) {
var $favoriteMarkEl = context.$file.find('.favorite-mark');
diff --git a/core/css/icons.scss b/core/css/icons.scss
index 6d855381fae..c8f61c1422e 100644
--- a/core/css/icons.scss
+++ b/core/css/icons.scss
@@ -348,6 +348,10 @@ img, object, video, button, textarea, input, select {
background-image: url('../img/actions/star.svg?v=1');
}
+.icon-star-dark {
+ background-image: url('../img/actions/star-dark.svg?v=1');
+}
+
.icon-starred {
&:hover, &:focus {
background-image: url('../img/actions/star.svg?v=1');