Changed theme order to default to classic

This commit is contained in:
Ben Arc 2022-02-17 21:46:51 +00:00
parent e9065833c0
commit 573c4cf5ea
2 changed files with 18 additions and 17 deletions

View File

@ -1,12 +1,4 @@
$themes: (
'bitcoin': (
primary: #ff9853,
secondary: #ff7353,
dark: #2d293b,
info: #333646,
marginal-bg: #2d293b,
marginal-text: #fff
),
'classic': (
primary: #673ab7,
secondary: #9c27b0,
@ -15,6 +7,14 @@ $themes: (
marginal-bg: #1f2234,
marginal-text: #fff
),
'bitcoin': (
primary: #ff9853,
secondary: #ff7353,
dark: #2d293b,
info: #333646,
marginal-bg: #2d293b,
marginal-text: #fff
),
'mint': (
primary: #3ab77d,
secondary: #27b065,

View File

@ -59,6 +59,16 @@
class="q-pl-md"
>
<div class="row no-wrap q-pa-md">
<q-btn
v-if="g.allowedThemes.includes('classic')"
dense
flat
@click="changeColor('classic')"
icon="format_color_fill"
color="deep-purple"
size="md"
><q-tooltip>classic</q-tooltip>
</q-btn>
<q-btn
v-if="g.allowedThemes.includes('bitcoin')"
dense
@ -70,15 +80,6 @@
><q-tooltip>bitcoin</q-tooltip>
</q-btn>
<q-btn
v-if="g.allowedThemes.includes('classic')"
dense
flat
@click="changeColor('classic')"
icon="format_color_fill"
color="deep-purple"
size="md"
><q-tooltip>classic</q-tooltip> </q-btn
><q-btn
v-if="g.allowedThemes.includes('mint')"
dense
flat