refactor(docs-infra): use Sass variables for colors used in themes (#40944)

This change has been extracted from #36045.

NOTE:
The color names for the RC theme were computed using
https://www.color-blindness.com/color-name-hue.

Co-authored-by: Stefanie Fluin <sjtrimble@gmail.com>

PR Close #40944
This commit is contained in:
George Kalpakas 2021-02-23 16:49:04 +02:00 committed by Zach Arend
parent 6275346871
commit 2a518fb44c
2 changed files with 5 additions and 3 deletions

View File

@ -1,11 +1,11 @@
aio-shell.mode-archive {
@include deploy-theme(#263238, #78909C);
@include deploy-theme($blue-grey-900, $blue-grey-400);
}
aio-shell.mode-next {
@include deploy-theme(#DD0031, #C3002F);
@include deploy-theme($brightred, $darkred);
}
aio-shell.mode-rc {
@include deploy-theme(#DDA302, #C3A300);
@include deploy-theme($tangerine, $darkgoldenrod);
}

View File

@ -17,6 +17,8 @@ $brightred: #DD0031;
$darkred: #C3002F;
$white: #FFFFFF;
$offwhite: #FAFAFA;
$tangerine: #DDA302;
$darkgoldenrod: #C3A300;
$backgroundgray: #F1F1F1;
$superlightgray: #F2F2F2;
$lightgray: #DBDBDB;