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

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
pull/20934/merge
Ariane Emory 2026-04-07 13:25:13 -04:00 committed by GitHub
parent 5d48e7bd44
commit 2549a38a71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

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()