Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84306

Activity icon colors do not match SCSS color codes

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4.6, 4.5.2
    • Course

      The activity purpose color codes that are specified in theme/boost/scss/moodle/variables.scss#L43-L48 (and admin/tool/componentlibrary/content/moodle/components/activityicons.md#L80-L85) do not match the colors you will eventually see. See attached screenshot. The reason for that is the base color of the new activity icons that got introduced in MDL-78284. The new icons are no longer black, but instead very dark grey (color code: #212529; see mod/forum/pix/monologo.svg end of line 2).

      Also many third-party activity plugins do not use the base color #212529 (yet). It was not communicated in the upgrade notes. So they end up having different shades than the core activities. Depending on the color these differences are more or less pronounced.

      Technical shaping

      The goal of this issue is to backport the solution applied in MDL-83725 make the displayed colors look the same as before MDL-78284 for the stable branches.

        1. activity icon color collaboration.png
          17 kB
          Tim Schroeder
        2. c80da4b7-d843-4275-9e73-581364cf4762.PNG
          15 kB
          Tim Schroeder
        3. MDL-84306-sample.png
          4 kB
          Ferran Recio

            tschroeder Tim Schroeder
            tschroeder Tim Schroeder
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.