Skip to content

Commit

Permalink
fix(browser): browser actions icons colors (#5816)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Jun 2, 2024
1 parent 718512d commit f9d9b3b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
15 changes: 9 additions & 6 deletions packages/ui/client/components/IconAction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ defineProps({
</script>

<template>
<div
bg="gray-200"
rounded-1
<button
type="button"
dark="op75"
bg="gray-200 dark:#111"
hover="op100"
rounded-1
p-0.5
>
<div :class="icon" op50></div>
</div>
</template>
<span block :class="icon" op65 class="dark:op85 hover:op100"></span>
</button>
</template>
6 changes: 3 additions & 3 deletions packages/ui/client/components/TaskItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const duration = computed(() => {
icon="i-carbon-result-old"
@click.prevent.stop="emit('fixSnapshot')"
/>
<IconAction
<IconAction
v-tooltip.bottom="'Open test details'"
data-testid="btn-open-details"
title="Open test details"
Expand All @@ -74,8 +74,8 @@ const duration = computed(() => {
v-tooltip.bottom="'Run current test'"
data-testid="btn-run-test"
title="Run current test"
icon="i-carbon-play-filled-alt"
text="green-500"
icon="i-carbon:play-filled-alt"
text-green5
@click.prevent.stop="emit('run')"
/>
</div>
Expand Down

0 comments on commit f9d9b3b

Please sign in to comment.