MDL-83725 theme: dynamic activity icons colors

Now themes can change the activity purpose colors using only the
$activity-icon-XXXX-bg scss variables. The filter is not computed using
a sass mixin intead of a custom filter.
This commit is contained in:
ferran 2024-11-21 10:08:32 +01:00
parent ab5692acdf
commit 41acfca9a8
6 changed files with 73 additions and 58 deletions

View file

@ -0,0 +1,12 @@
issueNumber: MDL-83725
notes:
theme_boost:
- message: >-
From now on, themes can customise the activity icon colours using simple
CSS variables. The new variables are $activity-icon-administration-bg,
$activity-icon-assessment-bg, $activity-icon-collaboration-bg,
$activity-icon-communication-bg, $activity-icon-content-bg,
$activity-icon-interactivecontent-bg. All previous
`$activity-icon-*-filter` elements can be removed, as they are no longer
in use.
type: changed