mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 20:21:10 -04:00
Dark mode fix issue (#1211)
* fix dark mode in item row and switch issue * change class for create items title issue * fix indentation and remove console log --------- Co-authored-by: yogesh-gohil <yogeshgohil1611@gmail.com>
This commit is contained in:
@ -14,7 +14,7 @@ export const useGlobalStore = defineStore({
|
||||
companySlug: '',
|
||||
mainMenu: null,
|
||||
enabledModules: [],
|
||||
isDarkModeOn: false
|
||||
isDarkModeOn: localStorage.getItem('theme') === 'dark' || document.documentElement.classList.contains('dark')
|
||||
}),
|
||||
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user