@hopepaddy/dumi-theme
Version:
dumi-theme-hopepaddy is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui
10 lines • 302 B
JavaScript
import { persist } from 'zustand/middleware';
import { shallow } from 'zustand/shallow';
import { createWithEqualityFn } from 'zustand/traditional';
export var useThemeStore = createWithEqualityFn()(persist(function () {
return {
themeMode: 'auto'
};
}, {
name: 'LOBE_DOC_STORE'
}), shallow);