From 06fa72efcf9a38aa6d173aceee5ddd3efb2be4c7 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 18 Aug 2023 16:02:13 +0800 Subject: [PATCH] MDL-79063 theme_boost: Match .disabled font colour with .text-muted * For consistency * The font colour for .text-muted meets a contrast ratio of 4.69:1 which meets WCAG 2.1 Level AA success criterion for minimum contrast. --- theme/boost/scss/moodle/core.scss | 2 +- theme/boost/style/moodle.css | 2 +- theme/classic/style/moodle.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index d74ad2eac34..016c81cae02 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -2076,7 +2076,7 @@ a.disabled { text-decoration: none; cursor: default; font-style: italic; - color: #808080; + color: $text-muted; } body.lockscroll { diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 461a664d6dc..5e3dd18de56 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -24945,7 +24945,7 @@ a.disabled { text-decoration: none; cursor: default; font-style: italic; - color: #808080; + color: #6a737b; } body.lockscroll { diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 066cf610fa6..1e7d68e40ae 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -24945,7 +24945,7 @@ a.disabled { text-decoration: none; cursor: default; font-style: italic; - color: #808080; + color: #6a737b; } body.lockscroll {