-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update base layers and Vuetify theme
- Loading branch information
1 parent
f4ca2fd
commit ab8bdf8
Showing
3 changed files
with
67 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
import 'vuetify/styles' | ||
import { createVuetify } from 'vuetify' | ||
import colors from "vuetify/lib/util/colors"; | ||
import colors from 'vuetify/lib/util/colors' | ||
import { aliases, mdi } from 'vuetify/iconsets/mdi-svg' | ||
// import colors from 'vuetify/lib/util/colors' | ||
|
||
// https://vuetifyjs.com/en/features/theme/#javascript | ||
// https://vuetifyjs.com/en/styles/colors/#javascript-color-pack | ||
|
||
const dark = { | ||
dark: true, | ||
colors:{ | ||
primary: "#009688", | ||
secondary: "#607D8B", | ||
accent: "#2196F3", | ||
error: "#FF1744", | ||
success: "#00BFA5", | ||
info: "#607D8B", | ||
navbar: "#37474F", | ||
colors: { | ||
primary: colors.teal.base, | ||
secondary: colors.blueGrey.base, | ||
accent: colors.blue.base, | ||
error: colors.red.accent3, | ||
success: colors.teal.accent4, | ||
info: colors.blueGrey.lighten1, | ||
navbar: colors.blueGrey.darken4 | ||
} | ||
} | ||
|
||
const light = { | ||
dark: false, | ||
colors:{ | ||
primary: "#1976d2", | ||
colors: { | ||
primary: colors.blue.darken2, | ||
secondary: colors.blueGrey.lighten4, | ||
accent: "#2196F3", | ||
error: "#FF1744", | ||
success: "#00BFA5", | ||
info: "#607D8B", | ||
navbar: colors.blueGrey.lighten4, | ||
accent: colors.blue.base, | ||
error: colors.red.accent3, | ||
success: colors.teal.accent4, | ||
info: colors.blueGrey.base, | ||
navbar: colors.blueGrey.lighten1 | ||
} | ||
} | ||
|
||
export default createVuetify({ | ||
theme: { | ||
defaultTheme: 'dark', | ||
defaultTheme: 'light', | ||
themes: { | ||
light, | ||
dark, | ||
dark | ||
} | ||
}, | ||
icons: { | ||
defaultSet: 'mdi', | ||
aliases, | ||
sets: { | ||
mdi, | ||
}, | ||
}, | ||
mdi | ||
} | ||
} | ||
}) |