forked from cybrespace/pinafore
fix: only call Royal the default theme if it is (#970)
This commit is contained in:
parent
30048a7f12
commit
3aee6fb050
|
@ -14,7 +14,7 @@
|
|||
style="background-color: {theme.color};" >
|
||||
</div>
|
||||
<label class="theme-picker-label" for="choice-theme-{theme.name}">
|
||||
{theme.label}
|
||||
{theme.label} {theme.name === DEFAULT_THEME ? '(default)' : ''}
|
||||
</label>
|
||||
</div>
|
||||
{/each}
|
||||
|
@ -94,6 +94,7 @@
|
|||
store: () => store,
|
||||
data: () => ({
|
||||
themes,
|
||||
DEFAULT_THEME,
|
||||
selectedTheme: DEFAULT_THEME
|
||||
}),
|
||||
computed: {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const themes = [
|
||||
{
|
||||
name: 'default',
|
||||
label: 'Royal (default)',
|
||||
label: 'Royal',
|
||||
dark: false,
|
||||
color: 'royalblue'
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue