← Back to team overview

mahara-contributors team mailing list archive

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

 

Public bug reported:


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.

** Affects: mahara
     Importance: Medium
         Status: New

** Affects: mahara/21.10
     Importance: Medium
         Status: New

** Affects: mahara/22.04
     Importance: Medium
         Status: New

** Affects: mahara/22.10
     Importance: Medium
         Status: New

** Affects: mahara/23.04
     Importance: Medium
         Status: New

** Changed in: mahara
    Milestone: None => 23.04.0

** Also affects: mahara/22.04
   Importance: Undecided
       Status: New

** Also affects: mahara/21.10
   Importance: Undecided
       Status: New

** Also affects: mahara/22.10
   Importance: Undecided
       Status: New

** Also affects: mahara/23.04
   Importance: Undecided
       Status: New

** Changed in: mahara/23.04
   Importance: Undecided => Medium

** Changed in: mahara/22.10
   Importance: Undecided => Medium

** Changed in: mahara/22.04
   Importance: Undecided => Medium

** Changed in: mahara/21.10
   Importance: Undecided => Medium

-- 
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:
  New
Status in Mahara 21.10 series:
  New
Status in Mahara 22.04 series:
  New
Status in Mahara 22.10 series:
  New
Status in Mahara 23.04 series:
  New

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



Follow ups