Skip to content

Commit

Permalink
Fix SASS warnings due to deprecated functions (#6839)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya authored Nov 5, 2024
1 parent 08fc307 commit 0e99465
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lms/static/styles/moodle_pages/moodle_pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// * https://github.com/moodle/moodle/blob/main/theme/boost/scss/preset/default.scss
// * https://github.com/moodle/moodle/blob/main/theme/boost/scss/bootstrap/_variables.scss

@use 'sass:color';

// These are some of the sass variables defined in the files mentioned above:
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif,
Expand All @@ -23,7 +25,7 @@ $font-size-base: 0.9375rem;
$gray-600: #6a737b;
$gray-900: #1d2125;
$link-color: #ec7f13;
$link-hover-color: darken($link-color, 15%);
$link-hover-color: color.adjust($link-color, $lightness: -15%, $space: hsl);

body {
font-family: $font-family-sans-serif;
Expand Down

0 comments on commit 0e99465

Please sign in to comment.