Duotone Allow Color Inheritance

Created on 22 February 2023, almost 2 years ago
Updated 23 February 2023, almost 2 years ago

Problem/Motivation

When using Duotone icons the color values are always present in the output, basically they are inline CSS colors essentially. There should be a setting to just have duotone pickup the current text color with CSS inheritance.

Steps to reproduce

Create a duotone Icon. See that colors are required (default to black).

Proposed resolution

Add a checkbox to allow the user to "Inherit" colors using CSS so that if the icon is wrapped in a link its the link text color etc.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States NicholasS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024