added theme color

This commit is contained in:
Ben Arc 2021-06-30 22:48:47 +01:00
parent 27a0b64b03
commit bf26bf963f
2 changed files with 8 additions and 4 deletions

View file

@ -41,10 +41,14 @@ $themes: (
)
);
[data-theme='quasar'] .q-drawer--dark {
[data-theme='salvador'] .q-drawer--dark {
background: #121212 !important;
}
[data-theme='salvador'] .q-header {
background: #0f47af !important;
}
@each $theme, $colors in $themes {
@each $name, $color in $colors {
@if $name == 'dark' {

View file

@ -102,11 +102,11 @@
<q-btn
dense
flat
@click="changeColor('quasar')"
@click="changeColor('salvador')"
icon="format_color_fill"
color="blue"
color="blue-10"
size="md"
><q-tooltip>quasar</q-tooltip>
><q-tooltip>elSalvador</q-tooltip>
</q-btn>
</div>
</q-btn-dropdown>