Skip to content

Commit 31a9bb3

Browse files
Copilothotlong
andcommitted
Fix remaining gradient colors missed in code review
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 52be163 commit 31a9bb3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/playground/src/pages/MyDesigns.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ export const MyDesigns = () => {
413413
<button
414414
onClick={handleImport}
415415
disabled={!importJson.trim()}
416-
className="px-4 py-2 text-sm font-bold text-white bg-primary text-primary-foreground hover:bg-primary/90 rounded-xl shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed"
416+
className="px-4 py-2 text-sm font-bold bg-primary text-primary-foreground hover:bg-primary/90 rounded-xl shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed"
417417
>
418418
Import
419419
</button>
@@ -448,7 +448,7 @@ export const MyDesigns = () => {
448448
</button>
449449
<button
450450
onClick={confirmDelete}
451-
className="px-4 py-2 text-sm font-bold text-white bg-gradient-to-r from-red-600 to-pink-600 hover:from-red-700 hover:to-pink-700 rounded-xl shadow-lg transition-all"
451+
className="px-4 py-2 text-sm font-bold bg-destructive text-destructive-foreground hover:bg-destructive/90 rounded-xl shadow-lg transition-all"
452452
>
453453
Delete Design
454454
</button>

apps/playground/src/pages/Studio.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ const StudioToolbarContext = ({
244244
className={`flex items-center gap-2 px-4 py-2 text-xs font-bold rounded-xl transition-all shadow-lg ${
245245
copied
246246
? 'bg-primary text-primary-foreground hover:bg-primary/90 shadow-lg'
247-
: 'bg-gradient-to-r from-indigo-600 to-purple-600 text-white hover:from-indigo-700 hover:to-purple-700 shadow-indigo-300/50'
247+
: 'bg-primary text-primary-foreground hover:bg-primary/90 shadow-lg'
248248
}`}
249249
>
250250
{copied ? <Check className="h-4 w-4" /> : <Copy className="h-4 w-4" />}

0 commit comments

Comments
 (0)