Add --color-link--visited to night mode palette

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
This commit is contained in:
Steph Toyofuku 2024-02-16 09:35:19 -05:00
parent 57d1b2ab5b
commit c98508facb
2 changed files with 2 additions and 0 deletions

View file

@ -4,3 +4,4 @@
/node_modules/
/vendor/
/tests/resource-loader-bundlesize.js
/coverage/

View file

@ -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;
}