Skip to content

Commit f2bb06f

Browse files
johnwhumphreysfacebook-github-bot
authored andcommitted
Add Beta badge to header (#3294)
Summary: Add a "Beta" badge to the Monarch Dashboard header to indicate the dashboard is in early development. Also brighten the "dashboard" subtitle text for better readability against the dark background. Differential Revision: D98135311
1 parent d9bde77 commit f2bb06f

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

python/monarch/monarch_dashboard/frontend/src/App.css

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,30 @@ body::after {
165165
.header-subtitle {
166166
font-family: var(--font-body);
167167
font-size: 12px;
168-
font-weight: 300;
169-
color: var(--text-muted);
168+
font-weight: 400;
169+
color: var(--text-secondary);
170170
text-transform: uppercase;
171171
letter-spacing: 0.12em;
172172
margin-left: var(--space-xs);
173173
position: relative;
174174
top: 1px;
175175
}
176176

177+
.header-release-badge {
178+
font-family: var(--font-mono);
179+
font-size: 10px;
180+
font-weight: 600;
181+
color: #fff;
182+
background: var(--accent-primary);
183+
padding: 2px 6px;
184+
border-radius: var(--radius-sm);
185+
text-transform: uppercase;
186+
letter-spacing: 0.08em;
187+
margin-left: var(--space-sm);
188+
position: relative;
189+
top: -1px;
190+
}
191+
177192
.header-tabs {
178193
display: flex;
179194
gap: 2px;

python/monarch/monarch_dashboard/frontend/src/components/Header.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export function Header({ tabs, activeTab, onTabChange }: HeaderProps) {
5757
<MonarchLogo />
5858
<h1 className="header-title">Monarch</h1>
5959
<span className="header-subtitle">dashboard</span>
60+
<span className="header-release-badge">Beta</span>
6061
</div>
6162
<nav className="header-tabs" role="tablist">
6263
{tabs.map((tab) => (

0 commit comments

Comments
 (0)