fix(tui): use sentence case for theme mode command palette items (#21192)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
This commit is contained in:
Ariane Emory
2026-04-07 13:25:13 -04:00
committed by GitHub
parent 5d48e7bd44
commit 2549a38a71

View File

@@ -672,7 +672,7 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
category: "System",
},
{
title: "Toggle Theme Mode",
title: "Toggle theme mode",
value: "theme.switch_mode",
onSelect: (dialog) => {
setMode(mode() === "dark" ? "light" : "dark")
@@ -681,7 +681,7 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
category: "System",
},
{
title: locked() ? "Unlock Theme Mode" : "Lock Theme Mode",
title: locked() ? "Unlock theme mode" : "Lock theme mode",
value: "theme.mode.lock",
onSelect: (dialog) => {
if (locked()) unlock()