feat(web): add duplicate action to the T3 Code default theme (#6013)
This commit is contained in:
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}
|
||||
|
||||
Reference in new issue
Block a user