Skip to content

Commit f9d9b3b

Browse files
authored
fix(browser): browser actions icons colors (#5816)
1 parent 718512d commit f9d9b3b

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

packages/ui/client/components/IconAction.vue

+9-6
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@ defineProps({
55
</script>
66

77
<template>
8-
<div
9-
bg="gray-200"
10-
rounded-1
8+
<button
9+
type="button"
10+
dark="op75"
11+
bg="gray-200 dark:#111"
12+
hover="op100"
13+
rounded-1
1114
p-0.5
1215
>
13-
<div :class="icon" op50></div>
14-
</div>
15-
</template>
16+
<span block :class="icon" op65 class="dark:op85 hover:op100"></span>
17+
</button>
18+
</template>

packages/ui/client/components/TaskItem.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const duration = computed(() => {
6262
icon="i-carbon-result-old"
6363
@click.prevent.stop="emit('fixSnapshot')"
6464
/>
65-
<IconAction
65+
<IconAction
6666
v-tooltip.bottom="'Open test details'"
6767
data-testid="btn-open-details"
6868
title="Open test details"
@@ -74,8 +74,8 @@ const duration = computed(() => {
7474
v-tooltip.bottom="'Run current test'"
7575
data-testid="btn-run-test"
7676
title="Run current test"
77-
icon="i-carbon-play-filled-alt"
78-
text="green-500"
77+
icon="i-carbon:play-filled-alt"
78+
text-green5
7979
@click.prevent.stop="emit('run')"
8080
/>
8181
</div>

0 commit comments

Comments
 (0)