[ 
https://issues.apache.org/jira/browse/NIFI-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17826877#comment-17826877
 ] 

ASF subversion and git services commented on NIFI-12870:
--------------------------------------------------------

Commit 06c011306356992ef6fa9fcb3b31c9ad658d7589 in nifi's branch 
refs/heads/main from James Mingardi-Elliott
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=06c0113063 ]

NIFI-12870 Semantic colors (#8480)

Next step to color theming

Update theming to reference colors semantically

Material and Canvas palettes are reordered so that in all cases they go from 50 
= lightest / least amount of color to 900 = darkest / most amount of color 
applied.

Usage of color has been changed so that Material's primary, accent, and warn 
values are used by semantic reference of 'default', 'lighter' and 'darker' 
rather than explicit number values.

The Canvas palettes still have values referenced directly because they are a 
special case.

Added SASS utilities:
- To help ensure color contrast for text and backgrounds by checking for a 
4.5:1 contrast ratio.
- To provide helper functions that somewhat replicate Material designs approach 
to Surface and On Surface concepts. This is how the same Canvas palettes can be 
used for light and dark modes.

Some minor tweaks to the styling of the flow canvas to bring custom NiFi 
components and the Angular Material components closer together visually.

Moved the Canvas theme declaration to a separate file so the Material themes 
can be more easily swapped out without needing to redeclare the Canvas themes.

This closes #8480

> Refactor the usage of Material color theming to be semantic
> -----------------------------------------------------------
>
>                 Key: NIFI-12870
>                 URL: https://issues.apache.org/jira/browse/NIFI-12870
>             Project: Apache NiFi
>          Issue Type: Sub-task
>            Reporter: James Elliott
>            Priority: Major
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to