Skip to content

Commit 0ff3c0b

Browse files
authored
feat: update IconDraggable to use darker green color (#14)
1 parent b0de5c6 commit 0ff3c0b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

popup/src/components/icons/IconDraggable.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('IconDraggable.vue', () => {
2424

2525
const icon = wrapper.findComponent(Icon)
2626

27-
expect(icon.classes()).toContain('text-green-600')
27+
expect(icon.classes()).toContain('text-green-900')
2828
expect(icon.classes()).not.toContain('opacity-20')
2929
})
3030

@@ -34,7 +34,7 @@ describe('IconDraggable.vue', () => {
3434
})
3535
const icon = wrapper.findComponent(Icon)
3636
expect(icon.classes()).toContain('opacity-20')
37-
expect(icon.classes()).not.toContain('text-green-600')
37+
expect(icon.classes()).not.toContain('text-green-900')
3838
})
3939

4040
it('emits the clickDrag event when clicked', async () => {

popup/src/components/icons/IconDraggable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<IconContainer @click="emit('clickDrag')">
33
<Icon
44
:icon="`fluent:drag-20-regular`"
5-
:class="[props.isDraggable ? 'text-green-600' : 'opacity-20']"
5+
:class="[props.isDraggable ? 'text-green-900' : 'opacity-20']"
66
/>
77
</IconContainer>
88
</template>

0 commit comments

Comments
 (0)