| ... | @@ -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} |