You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve the way we generate colors for the component themes. Ideally, in the case of the button, a user would want to provide a single base background color and expect all other state-related(hover, active, focused, etc.) background colors to get generated automatically based off of the provided background color.
This will result in a Sass map that contains all related values generated from the base color. For example the $focus-background can be calculated using an approach similar to this:
Here the underlying text-contrast function needs to be modified to work with CSS relative colors and generate an appropriate color that will change with runtime color changes.
Improve the way we generate colors for the component themes. Ideally, in the case of the button, a user would want to provide a single base
background
color and expect all other state-related(hover, active, focused, etc.) background colors to get generated automatically based off of the provided background color.Example:
This will result in a Sass map that contains all related values generated from the base color. For example the
$focus-background
can be calculated using an approach similar to this:Since the $focus-background will now be available, the $focus-foreground can automatically be derived from it.
Here the underlying
text-contrast
function needs to be modified to work with CSS relative colors and generate an appropriate color that will change with runtime color changes.This issue depends on IgniteUI/igniteui-theming#380.
The text was updated successfully, but these errors were encountered: