Merge pull request #429 from nextcloud/fix/iconadd_color

Use icon-add in primary-text color
This commit is contained in:
Jan C. Borchardt 2020-06-01 15:53:33 +02:00 committed by GitHub
commit 5daab5170b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"