Dark sidebar header (#1156)

* add dark mode in sidebar and header

* add dark theme in blade file
This commit is contained in:
Yash Kanakiya
2023-03-20 15:50:27 +05:30
committed by GitHub
parent 98196194e2
commit 15f3f566e3
6 changed files with 167 additions and 38 deletions

View File

@ -34,6 +34,7 @@ export const useGlobalStore = (useWindow = false) => {
isAppLoaded: false,
isSidebarOpen: false,
areCurrenciesLoading: false,
isDarkModeOn: false,
downloadReport: null,
}),
@ -70,8 +71,8 @@ export const useGlobalStore = (useWindow = false) => {
moduleStore.apiToken = response.data.global_settings.api_token
moduleStore.enableModules = response.data.modules
// company store
companyStore.companies = response.data.companies
// company store
companyStore.companies = response.data.companies
companyStore.selectedCompany = response.data.current_company
companyStore.setSelectedCompany(response.data.current_company)
companyStore.selectedCompanySettings =