Skip to content

Commit b16f109

Browse files
authored
Merge pull request #10460 from nextcloud/bugfix/10443/theming-icons
Use icon mixins for the theming scss
2 parents eedfb0d + 5d7c0b8 commit b16f109

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

apps/theming/css/theming.scss

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,19 @@
2727
filter: none;
2828
}
2929
.searchbox input[type="search"] {
30-
background: transparent url('../../../core/img/actions/search.svg') no-repeat 6px center;
30+
background-repeat: no-repeat;
31+
background-position: 6px center;
32+
background-color: transparent;
33+
@include icon-color('search', 'actions', $color-black, 1, true);
3134
}
3235
#contactsmenu .icon-contacts {
33-
background-image: url('../../../core/img/places/contacts-dark.svg');
36+
@include icon-color('contacts', 'places', $color-black, 1, true);
3437
}
3538
#settings .icon-settings-white {
36-
background-image: url('../../../core/img/actions/settings-dark.svg');
39+
@include icon-color('settings', 'actions', $color-black, 1, true);
3740
}
3841
#appmenu .icon-more-white {
39-
background-image: url('../../../core/img/actions/more.svg');
42+
@include icon-color('more', 'actions', $color-black, 1, true);
4043
}
4144

4245
#body-login {
@@ -64,8 +67,8 @@
6467
}
6568
input[type='checkbox'].checkbox--white:checked + label:before {
6669
border-color: nc-darken($color-primary-element, 30%) !important;
67-
background-image: url('../../../core/img/actions/checkbox-mark.svg');
6870
background-color: nc-darken($color-primary-element, 30%) !important;
71+
@include icon-color('checkbox-mark', 'actions', $color-white, 1, true);
6972
}
7073
}
7174
} @else {

0 commit comments

Comments
 (0)