Stijnus
commited on
Commit
·
308f363
1
Parent(s):
a286e3b
Update UpdateTab.tsx
Browse files
app/components/settings/update/UpdateTab.tsx
CHANGED
@@ -502,7 +502,8 @@ const UpdateTab = () => {
|
|
502 |
className={classNames(
|
503 |
'flex items-center gap-2 px-3 py-2 rounded-lg text-sm',
|
504 |
'bg-[#F5F5F5] dark:bg-[#1A1A1A]',
|
505 |
-
'hover:bg-
|
|
|
506 |
'text-bolt-elements-textPrimary',
|
507 |
'transition-colors duration-200',
|
508 |
'disabled:opacity-50 disabled:cursor-not-allowed',
|
@@ -589,11 +590,11 @@ const UpdateTab = () => {
|
|
589 |
disabled={isUpdating || updateFailed}
|
590 |
className={classNames(
|
591 |
'flex items-center gap-2 px-4 py-2 rounded-lg text-sm',
|
592 |
-
'bg-
|
593 |
-
'text-
|
|
|
|
|
594 |
'transition-all duration-200',
|
595 |
-
'hover:shadow-lg hover:shadow-purple-500/20',
|
596 |
-
'disabled:opacity-50 disabled:cursor-not-allowed',
|
597 |
)}
|
598 |
>
|
599 |
<div className={classNames('i-ph:arrow-circle-up w-4 h-4', isUpdating ? 'animate-spin' : '')} />
|
@@ -604,7 +605,8 @@ const UpdateTab = () => {
|
|
604 |
className={classNames(
|
605 |
'flex items-center gap-2 px-4 py-2 rounded-lg text-sm',
|
606 |
'bg-[#F5F5F5] dark:bg-[#1A1A1A]',
|
607 |
-
'hover:bg-
|
|
|
608 |
'text-bolt-elements-textPrimary',
|
609 |
'transition-all duration-200',
|
610 |
)}
|
@@ -690,7 +692,14 @@ const UpdateTab = () => {
|
|
690 |
<div className="mt-4">
|
691 |
<button
|
692 |
onClick={() => setShowChangelog(!showChangelog)}
|
693 |
-
className=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
694 |
>
|
695 |
<div className={`i-ph:${showChangelog ? 'caret-up' : 'caret-down'} w-4 h-4`} />
|
696 |
{showChangelog ? 'Hide Changelog' : 'View Changelog'}
|
|
|
502 |
className={classNames(
|
503 |
'flex items-center gap-2 px-3 py-2 rounded-lg text-sm',
|
504 |
'bg-[#F5F5F5] dark:bg-[#1A1A1A]',
|
505 |
+
'hover:bg-purple-500/10 hover:text-purple-500',
|
506 |
+
'dark:hover:bg-purple-500/20 dark:hover:text-purple-500',
|
507 |
'text-bolt-elements-textPrimary',
|
508 |
'transition-colors duration-200',
|
509 |
'disabled:opacity-50 disabled:cursor-not-allowed',
|
|
|
590 |
disabled={isUpdating || updateFailed}
|
591 |
className={classNames(
|
592 |
'flex items-center gap-2 px-4 py-2 rounded-lg text-sm',
|
593 |
+
'bg-[#F5F5F5] dark:bg-[#1A1A1A]',
|
594 |
+
'hover:bg-purple-500/10 hover:text-purple-500',
|
595 |
+
'dark:hover:bg-purple-500/20 dark:hover:text-purple-500',
|
596 |
+
'text-bolt-elements-textPrimary',
|
597 |
'transition-all duration-200',
|
|
|
|
|
598 |
)}
|
599 |
>
|
600 |
<div className={classNames('i-ph:arrow-circle-up w-4 h-4', isUpdating ? 'animate-spin' : '')} />
|
|
|
605 |
className={classNames(
|
606 |
'flex items-center gap-2 px-4 py-2 rounded-lg text-sm',
|
607 |
'bg-[#F5F5F5] dark:bg-[#1A1A1A]',
|
608 |
+
'hover:bg-purple-500/10 hover:text-purple-500',
|
609 |
+
'dark:hover:bg-purple-500/20 dark:hover:text-purple-500',
|
610 |
'text-bolt-elements-textPrimary',
|
611 |
'transition-all duration-200',
|
612 |
)}
|
|
|
692 |
<div className="mt-4">
|
693 |
<button
|
694 |
onClick={() => setShowChangelog(!showChangelog)}
|
695 |
+
className={classNames(
|
696 |
+
'flex items-center gap-2 px-3 py-1.5 rounded-lg text-sm',
|
697 |
+
'bg-[#F5F5F5] dark:bg-[#1A1A1A]',
|
698 |
+
'hover:bg-purple-500/10 hover:text-purple-500',
|
699 |
+
'dark:hover:bg-purple-500/20 dark:hover:text-purple-500',
|
700 |
+
'text-bolt-elements-textSecondary',
|
701 |
+
'transition-colors duration-200',
|
702 |
+
)}
|
703 |
>
|
704 |
<div className={`i-ph:${showChangelog ? 'caret-up' : 'caret-down'} w-4 h-4`} />
|
705 |
{showChangelog ? 'Hide Changelog' : 'View Changelog'}
|