feat:greyhaven redesign
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
document.documentElement.dataset.theme = themeId
|
||||
document.documentElement.dataset.colorScheme = mode
|
||||
|
||||
if (themeId === "oc-1") return
|
||||
if (themeId === "oc-2") return
|
||||
|
||||
var css = localStorage.getItem("opencode-theme-css-" + themeId + "-" + mode)
|
||||
if (css) {
|
||||
|
||||
@@ -192,7 +192,7 @@ export const { use: useLanguage, provider: LanguageProvider } = createSimpleCont
|
||||
const [store, setStore, _, ready] = persisted(
|
||||
Persist.global("language", ["language.v1"]),
|
||||
createStore({
|
||||
locale: detectLocale() as Locale,
|
||||
locale: "en" as Locale,
|
||||
}),
|
||||
)
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ export const { use: useLayout, provider: LayoutProvider } = createSimpleContext(
|
||||
{ ...target, migrate },
|
||||
createStore({
|
||||
sidebar: {
|
||||
opened: false,
|
||||
opened: true,
|
||||
width: DEFAULT_PANEL_WIDTH,
|
||||
workspaces: {} as Record<string, boolean>,
|
||||
workspacesDefault: false,
|
||||
|
||||
Reference in New Issue
Block a user