mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(docs-infra): Ensure experimental tag shows up on docs (#51712)
The experimental tag is part of the stability tags along with "deprecated". This commit updates some code to pick up experimental as well. PR Close #51712
This commit is contained in:
committed by
Andrew Kushnir
parent
05762b9fff
commit
2d5b6fad4e
@@ -14,7 +14,8 @@
|
||||
&.deprecated,
|
||||
&.security,
|
||||
&.impure-pipe,
|
||||
&.dev-preview {
|
||||
&.dev-preview,
|
||||
&.experimental {
|
||||
background-color: constants.$brightred;
|
||||
}
|
||||
|
||||
@@ -30,7 +31,8 @@
|
||||
color: constants.$white;
|
||||
background-color: constants.$accentblue;
|
||||
|
||||
@each $name, $symbol in constants.$api-symbols {
|
||||
@each $name,
|
||||
$symbol in constants.$api-symbols {
|
||||
&.#{$name} {
|
||||
background: map.get($symbol, background);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user