diff --git a/css/deck.css b/css/deck.css new file mode 100644 index 000000000..601eb98f3 --- /dev/null +++ b/css/deck.css @@ -0,0 +1,16 @@ +.icon-deck { + background-image: url(../img/deck-dark.svg); +} + +.icon-deck-white, .icon-deck.icon-white { + background-image: url(../img/deck.svg); +} + +body[data-theme-dark] .icon-deck { + background-image: url(../img/deck.svg); +} + +body[data-theme-dark] .icon-deck-white, +body[data-theme-dark] .icon-deck.icon-white { + background-image: url(../img/deck-dark.svg); +} diff --git a/css/deck.scss b/css/deck.scss deleted file mode 100644 index c142c3fbf..000000000 --- a/css/deck.scss +++ /dev/null @@ -1 +0,0 @@ -@include icon-black-white('deck', 'deck', 1); diff --git a/css/globalstyles.scss b/css/globalstyles.scss deleted file mode 100644 index 9fd0a5d9c..000000000 --- a/css/globalstyles.scss +++ /dev/null @@ -1,28 +0,0 @@ -/* - * @copyright Copyright (c) 2016 Julius Härtl - * - * @author Julius Härtl - * @author Artem Anufrij - * @author Marin Treselj - * @author Oskar Kurz - * @author Ryan Fletcher - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - */ - -@import 'icons'; -@import 'print'; diff --git a/css/icons.scss b/css/icons.scss deleted file mode 100644 index 6f2f35167..000000000 --- a/css/icons.scss +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Custom icons - */ -@include icon-black-white('deck', 'deck', 1); -@include icon-black-white('archive', 'deck', 1); -@include icon-black-white('circles', 'deck', 1); -@include icon-black-white('clone', 'deck', 1); -@include icon-black-white('filter', 'deck', 1); -@include icon-black-white('filter_set', 'deck', 1); -@include icon-black-white('attach', 'deck', 1); -@include icon-black-white('reply', 'deck', 1); -@include icon-black-white('notifications-dark', 'deck', 1); -@include icon-black-white('description', 'deck', 1); - -.icon-toggle-compact-collapsed { - @include icon-color('toggle-view-expand', 'deck', $color-black); -} - -.icon-toggle-compact-expanded { - @include icon-color('toggle-view-collapse', 'deck', $color-black); -} -.icon-activity { - @include icon-color('activity-dark', 'activity', $color-black); -} -.icon-comment--unread { - @include icon-color('comment', 'actions', $color-primary, 1, true); -} - -.avatardiv.circles { - background: var(--color-primary); -} - -.icon-circles { - opacity: 1; - background-size: 20px; - background-position: center center; -} - -.icon-colorpicker { - background-image: url('../img/color_picker.svg'); -} diff --git a/img/activity-dark.svg b/img/activity-dark.svg new file mode 100644 index 000000000..ee6ebdf11 --- /dev/null +++ b/img/activity-dark.svg @@ -0,0 +1,4 @@ + + + + diff --git a/img/activity.svg b/img/activity.svg new file mode 100644 index 000000000..df76fb137 --- /dev/null +++ b/img/activity.svg @@ -0,0 +1,4 @@ + + + + diff --git a/img/archive-white.svg b/img/archive-white.svg deleted file mode 100644 index ef4c7baa6..000000000 --- a/img/archive-white.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/img/archive.svg b/img/archive.svg deleted file mode 100644 index 63079a4c4..000000000 --- a/img/archive.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/img/circles-dark.svg b/img/circles-dark.svg new file mode 100644 index 000000000..30035d9dc --- /dev/null +++ b/img/circles-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/circles.svg b/img/circles.svg index 30035d9dc..1fe9999e2 100644 --- a/img/circles.svg +++ b/img/circles.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/img/clone.svg b/img/clone.svg deleted file mode 100644 index 469fd1beb..000000000 --- a/img/clone.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/img/reply.svg b/img/reply.svg deleted file mode 100644 index a198103b8..000000000 --- a/img/reply.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 96c622636..e119cbc49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,6 +38,7 @@ "vue-click-outside": "^1.1.0", "vue-easymde": "^2.0.0", "vue-infinite-loading": "^2.4.5", + "vue-material-design-icons": "^5.0.0", "vue-router": "^3.5.3", "vue-smooth-dnd": "^0.8.1", "vuex": "^3.6.2", diff --git a/package.json b/package.json index f60f2f98a..a026650c6 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "vue-click-outside": "^1.1.0", "vue-easymde": "^2.0.0", "vue-infinite-loading": "^2.4.5", + "vue-material-design-icons": "^5.0.0", "vue-router": "^3.5.3", "vue-smooth-dnd": "^0.8.1", "vuex": "^3.6.2", diff --git a/src/App.vue b/src/App.vue index 10b1aed05..4061610b0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -42,7 +42,6 @@