Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 60516eb

Browse files
crisbetowagnermaciel
authored andcommitted
refactor: add modifier badge tag
Replaces the `async` method marker with a generic marker that can also be used for static methods. Related to angular/components#22786.
1 parent fd9fb0a commit 60516eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/styles/_api-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131
}
3232

33-
.docs-api-async-method-marker {
33+
.docs-api-modifier-method-marker {
3434
$async-method-marker-hue: if($is-dark-theme, 200, 400);
3535
background-color: mat.get-color-from-palette($primary, $async-method-marker-hue);
3636
color: mat.get-color-from-palette($primary, '#{$async-method-marker-hue}-contrast');

src/styles/_api.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@
8585
font-size: 18px;
8686
}
8787

88-
.docs-api-async-method-marker {
88+
.docs-api-modifier-method-marker {
8989
display: inline-block;
9090
vertical-align: baseline;
9191
padding: 2px 7px;
92-
margin: 0 12px 0 0;
92+
margin-right: 12px;
9393
border-radius: 5px;
9494
font-size: 13px;
9595
}

0 commit comments

Comments
 (0)