[less] Amend subtle color to WikimediaUI Base default

Replace former non-base variables color with one from the standard
variables files in preparation for iit's usage in core and Vector.
Color is still confirming to WCAG level AA contrast ratio.

Bug: T254474
Change-Id: I06d981f05554b6429d11f19b8f5848ba5a7441a0
This commit is contained in:
Volker E 2020-06-11 18:17:24 -07:00 committed by Jdlrobson
parent 710c19dbd9
commit 97566a026b
3 changed files with 6 additions and 5 deletions

View file

@ -10,7 +10,7 @@
line-height: 1.125em; line-height: 1.125em;
h3 { h3 {
color: @color-nav-subtle; color: @color-base--subtle;
position: relative; position: relative;
display: block; display: block;
.box-sizing( border-box ); .box-sizing( border-box );

View file

@ -15,13 +15,13 @@
background-position: center bottom; background-position: center bottom;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% @border-width-base; background-size: 100% @border-width-base;
color: @color-nav-subtle; color: @color-base--subtle;
font-weight: normal;
margin: 0.5em 0 0 ( @margin-start-nav-main-body / @font-size-nav-main-heading ); margin: 0.5em 0 0 ( @margin-start-nav-main-body / @font-size-nav-main-heading );
padding: 0.25em 0;
cursor: default;
border: 0; border: 0;
padding: 0.25em 0;
font-size: @font-size-nav-main-heading; font-size: @font-size-nav-main-heading;
font-weight: normal;
cursor: default;
} }
.body { .body {

View file

@ -38,6 +38,7 @@
@background-color-base: #fff; @background-color-base: #fff;
@color-base: #202122; @color-base: #202122;
@color-base--emphasized: #000; @color-base--emphasized: #000;
@color-base--subtle: #54595d;
@color-link: #0645ad; @color-link: #0645ad;
@color-link--visited: #0b0080; @color-link--visited: #0b0080;
@color-link-new: #a55858; @color-link-new: #a55858;