From c98508facb1514fe65131bd44328e9b900091190 Mon Sep 17 00:00:00 2001 From: Steph Toyofuku Date: Fri, 16 Feb 2024 09:35:19 -0500 Subject: [PATCH] Add --color-link--visited to night mode palette MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Right now visited links in night mode are showing the day mode style for @color-visited, because --color-link--visited is defined, but never set to a corresponding night mode style. This defines the night mode variant in the stylesheet, and sets it to the same value as --color-visited Visual change only in night mode, which is behind a feature flag I also added /coverage/ to the eslintignore, as I was getting failures on the pre-commit hook due to us linting the coverage report 🙃 Bug: T356825 Change-Id: I96695fe4c094b79385e36aef9e29b8d392c06302 --- .eslintignore | 1 + resources/skins.minerva.base.styles/CSSCustomProperties.less | 1 + 2 files changed, 2 insertions(+) diff --git a/.eslintignore b/.eslintignore index c855e3631..7be4c2391 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,3 +4,4 @@ /node_modules/ /vendor/ /tests/resource-loader-bundlesize.js +/coverage/ \ No newline at end of file diff --git a/resources/skins.minerva.base.styles/CSSCustomProperties.less b/resources/skins.minerva.base.styles/CSSCustomProperties.less index e51ead5b6..60deb5b96 100644 --- a/resources/skins.minerva.base.styles/CSSCustomProperties.less +++ b/resources/skins.minerva.base.styles/CSSCustomProperties.less @@ -85,6 +85,7 @@ --color-link-external: #6e85d8; --color-link-external--visited: #b97876; --color-link-external--active: #2a4b8d; + --color-link--visited: #977dbd; --box-shadow-color-drawer: #afb6e9; }