40 lines
1.7 KiB
JavaScript
40 lines
1.7 KiB
JavaScript
import {isBranch} from './src/utils'
|
|
import Vue from 'vue'
|
|
import Vuesax from 'vuesax'
|
|
// MAIN COLORS - VUESAX THEME COLORS
|
|
export const colors = {
|
|
primary : '#000',
|
|
secondary : '#d4a851',
|
|
third : '#f5cb55',
|
|
//primary : '#FF9800',
|
|
// primary : '#7367F0',
|
|
success : '#28C76F',
|
|
danger : '#EA5455',
|
|
warning : '#FF9F43',
|
|
dark : '#1E1E1E'
|
|
}
|
|
|
|
//console.log(process.env.NODE_ENV,"100000")
|
|
|
|
// CONFIGS
|
|
const themeConfig = {
|
|
disableCustomizer : false, // options[Boolean] : true, false(default)
|
|
disableThemeTour : true, // options[Boolean] : true, false(default)
|
|
footerType : 'hidden', // options[String] : static(default) / sticky / hidden
|
|
hideScrollToTop : false, // options[Boolean] : true, false(default)
|
|
mainLayoutType : isBranch() ? 'horizontal' : 'vertical' , // options[String] : vertical(default) / horizontal
|
|
navbarColor : '#fff', // options[String] : HEX color / rgb / rgba / Valid HTML Color name - (default: #fff)
|
|
navbarType : 'floating', // options[String] : floating(default) / static / sticky / hidden
|
|
routerTransition : 'zoom-fade', // options[String] : zoom-fade / slide-fade / fade-bottom / fade / zoom-out / none(default)
|
|
rtl : true, // options[Boolean] : true, false(default)
|
|
sidebarCollapsed : false, // options[Boolean] : true, false(default)
|
|
theme : 'light', // options[String] : "light"(default), "dark", "semi-dark"
|
|
// Not required yet - WIP
|
|
userInfoLocalStorageKey: 'userInfo'
|
|
// NOTE: themeTour will be disabled in screens < 1200. Please refer docs for more info.
|
|
}
|
|
|
|
Vue.use(Vuesax, { theme:{ colors }, rtl: themeConfig.rtl })
|
|
|
|
export default themeConfig
|