mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(docs-infra): fix malformed --webgl-page-background declaration
In the light theme block of _colors.scss, --webgl-page-background and
--webgl-gray-unfilled were written on a single line without a separating
semicolon, and --webgl-page-background wrapped --page-background in an
invalid nested var(). As a result --webgl-page-background got a garbage
value and --webgl-gray-unfilled was never defined in the light theme.
Split them into two well-formed declarations and drop the nested var(),
matching the structure already used in the dark theme block.
(cherry picked from commit 91822538fe)
This commit is contained in:
@@ -232,7 +232,8 @@ $gray-50: oklch(98.81% 0 0); // #fbfbfb
|
||||
// for the "unfilled" portion of the word that hasn't
|
||||
// been highlighted by the gradient
|
||||
--gray-unfilled: #{$gray-400};
|
||||
--webgl-page-background: var(var(--page-background)) --webgl-gray-unfilled: #{$gray-400};
|
||||
--webgl-page-background: var(--page-background);
|
||||
--webgl-gray-unfilled: #{$gray-400};
|
||||
}
|
||||
|
||||
@mixin dark-mode-definitions() {
|
||||
|
||||
Reference in New Issue
Block a user