← Back to team overview

mahara-contributors team mailing list archive

[Bug 1995813] Re: Deprecated Sass warning: $weight without unit

 

** No longer affects: mahara/21.10

** No longer affects: mahara/22.04

** Changed in: mahara/22.10
       Status: New => Fix Committed

** Changed in: mahara/23.04
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1995813

Title:
  Deprecated Sass warning: $weight without unit

Status in Mahara:
  Fix Committed
Status in Mahara 22.10 series:
  Fix Committed
Status in Mahara 23.04 series:
  Fix Committed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1995813/+subscriptions



References