[jira] [Commented] (NIFI-12956) Add semantic styles for the basic theme colors

2024-04-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on NIFI-12956:


Commit 1a2a23d1b643ef59551826440f7eda2fcc82668c in nifi's branch 
refs/heads/main from Scott Aslan
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1a2a23d1b6 ]

[NIFI-12956] update to mat-button on general settings and login forms (#8621)

* [NIFI-12956] update to mat-button on general settings and login forms

* update mixin name

* fix typo

This closes #8621 

> Add semantic styles for the basic theme colors
> --
>
> Key: NIFI-12956
> URL: https://issues.apache.org/jira/browse/NIFI-12956
> Project: Apache NiFi
>  Issue Type: Sub-task
>  Components: Core UI
>Reporter: Rob Fellows
>Assignee: Scott Aslan
>Priority: Minor
> Fix For: 2.0.0-M3
>
>  Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> We should add themed styles for the commonly used colors from the palettes. 
> I'm thinking like the 3 (light, default, dark) main colors from each palette. 
> Something like this:
> {code:java}
> .warn-light {
>   color: $warn-palette-light
> }
> .warn-default {
>   color: $warn-palette-default
> }
> .warn-dark {
>   color: $warn-palette-dark
> }
> .primary-light {
>   color: $primary-palette-light
> }
> .primary-default {
>   color: $primary-palette-default
> }
> .primary-dark {
>   color: $primary-palette-dark
> }
> .accent-light {
>   color: $accent-palette-light
> }
> .accent-default {
>   color: $accent-palette-default
> }
> .accent-dark {
>   color: $accent-palette-dark
> }
> {code}



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


[jira] [Commented] (NIFI-12956) Add semantic styles for the basic theme colors

2024-04-09 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on NIFI-12956:


Commit 40ece46e3ccc8889ba12b98ce4c4425c4f09ca2f in nifi's branch 
refs/heads/main from Scott Aslan
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=40ece46e3c ]

[NIFI-12956] rename palettes and introduce semenatic color classes (#8608)

* [NIFI-12956] rename palettes and introduce semenatic color classes

* remove warn-default

* remove disabled class and replace with semantic 
material-theme-primary-palette-default

* remove running class and replace with semantic 
nifi-theme-success-palette-lighter

* replace up-to-date class with semantic nifi-theme-success-palette-default

* replace transmitting class and replace with semantic 
nifi-theme-success-palette-default

* replace stopped class with semantic material-theme-warn-palette-lighter

* replace locall-modified and sync-failure classes with semantic 
material-theme-accent-palette-lighter

* replace validating, blank, unset, and sensitive classes with semantic 
nifi-theme-surface-palette-default

* cleanup and rename _canvas.component-theme.scss semantic classes

* fix typo

* more improvements and adding some documentation for utils

* shorten semantic class names

* rename mixin

* remove value and refresh-timestamp class and introduce on default surface and 
on darker surface material primary/accent/warn semantic classes

* always calculate the material color based on the surface

* restore blank, unset, empty, sensitive, ghost, validating

* restore sync-failure, stale, locally-modified, locally-modified-and-stale, 
and up-to-date colors. Also use nifi theme warn palette where appropriate

* remove validating, locally-modified, sync-failure, and replase with 
nifi-surface-default. remove stale, locally-modified-and-stale and replace with 
nifi-warn-light

* simplfy semantic material theme class names

* fix erroneous colors

* update purple theme

* update comments in theme files to accurately list light mode usage, remove 
unused vars, move semantic classes from _canvas.component-theme.scss to global 
_app.scss, fix a few incorrect colors

* fix typ0

* update pom to overwrite the correct file

* restore class names with no styles to assist in understanding state

* update blank, unset, ghost, sensitive, empty

* update default theme name to match renamed file

* move border to class in birdseye

* review feedback

* enabled now nifi-success-default color

* final touches

* use mat-warn for bulletin error

* fix search and flow status

This closes #8608 

> Add semantic styles for the basic theme colors
> --
>
> Key: NIFI-12956
> URL: https://issues.apache.org/jira/browse/NIFI-12956
> Project: Apache NiFi
>  Issue Type: Sub-task
>  Components: Core UI
>Reporter: Rob Fellows
>Assignee: Scott Aslan
>Priority: Minor
>  Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> We should add themed styles for the commonly used colors from the palettes. 
> I'm thinking like the 3 (light, default, dark) main colors from each palette. 
> Something like this:
> {code:java}
> .warn-light {
>   color: $warn-palette-light
> }
> .warn-default {
>   color: $warn-palette-default
> }
> .warn-dark {
>   color: $warn-palette-dark
> }
> .primary-light {
>   color: $primary-palette-light
> }
> .primary-default {
>   color: $primary-palette-default
> }
> .primary-dark {
>   color: $primary-palette-dark
> }
> .accent-light {
>   color: $accent-palette-light
> }
> .accent-default {
>   color: $accent-palette-default
> }
> .accent-dark {
>   color: $accent-palette-dark
> }
> {code}



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