-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or requesticonsChanges the icon generator capabilitiesChanges the icon generator capabilities
Description
Right now, colors for secondary parts of duotone icons are just darkened/brightened, but it would make much more sense to have a transparency slider in the UI that controls the alpha value of the secondary part.
This would also make any checks and custom logic for darkening obsolete.
Example:
Preset "Custom"; Icon Color #000000; Background Color #00FF6E
Implementation Idea
- When a Duotone Style is selected, show a new "Duotone Transparency" Slider in the UI.
- Set
this.renderingContext.globalAlphainsideIconGenerator.drawIcon()accordingly to temporarily change the alpha of draw commands. AfterfillText(), set..globalAlpha = 1
See also: #219
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesticonsChanges the icon generator capabilitiesChanges the icon generator capabilities

