Skip to content

Commit

Permalink
Add "Experimental" docs label
Browse files Browse the repository at this point in the history
Reviewed By: motiz88

Differential Revision: D42533126

fbshipit-source-id: 3c9a03d17e92b341e1373c26d10d338385634b1b
  • Loading branch information
huntie authored and facebook-github-bot committed Jan 17, 2023
1 parent 64c0597 commit 311fd86
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions website/src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ div[class^="announcementBarContent"] {
}

/* Label variants */
&.experimental {
background: #f9a825;

&:before {
border-right-color: #f9a825;
}
}

&.deprecated {
background: #888;

Expand All @@ -106,6 +114,14 @@ html[data-theme="dark"] .label {
background: var(--ifm-background-color);
}

&.experimental {
background: #ffc400;

&:before {
border-right-color: #ffc400;
}
}

&.deprecated {
background: #ccc;

Expand Down

0 comments on commit 311fd86

Please sign in to comment.