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

This commit is contained in:
Utkarsh Patil authored and GitHub committed 2026-08-10 18:02:27 +02:00
1 parent 8de0aa24d9
commit b91a000a17
1 file changed
+8
@@ -475,6 +475,14 @@ export function ThemeLibrary({
activeModes={pickedModesFor(null)}
isActive={false}
key={standardTheme.id}
onDuplicate={() =>
openThemeEditor({
editingThemeId: null,
seedThemeId: null,
seedName: `${standardTheme.label} copy`,
initialAppearance,
})
}
onUse={() => persistTheme(appearanceMode === "system" ? "system" : appearanceMode)}
onUseMode={handlePairPick(null)}
theme={standardTheme}