Skip to content

Add color theme support to play, restart, pause, stop icons #5700

@jmuzina

Description

@jmuzina

@omarelkashef requested via Mattermost thread to add color theme support to the play, restart, pause, and stop icons.

These icons are already in Vanilla, but they were added before all of our icons supported theming. They need to follow the themed icon mixin architecture, detailed by @bartaz :

  • vf-icon-NAME-url() - is a function that returns data URL of the SVG generated with the passed color (white/black)
  • vf-icon-NAME() - is a legacy mixin for components that want to change the color of the icon, and not depend on the theme
  • vf-icon-NAME-themed - is a themed version of the icon, that will automatically respect the theme set on the parent component

Here is an example of an icon with proper theme support.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions