Merge pull request #32936 from overleaf/mj-ce-themes

[web] Enable changing overall themes in SP/CE

GitOrigin-RevId: a6aa35e40826faec1001b658603b9f1cc8b0a50d
This commit is contained in:
Mathias Jakobsen
2026-04-21 08:06:31 +00:00
committed by Copybot
parent 628e05a278
commit 32255a4e6f
8 changed files with 47 additions and 26 deletions
@@ -43,7 +43,10 @@ export default function ThemeToggle() {
checked={overallTheme === theme.val}
onChange={() => setOverallTheme(theme.val)}
/>
<label htmlFor={`theme-switch-${theme.name}`}>
<label
htmlFor={`theme-switch-${theme.name}`}
aria-label={theme.name}
>
<MaterialIcon type={getIcon(theme)} />
</label>
</div>