Repository navigation
feat(desktop): reorganize theme settings and filter system theme choices - #5737
Conversation
Groups the follow-system toggle and the light/dark pickers at the top with a note explaining the locked theme list, and adds the --editorColor07 theme variable to the default theme and all bundles. Closes marktext#5731
5b4c238 to
cb08284
Compare
|
Thanks. On the separator colour: The preference separator was
If you'd prefer not to add a variable at all, I'm happy to reuse the existing Conflicts: already resolved — the branch is rebased on the latest |

Closes #5731
Summary
Move the follow-system toggle and light/dark theme pickers above the theme previews, with a localized note explaining why manual theme selection is disabled while following the system.
Restrict the light-mode picker to light themes and the dark-mode picker to dark themes using the shared
isDarkThemeIdclassification. Both pickers previously offered every theme, allowing a dark theme to be selected for light mode and vice versa.Use the existing
--tableBorderColorfor the 1px preference separator. No new theme color variables or aliases are introduced.Validation
pnpm run lint— passed (existing warnings only).pnpm run typecheck— passed.followSystemNotein all 12 source and compiled locales.Screenshots
Screenshots show the layout; they predate the separator color reuse and filtering of light/dark picker options.