Skip to content

[API Bug] SecondaryText results in PrimaryText color when applied to custom PNG icon #161

@FezVrasta

Description

@FezVrasta

Raycast version: 1.25.1

Description

<List.Item icon={{
  source: "icon.png",
  tintColor: Color.SecondaryText,
}}>

CleanShot 2021-10-21 at 15 30 53@2x
(top, custom icon. bottom, built-in one)

The current behavior

The above code results in a pure-black tinted icon rather than a light-gray one.

If I replace SecondaryText with Green the color is correctly applied.

The expected behavior

Icon should be light-gray tinted.

Metadata

Metadata

Assignees

Labels

apiIssues related to APIbugSomething isn't workingstatus: fixed in next releaseThe issue will be closed once next release is available

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions