-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththemeConfig.ts
More file actions
49 lines (44 loc) · 1.75 KB
/
themeConfig.ts
File metadata and controls
49 lines (44 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import { breakpointsVuetify } from '@vueuse/core'
import { VIcon } from 'vuetify/components/VIcon'
// ❗ Logo SVG must be imported with ?raw suffix
import { defineThemeConfig } from '@core'
import { RouteTransitions, Skins } from '@core/enums'
import { AppContentLayoutNav, ContentWidth, FooterType, NavbarType } from '@layouts/enums'
export const { themeConfig, layoutConfig } = defineThemeConfig({
app: {
title: 'intranet',
// ❗ if you have SVG logo and want it to adapt according to theme color, you have to apply color as `color: rgb(var(--v-global-theme-primary))`
logo: h('div', { innerHTML: '<img src="/logo.png" height="35px">', style: 'line-height:0; color: rgb(var(--v-global-theme-primary))' }),
contentWidth: ContentWidth.Boxed,
contentLayoutNav: AppContentLayoutNav.Vertical,
overlayNavFromBreakpoint: breakpointsVuetify.md + 16, // 16 for scrollbar. Docs: https://next.vuetifyjs.com/en/features/display-and-platform/
enableI18n: true,
theme: 'light',
isRtl: false,
skin: Skins.Default,
routeTransition: RouteTransitions.Fade,
iconRenderer: VIcon,
},
navbar: {
type: NavbarType.Sticky,
navbarBlur: true,
},
footer: { type: FooterType.Static },
verticalNav: {
isVerticalNavCollapsed: false,
defaultNavItemIconProps: { icon: 'mdi-circle-outline' },
isVerticalNavSemiDark: false,
},
horizontalNav: {
type: 'sticky',
transition: 'slide-y-reverse-transition',
},
icons: {
chevronDown: { icon: 'mdi-chevron-down' },
chevronRight: { icon: 'mdi-chevron-right' },
close: { icon: 'mdi-close' },
verticalNavPinned: { icon: 'mdi-radiobox-marked' },
verticalNavUnPinned: { icon: 'mdi-radiobox-blank' },
sectionTitlePlaceholder: { icon: 'mdi-minus' },
},
})