Deprecated Sass warning: $weight without unit

Bug #1995813 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
22.10
Fix Released
Medium
Unassigned
23.04
Fix Released
Medium
Unassigned

Bug Description

Deprecation Warning: $weight: Passing a number without unit % (100) is deprecated.

To preserve current behavior: $weight * 1%

More info: https://sass-lang.com/d/function-units

    ╷
151 │ @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100);
    │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    htdocs/theme/raw/sass/lib/bootstrap5/_functions.scss 151:11 opaque()
    htdocs/theme/raw/sass/lib/bootstrap5/mixins/_table-variants.scss 4:28 table-variant()
    htdocs/theme/raw/sass/lib/bootstrap5/_tables.scss 134:3 @import
    htdocs/theme/raw/sass/lib/bootstrap5/bootstrap.scss 22:9 @import
    htdocs/theme/raw/sass/style.scss 14:9 @import
    htdocs/theme/subthemestarter/sass/style.scss 26:9 root stylesheet

Deprecation Warning: $weight: Passing a number without unit % (100) is deprecated.

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 23.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/13431
Committed: https://git.mahara.org/mahara/mahara/commit/6d8f0c30573f2cbb25012e115f3df6448f6f39a2
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit 6d8f0c30573f2cbb25012e115f3df6448f6f39a2
Author: Robert Lyon <email address hidden>
Date: Mon Nov 7 11:29:18 2022 +1300

Bug 1995813: Fixing up sass to deal with deprecated warning

Change-Id: I574f4e29f44e9fe728596d83196f12d70c8b43b9
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "22.10_DEV" branch: https://reviews.mahara.org/c/mahara/+/13445

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/13445
Committed: https://git.mahara.org/mahara/mahara/commit/64b86982133869793e2709ea652cf8733690c9de
Submitter: "Robert Lyon <email address hidden>"
Branch: 22.10_DEV

commit 64b86982133869793e2709ea652cf8733690c9de
Author: Robert Lyon <email address hidden>
Date: Mon Nov 7 11:29:18 2022 +1300

Bug 1995813: Fixing up sass to deal with deprecated warning

Change-Id: I574f4e29f44e9fe728596d83196f12d70c8b43b9
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 6d8f0c30573f2cbb25012e115f3df6448f6f39a2)

Robert Lyon (robertl-9)
no longer affects: mahara/21.10
no longer affects: mahara/22.04
Robert Lyon (robertl-9)
Changed in mahara:
milestone: 22.10.1 → none
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
no longer affects: mahara
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.