This commit is contained in:
Timothy Jaeryang Baek
2026-08-05 06:11:07 -05:00
Unverified
parent 95a440744d
commit eab0befb16
9 changed files with 13 additions and 13 deletions
@@ -65,7 +65,7 @@
</button>
<button
bind:this={confirmButton}
class="h-7 rounded-lg bg-gray-900 px-3 text-xs font-medium text-white transition-colors duration-75 hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-gray-200"
class="h-7 rounded-lg bg-gray-900 px-3 text-xs font-medium text-white transition-colors duration-75 hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-white/90"
type="button"
onclick={() => settleConfirm(true)}
>
@@ -507,7 +507,7 @@
onclick={onclose}>{$t('directory.cancel')}</button
>
<button
class="text-xs text-white dark:text-black bg-gray-900 dark:bg-white hover:bg-gray-800 dark:hover:bg-gray-200 px-3 py-1.5 rounded-lg transition-colors duration-100 shrink-0"
class="text-xs text-white dark:text-black bg-gray-900 dark:bg-white hover:bg-gray-800 dark:hover:bg-white/90 px-3 py-1.5 rounded-lg transition-colors duration-100 shrink-0"
onclick={selectCurrent}>{$t('directory.open', { name: currentFolderName })}</button
>
</div>
@@ -1391,7 +1391,7 @@
<button
class="w-full h-7 mt-1.5 rounded-lg text-[0.6875rem] font-medium transition-colors duration-75
{stagedFiles.length && commitSummary.trim()
? 'bg-gray-900 dark:bg-white text-white dark:text-black hover:bg-gray-800 dark:hover:bg-gray-200'
? 'bg-gray-900 dark:bg-white text-white dark:text-black hover:bg-gray-800 dark:hover:bg-white/90'
: 'bg-gray-100 dark:bg-white/6 text-gray-400 dark:text-gray-600 cursor-default'}"
disabled={!commitSummary.trim() || !stagedFiles.length || loading}
onclick={doCommit}
@@ -1557,7 +1557,7 @@
{$t('git.leaveChanges')}
</button>
<button
class="px-3.5 py-1.5 text-xs bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition-colors rounded-full disabled:opacity-50"
class="px-3.5 py-1.5 text-xs bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-white/90 transition-colors rounded-full disabled:opacity-50"
onclick={() => performBranchCheckout(pendingCheckoutBranch!, 'bring')}
disabled={loading}
>
@@ -1595,7 +1595,7 @@
{$t('git.leaveChanges')}
</button>
<button
class="px-3.5 py-1.5 text-xs bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition-colors rounded-full disabled:opacity-50"
class="px-3.5 py-1.5 text-xs bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-white/90 transition-colors rounded-full disabled:opacity-50"
onclick={() => performBranchCreate(pendingCreateBranch!, 'bring')}
disabled={loading}
>
@@ -230,7 +230,7 @@
onclick={onclose}>{$t('saveDialog.cancel')}</button
>
<button
class="text-xs font-medium text-white dark:text-black bg-gray-900 dark:bg-white hover:bg-gray-800 dark:hover:bg-gray-200 px-3 py-1.5 rounded-lg transition-colors duration-100 disabled:opacity-30 disabled:pointer-events-none shrink-0"
class="text-xs font-medium text-white dark:text-black bg-gray-900 dark:bg-white hover:bg-gray-800 dark:hover:bg-white/90 px-3 py-1.5 rounded-lg transition-colors duration-100 disabled:opacity-30 disabled:pointer-events-none shrink-0"
onclick={doSave}
disabled={!fileName.trim()}>{$t('saveDialog.save')}</button
>
@@ -162,7 +162,7 @@
{$t('automationModal.cancel')}
</button>
<button
class="px-3.5 py-1.5 text-xs bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition-colors rounded-full disabled:opacity-50"
class="px-3.5 py-1.5 text-xs bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-white/90 transition-colors rounded-full disabled:opacity-50"
type="button"
onclick={handleSubmit}
disabled={saving || !name.trim() || !prompt.trim() || !modelId || !workspace}
@@ -203,7 +203,7 @@
{#if questionIndex < questions.length - 1}
<button
type="button"
class="rounded-lg bg-gray-900 px-3 py-1.5 text-xs font-medium text-white transition-transform active:scale-[0.98] dark:bg-white dark:text-black"
class="rounded-lg bg-gray-900 px-3 py-1.5 text-xs font-medium text-white transition active:scale-[0.98] hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-white/90"
onclick={() => (questionIndex += 1)}
>
{$t('chat.next')}
@@ -211,7 +211,7 @@
{:else if pending}
<button
type="button"
class="rounded-lg bg-gray-900 px-3 py-1.5 text-xs font-medium text-white transition-transform active:scale-[0.98] disabled:cursor-not-allowed disabled:opacity-40 dark:bg-white dark:text-black"
class="rounded-lg bg-gray-900 px-3 py-1.5 text-xs font-medium text-white transition active:scale-[0.98] hover:bg-gray-800 disabled:cursor-not-allowed disabled:opacity-40 dark:bg-white dark:text-black dark:hover:bg-white/90"
disabled={!canSubmit || submitting}
onclick={() => submit()}
>
@@ -443,7 +443,7 @@
onclick={cancelEdit}>{$t('common.cancel')}</button
>
<button
class="px-3 py-1 rounded-lg bg-gray-900 dark:bg-white text-white dark:text-black hover:bg-gray-700 dark:hover:bg-gray-200 transition-colors duration-100"
class="px-3 py-1 rounded-lg bg-gray-900 dark:bg-white text-white dark:text-black hover:bg-gray-700 dark:hover:bg-white/90 transition-colors duration-100"
onclick={saveEdit}>{$t('common.save')}</button
>
</div>
@@ -34,7 +34,7 @@
<button
class="flex items-center justify-center rounded-full p-1 transition
{voiceActive
? 'bg-gray-900 text-white dark:bg-white dark:text-black'
? 'bg-gray-900 text-white hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-white/90'
: 'bg-gray-100 text-gray-800 hover:bg-gray-200 dark:bg-white/90 dark:text-black dark:hover:bg-white'}"
onclick={onvoice}
aria-label={$t('admin.audio.voiceMode')}
@@ -60,7 +60,7 @@
{:else}
<button
class="{canSend
? 'bg-black text-white hover:bg-gray-900 dark:bg-white dark:text-black dark:hover:bg-gray-100'
? 'bg-black text-white hover:bg-gray-900 dark:bg-white dark:text-black dark:hover:bg-white/90'
: 'text-white bg-gray-200 dark:text-gray-900 dark:bg-gray-700 cursor-default'} transition rounded-full p-1 self-center"
onclick={onsend}
disabled={!canSend}
@@ -211,7 +211,7 @@
onclick={cancelEdit}>{$t('common.cancel')}</button
>
<button
class="px-3 py-1 rounded-lg bg-gray-900 dark:bg-white text-white dark:text-black hover:bg-gray-700 dark:hover:bg-gray-200 transition-colors duration-100"
class="px-3 py-1 rounded-lg bg-gray-900 dark:bg-white text-white dark:text-black hover:bg-gray-700 dark:hover:bg-white/90 transition-colors duration-100"
onclick={sendEdit}>{$t('chat.send')}</button
>
</div>