mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
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:
parent
ab5692acdf
commit
41acfca9a8
6 changed files with 73 additions and 58 deletions
12
.upgradenotes/MDL-83725-2024121910085182.yml
Normal file
12
.upgradenotes/MDL-83725-2024121910085182.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue