@hperchec/scorpion-ui-template-default
Version:
Scorpion UI - Default template
59 lines (57 loc) • 1.4 kB
JavaScript
import GLOBALS from '../globals.config.json'
export default {
/**
* Globals
*/
globals: GLOBALS,
/**
* System
*/
system: {
/**
* Default theme
* @type {string}
* @default 'auto'
* @description Can be 'light', 'dark', 'auto', or any app theme identifier (kebabcase).
* See also ->
*/
defaultTheme: 'auto', // 'light', 'dark' or 'auto'
/**
* Fallback theme
* @type {string}
* @default 'light''
* @description Fallback theme (!! Cannot be 'auto' !!)
* (based on available themes defined in the globals.config.json file)
*/
fallbackTheme: 'light' // '<theme>' (in kebab-case format)
},
/**
* Authentication
*/
auth: {
/**
* oAuth access token identifier (in browser LocalStorage)
* @default 'app_access_token'
* @type {string}
*/
accessTokenKey: 'app_access_token',
/**
* oAuth refresh token identifier (in browser LocalStorage)
* @default 'app_refresh_token'
* @type {string}
*/
refreshTokenKey: 'app_refresh_token'
},
/**
* Tailwind
*/
tailwind: {
/**
* Tailwind configuration file
* See also tailwind documentation (https://v2.tailwindcss.com/docs/configuration)
* @type {Object}
* @default undefined
*/
config: undefined
}
}