Skip to content

Commit

Permalink
fix: dark candidate style
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyChen777 committed Jun 30, 2024
1 parent 6f4f159 commit 866bd5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/renderer/ui/main-view/candidate-view/candidate-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ const onCancelClicked = () => {
</div>
<div class="flex space-x-2 py-2 justify-between select-none">
<div
class="flex w-1/2 h-8 rounded-md bg-neutral-200 dark:bg-neutral-600 dark:text-neutral-300 hover:shadow-sm hover:bg-neutral-300 cursor-pointer transition-colors duration-75"
class="flex w-1/2 h-8 rounded-md bg-neutral-200 dark:bg-neutral-600 dark:text-neutral-300 hover:shadow-sm hover:bg-neutral-300 hover:dark:bg-neutral-500 cursor-pointer transition-colors duration-75"
@click="onCancelClicked"
>
<span class="m-auto text-xs">{{ $t("menu.close") }}</span>
</div>
<div
id="paper-edit-view-save-btn"
class="flex w-1/2 h-8 rounded-md bg-neutral-200 dark:bg-neutral-600 dark:text-neutral-300 hover:shadow-sm hover:bg-neutral-300 cursor-pointer transition-colors duration-75"
class="flex w-1/2 h-8 rounded-md bg-neutral-200 dark:bg-neutral-600 dark:text-neutral-300 hover:shadow-sm hover:bg-neutral-300 hover:dark:bg-neutral-500 cursor-pointer transition-colors duration-75"
@click="onConfirmClicked()"
>
<span class="m-auto text-xs">{{ $t("menu.save") }}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ scp {
</div>
<div
class="flex flex-none justify-end text-xxs rounded-md px-1.5 shadow-md"
:class="active ? 'bg-blue-500 hover:bg-blue-400' : 'bg-neutral-200 hover:bg-neutral-300'"
:class="active ? 'bg-blue-500 hover:bg-blue-400' : 'bg-neutral-200 hover:bg-neutral-300 dark:bg-neutral-700 dark:hover:bg-neutral-600'"
@click.stop="$emit('event:click-candidate-btn')"
v-if="showCandidateBtn"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const emits = defineEmits(["event:click-candidate-btn"]);
:class="
active
? 'bg-blue-500 hover:bg-blue-400'
: 'bg-neutral-200 hover:bg-neutral-300'
: 'bg-neutral-200 hover:bg-neutral-300 dark:bg-neutral-700 dark:hover:bg-neutral-600'
"
@click.stop="$emit('event:click-candidate-btn')"
v-if="showCandidateBtn"
Expand Down

0 comments on commit 866bd5e

Please sign in to comment.