You've already forked AstralRinth
forked from didirus/AstralRinth
Bring back the old nav (#100)
* Bring back the old nav * Added bool to settings * settings wireup * Fixy fix * fix create btn --------- Co-authored-by: thesuzerain <wverchere@gmail.com> Co-authored-by: Jai A <jaiagr+gpg@pm.me>
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
export const useTheming = defineStore('themeStore', {
|
||||
state: () => ({ themeOptions: ['light', 'dark'], selectedTheme: 'dark', darkTheme: true }),
|
||||
state: () => ({
|
||||
themeOptions: ['light', 'dark'],
|
||||
collapsedNavigation: false,
|
||||
selectedTheme: 'dark',
|
||||
darkTheme: true,
|
||||
}),
|
||||
actions: {
|
||||
setThemeState(newTheme) {
|
||||
if (this.themeOptions.includes(newTheme)) this.selectedTheme = newTheme
|
||||
|
||||
Reference in New Issue
Block a user