Use icon-add in primary-text color

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
This commit is contained in:
Jonas Rittershofer 2020-05-30 13:30:00 +02:00
parent a7641c9e75
commit 8083e70d1c
2 changed files with 8 additions and 1 deletions

View file

@ -49,3 +49,10 @@
.icon-maybe {
@include icon-color('maybe-vote-variant', 'forms', $color-warning);
}
.icon-add-primary::before {
content: '';
background-image: url(icon-color-path('add', 'actions', $color-primary-text, 1, true));
width: 16px;
height: 16px;
}

View file

@ -103,7 +103,7 @@
:open.sync="questionMenuOpened"
:menu-title="t('forms', 'Add a question')"
:primary="true"
:default-icon="isLoadingQuestions ? 'icon-loading-small' : 'icon-add-white'">
:default-icon="isLoadingQuestions ? 'icon-loading-small' : 'icon-add-primary'">
<ActionButton v-for="(answer, type) in answerTypes"
:key="answer.label"
:close-after-click="true"