item handling

This commit is contained in:
2025-06-16 22:06:15 +02:00
parent 0b8f2c5532
commit 2972bb9e91
63 changed files with 3975 additions and 979 deletions

View File

@ -12,7 +12,7 @@ export const useUiStore = defineStore('uiStore', () => {
const breakpoints = useBreakpoints(breakpointsTailwind)
const currentScreenSize = computed(() =>
breakpoints.active().value.length > 0 ? breakpoints.active().value : 'xs'
breakpoints.active().value.length > 0 ? breakpoints.active().value : 'xs',
)
const { t } = useI18n({
@ -45,11 +45,14 @@ export const useUiStore = defineStore('uiStore', () => {
const currentTheme = ref(defaultTheme)
const currentThemeValue = computed(() => currentTheme.value.value)
return {
availableThemes,
breakpoints,
currentScreenSize,
currentTheme,
currentThemeValue,
defaultTheme,
}
})