Skip to content

Commit 3bc02cc

Browse files
committed
fix: use theme primary color for toolbar
1 parent feac192 commit 3bc02cc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/fixture/layouts/default.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-app id="inspire" dark>
2+
<v-app dark>
33
<v-navigation-drawer v-model="drawer" fixed clipped app>
44
<v-list>
55
<v-list-item v-for="item in items" :key="item.text" link>
@@ -45,7 +45,7 @@
4545
</v-list-item>
4646
</v-list>
4747
</v-navigation-drawer>
48-
<v-app-bar color="red" dense fixed clipped-left app>
48+
<v-app-bar color="primary" dense fixed clipped-left app>
4949
<v-app-bar-nav-icon @click.stop="drawer = !drawer" />
5050
<v-icon class="mx-3">
5151
mdi-youtube

test/fixture/nuxt.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const { resolve } = require('path')
2+
const colors = require('vuetify/es5/util/colors').default
23

34
module.exports = {
45
rootDir: resolve(__dirname, '../..'),
@@ -18,7 +19,7 @@ module.exports = {
1819
dark: true,
1920
themes: {
2021
dark: {
21-
primary: '#ff0000'
22+
primary: colors.red
2223
}
2324
}
2425
}

0 commit comments

Comments
 (0)