Skip to content

Commit

Permalink
fix: component colors
Browse files Browse the repository at this point in the history
Signed-off-by: Mathis Mensing <[email protected]>
  • Loading branch information
matmen committed Jul 30, 2023
1 parent 8f650ce commit 6472589
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/widgets/spoolman/SpoolSelectionDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<td>
<div class="d-flex">
<v-icon
:color="`#${item.filament.color_hex}`"
:color="`#${item.filament.color_hex ?? ($vuetify.theme.dark ? 'fff' : '000')}`"
x-large
class="mr-4 flex-column"
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/widgets/spoolman/SpoolmanCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
v-if="activeSpool && $vuetify.breakpoint.lgAndDown"
value="100"
:height="6"
:color="`#${activeSpool.filament.color_hex}`"
:color="`#${activeSpool.filament.color_hex ?? ($vuetify.theme.dark ? 'fff' : '000')}`"
/>
<v-card-text>
Expand Down Expand Up @@ -98,7 +98,7 @@
class="pa-0"
>
<v-icon
:color="activeSpool ? `#${activeSpool.filament.color_hex}` : $vuetify.theme.dark ? 'white' : 'black'"
:color="`#${activeSpool?.filament.color_hex ?? ($vuetify.theme.dark ? 'fff' : '000')}`"
:size="activeSpool ? '110px' : '55px'"
>
{{ activeSpool ? '$filament' : '$progressQuestion' }}
Expand Down

0 comments on commit 6472589

Please sign in to comment.