authorgravatar for 73941998+UtkarshUsername@users.noreply.github.comUtkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com> 2026-08-10 21:32:27+05:30
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-10 18:02:27+02:00
logb91a000a17ddb4937397151a0a39a07990ad6473
tree25f5e4201da13065c0cc5924ddaa5e0ea093e568
parent8de0aa24d9b09b3dff9e3378222877cbfff41ae0
signature Signed by PGP key B5690EEEBB952194

feat(web): add duplicate action to the T3 Code default theme (#6013)


1 files changed, 8 insertions(+), 0 deletions(-)

apps/web/src/components/settings/ThemeSettings.tsx+8
...@@ -475,6 +475,14 @@ export function ThemeLibrary({...@@ -475,6 +475,14 @@ export function ThemeLibrary({
475 activeModes={pickedModesFor(null)}475 activeModes={pickedModesFor(null)}
476 isActive={false}476 isActive={false}
477 key={standardTheme.id}477 key={standardTheme.id}
478 onDuplicate={() =>
479 openThemeEditor({
480 editingThemeId: null,
481 seedThemeId: null,
482 seedName: `${standardTheme.label} copy`,
483 initialAppearance,
484 })
485 }
478 onUse={() => persistTheme(appearanceMode === "system" ? "system" : appearanceMode)}486 onUse={() => persistTheme(appearanceMode === "system" ? "system" : appearanceMode)}
479 onUseMode={handlePairPick(null)}487 onUseMode={handlePairPick(null)}
480 theme={standardTheme}488 theme={standardTheme}