Browse Source

chore(nc-gui): update comment

pull/3669/head
braks 2 years ago committed by Raju Udava
parent
commit
da3a7a5576
  1. 2
      packages/nc-gui/composables/useTheme/index.ts

2
packages/nc-gui/composables/useTheme/index.ts

@ -16,7 +16,7 @@ export const useTheme = createGlobalState((config?: Partial<ThemeConfig>) => {
/** set initial config */
setTheme(config ?? currentTheme.value)
/** set theme (persists in localstorage) */
/** set theme */
function setTheme(theme?: Partial<ThemeConfig>) {
const themePrimary = theme?.primaryColor ? tinycolor(theme.primaryColor) : tinycolor(themeV2Colors['royal-blue'].DEFAULT)
const themeAccent = theme?.accentColor ? tinycolor(theme.accentColor) : tinycolor(themeV2Colors.pink['500'])

Loading…
Cancel
Save