diff options
author | Joas Schilling <coding@schilljs.com> | 2020-02-18 08:54:00 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-02-18 08:54:00 +0300 |
commit | 024486aee8e57b682125a3e26f0d133672752835 (patch) | |
tree | 5510bdcd211a0809ee073c42c5762570f88aa3db | |
parent | 179f55f440e212f28e29513e3a439a4a511f5c37 (diff) |
Fix icon in dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | css/icons.scss | 7 | ||||
-rw-r--r-- | src/components/RightSidebar/RightSidebar.vue | 3 |
2 files changed, 2 insertions, 8 deletions
diff --git a/css/icons.scss b/css/icons.scss index 3cea3fcce..5bbdcd38c 100644 --- a/css/icons.scss +++ b/css/icons.scss @@ -7,6 +7,7 @@ @include icon-black-white('bell-outline', 'spreed', 1); @include icon-black-white('emoji-smile', 'spreed', 1); @include icon-black-white('lobby', 'spreed', 1); +@include icon-black-white('text', 'filetypes', 1, true); .app-Talk, .talk-modal, @@ -69,12 +70,6 @@ } } - .forced-themed { - .icon-file { - background-image: url(icon-color-path('text', 'filetypes', $color-black, 1, true)); - } - } - .icon-favorite { /* Show favorite icon in yellow instead of default black. */ @include icon-color('star-dark', 'actions', 'FC0', 1, true); diff --git a/src/components/RightSidebar/RightSidebar.vue b/src/components/RightSidebar/RightSidebar.vue index aee526dcc..41029263f 100644 --- a/src/components/RightSidebar/RightSidebar.vue +++ b/src/components/RightSidebar/RightSidebar.vue @@ -34,8 +34,7 @@ v-slot:secondary-actions> <ActionLink v-if="isFileConversation" - icon="icon-file" - class="forced-themed" + icon="icon-text" :href="linkToFile"> {{ t('spreed', 'Go to file') }} </ActionLink> |