Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3851

Use CSS variables instead of SASS variables

      We currently use SASS variables for colors in our css files. Since we no longer support IE, we can use the standardized CSS variables mechanism instead.

        This is the controller panel for Smart Panels app

            [OPT-3851] Use CSS variables instead of SASS variables

            Asia Malina added a comment - - edited

            Design hints

            COLOUR TWEAKS


            BLUE

            • Snippet colour
            .FilterList .ActionItem .previewItemValue, .Tooltip .filterValues .previewItemValue {
                background-color: var(--blue-base-65)• But if we can keep the Flow node Selected colour as is, that would be ideal.

            • Gateway selection in branch analysis still uses the green. We can update to var(--blue-base-65)

            WHITE

            Previously white colours have become silver.
            1. Pop over background
            2. Menu item backgrounds
            3. Entity list background - have lost the hover.
            4. Page Header backgrounds in home, collections, event based processesIdea:
            either
            a) Make the above all white again

            or

            b) Make Page header backgrounds and page backgrounds
            Silver-base-97 (To match Cawemo)
            in pages that have the entity list.
            Let's discuss sebastian.stamm

             

            SIDEBAR BACKGROUND
            #silver-darken-94

            Current colour is the same as the selects. Suggested colour adds contrast. 

             

             

            See screenshots

            Asia Malina added a comment - - edited Design hints COLOUR TWEAKS BLUE • Snippet colour .FilterList .ActionItem .previewItemValue, .Tooltip .filterValues .previewItemValue {     background-color: var(--blue-base-65)• But if we can keep the Flow node Selected colour as is, that would be ideal. • Gateway selection in branch analysis still uses the green. We can update to var(--blue-base-65) WHITE Previously white colours have become silver. 1. Pop over background 2. Menu item backgrounds 3. Entity list background - have lost the hover. 4. Page Header backgrounds in home, collections, event based processesIdea: either a) Make the above all white again or b) Make Page header backgrounds and page backgrounds Silver-base-97 (To match Cawemo) in pages that have the entity list. Let's discuss sebastian.stamm   SIDEBAR BACKGROUND #silver-darken-94 Current colour is the same as the selects. Suggested colour adds contrast.      See screenshots

            Asia Malina added a comment -

            sebastian.stamm Just saw the warning message background needs updating too...see screenshot 

             

             

            Asia Malina added a comment - sebastian.stamm  Just saw the warning message background needs updating too...see screenshot     

            Asia Malina added a comment -

            sebastian.stamm
            I have added two new colours in the styleguide so that the warning messages look as before. I have also defined a info, warning and success for this style just for completeness. We don't currently use anything but the warning though. 

            #orange-lighten-85
            #green-lighten-80

            Design -> https://zpl.io/V0KrGdw

            Asia Malina added a comment - sebastian.stamm I have added two new colours in the styleguide so that the warning messages look as before. I have also defined a info, warning and success for this style just for completeness. We don't currently use anything but the warning though.  #orange-lighten-85 #green-lighten-80 Design ->  https://zpl.io/V0KrGdw

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: