Skip to content

migrating to ionic5 - some icons appear black #804

@Jerige

Description

@Jerige

Just migrated from Ionic4 to 5 and icons are messed up. Before all icons were white and now mixed with black color (see pics)

ionic5

ionic5-1

Adding pic of code since below not all code is displayed... don't get it why??

Here is the HTML:

Save
<ion-segment-button style="margin: 1px; border-radius: 8px; background-color: #003cb3; color: snow; "
color="primary" size="small" class="ion-text-capitalize" (click)="changeDate(item.id,-1)">
<ion-icon name="calendar"></ion-icon>Date-1
</ion-segment-button>

<ion-segment-button size="small"
style="margin: 1px; border-radius: 8px; background-color: #003cb3; color: snow;" color="primary"
size="small" class="ion-text-capitalize" (click)="changeDate(item.id,1)">
<ion-icon name="calendar"></ion-icon>Date+1
</ion-segment-button>

<ion-segment-button style="margin: 1px; border-radius: 8px; background-color: #397EFF; color: snow;"
color="primary" size="small" class="ion-text-capitalize" (click)="changeAmount1(item.id,'up')">
<ion-icon name="arrow-up"></ion-icon>{{amountChange}} €
</ion-segment-button>

<ion-segment-button style="margin: 1px; border-radius: 8px; background-color: #397EFF; color: snow;"
size="small" class="ion-text-capitalize" (click)="changeAmount1(item.id,'down')">
<ion-icon style="color: white;" name="arrow-down"></ion-icon>{{amountChange}} €
</ion-segment-button>

Does anyone else experience the same issue?
Best,
J.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions