Skip to content

Commit 3f0ad6a

Browse files
committed
Use more idiomatic color KIcon prop and remove unused prop
1 parent d6d00b1 commit 3f0ad6a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • contentcuration/contentcuration/frontend/shared/views/files

contentcuration/contentcuration/frontend/shared/views/files/Thumbnail.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<KIcon
2626
:icon="icon"
2727
class="icon-thumbnail"
28-
:style="{ fill: $themeTokens.textInverted }"
28+
:color="$themeTokens.textInverted"
2929
/>
3030
</VFlex>
3131
<VFlex shrink>
@@ -48,7 +48,6 @@
4848
<KIcon
4949
class="icon-thumbnail"
5050
:icon="icon"
51-
capture-as-image
5251
/>
5352
</div>
5453

@@ -59,7 +58,7 @@
5958
<KIcon
6059
:icon="icon"
6160
class="icon-thumbnail"
62-
:style="{ fill: $themeTokens.textInverted }"
61+
:color="$themeTokens.textInverted"
6362
/>
6463
</div>
6564
<div
@@ -69,7 +68,8 @@
6968
<KIcon
7069
icon="image"
7170
class="icon-thumbnail"
72-
:style="{ fill: $themePalette.grey.v_400, width: '40%', height: '50px' }"
71+
:color="$themePalette.grey.v_400"
72+
:style="{ width: '40%', height: '50px' }"
7373
/>
7474
</div>
7575
</figure>

0 commit comments

Comments
 (0)