AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.
HTML ai-agentcloudflarecloudflare-d1cloudflare-r2cloudflare-workersdockerelectronevernoteevernote-alternativeknowledge-basemcpnote-takingobsidian-alternativeoffline-firstpersonal-knowledge-basepwaself-hostedsqlitetiptapweb-clipper
Polish mobile settings controls
yoma668b9fb6ae33
diff --git a/apps/web/src/components/SettingsPane.tsx b/apps/web/src/components/SettingsPane.tsxindex 84731159..9081a0b4 100644--- a/apps/web/src/components/SettingsPane.tsx+++ b/apps/web/src/components/SettingsPane.tsx@@ -56,10 +56,9 @@ export const SettingsPane = ({<User className="h-4 w-4 text-emerald-700" />{t("settings.title")}</h1>- <p className="mt-0.5 truncate text-xs font-medium text-slate-400">{t("settings.subtitle")}</p></div></div>- <ThemeToggle className="inline-flex" />+ <ThemeToggle className="inline-flex" showLabel /></header><div className="min-w-0 flex-1 overflow-x-hidden overflow-y-auto px-4 py-4 lg:px-6 lg:py-6">diff --git a/apps/web/src/components/ThemeToggle.tsx b/apps/web/src/components/ThemeToggle.tsxindex ecb90204..55c02f6a 100644--- a/apps/web/src/components/ThemeToggle.tsx+++ b/apps/web/src/components/ThemeToggle.tsx@@ -4,7 +4,7 @@ import { Button } from "@/components/ui/button";import { cn } from "@/lib/utils";import { useTheme } from "./ThemeProvider";-export const ThemeToggle = ({ className }: { className?: string }) => {+export const ThemeToggle = ({ className, showLabel = false }: { className?: string; showLabel?: boolean }) => {const { t } = useTranslation();const { resolvedTheme, setPreference } = useTheme();const nextTheme = resolvedTheme === "dark" ? "light" : "dark";@@ -14,15 +14,17 @@ export const ThemeToggle = ({ className }: { className?: string }) => {<ButtonclassName={cn("hidden h-8 w-8 text-slate-600 transition-colors hover:bg-slate-100 hover:text-slate-950 focus-visible:ring-2 focus-visible:ring-slate-300 lg:inline-flex",+ showLabel && "h-9 w-auto gap-2 px-3 lg:h-8 lg:w-8 lg:gap-0 lg:px-0",className)}- size="icon"+ size={showLabel ? "sm" : "icon"}variant="ghost"title={label}aria-label={label}onClick={() => setPreference(nextTheme)}>{resolvedTheme === "dark" ? <SunMedium className="h-5 w-5" strokeWidth={2.25} /> : <MoonStar className="h-5 w-5" strokeWidth={2.25} />}+ {showLabel && <span className="inline text-xs font-medium lg:hidden">{label}</span>}</Button>);};diff --git a/apps/web/src/components/settings/PreferenceCard.tsx b/apps/web/src/components/settings/PreferenceCard.tsxindex 498141c3..546774a5 100644--- a/apps/web/src/components/settings/PreferenceCard.tsx+++ b/apps/web/src/components/settings/PreferenceCard.tsx@@ -85,7 +85,7 @@ export const PreferenceCard = ({</div></div>- <div className="flex min-h-14 flex-col items-start gap-3 rounded-lg border border-slate-100 bg-slate-50/70 px-4 py-3 sm:flex-row sm:items-center sm:justify-between sm:gap-4">+ <div className="hidden min-h-14 flex-col items-start gap-3 rounded-lg border border-slate-100 bg-slate-50/70 px-4 py-3 lg:flex lg:flex-row lg:items-center lg:justify-between lg:gap-4"><div className="min-w-0"><div className="text-sm font-semibold text-slate-900">{t("settings.themeTitle")}</div><div className="mt-0.5 text-xs leading-4 text-slate-500">{t("settings.themeDescription")}</div>@@ -106,10 +106,12 @@ export const PreferenceCard = ({</Select></div></div>- <ShortcutSettingsItem- shortcutSettings={shortcutSettings}- onShortcutSettingsChange={onShortcutSettingsChange}- />+ <div className="hidden lg:block">+ <ShortcutSettingsItem+ shortcutSettings={shortcutSettings}+ onShortcutSettingsChange={onShortcutSettingsChange}+ />+ </div></CardContent></Card>);