Skip to content

Commit 6834d11

Browse files
author
Noah Raynor
committed
formatting alpha badge
1 parent 5c5a154 commit 6834d11

2 files changed

Lines changed: 20 additions & 8 deletions

File tree

fern/assets/styles.css

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@
4040

4141
/* Alpha badge - purple to match dashboard */
4242
.vapi-badge-alpha {
43-
background-color: rgba(168, 85, 247, 0.2);
44-
color: #A78BFA;
45-
border: 1px solid rgba(168, 85, 247, 0.4);
43+
background-color: rgba(168, 85, 247, 0.2) !important;
44+
color: #A78BFA !important;
45+
border: 1px solid rgba(168, 85, 247, 0.4) !important;
46+
border-color: rgba(168, 85, 247, 0.4) !important;
4647
}
4748

4849
/* Dark mode adjustments */
@@ -65,22 +66,33 @@
6566
}
6667

6768
:is(.dark) .vapi-badge-alpha {
68-
background-color: rgba(168, 85, 247, 0.2);
69-
color: #C4B5FD;
70-
border: 1px solid rgba(168, 85, 247, 0.4);
69+
background-color: rgba(168, 85, 247, 0.2) !important;
70+
color: #C4B5FD !important;
71+
border: 1px solid rgba(168, 85, 247, 0.4) !important;
72+
border-color: rgba(168, 85, 247, 0.4) !important;
7173
}
7274

7375
/* Override Fern's pre-release availability badge to show "Alpha" with purple styling */
7476
.fern-docs-badge[title="Pre-release"] {
7577
background-color: rgba(168, 85, 247, 0.2) !important;
76-
color: #A78BFA !important;
7778
border-color: rgba(168, 85, 247, 0.4) !important;
7879
font-size: 0 !important;
80+
position: relative !important;
81+
min-width: 52px !important;
82+
min-height: 24px !important;
83+
display: inline-flex !important;
7984
}
8085

8186
.fern-docs-badge[title="Pre-release"]::after {
8287
content: "Alpha";
88+
position: absolute;
89+
top: 50%;
90+
left: 50%;
91+
transform: translate(-50%, -50%);
92+
color: #A78BFA;
8393
font-size: 0.75rem;
94+
line-height: 1;
95+
white-space: nowrap;
8496
}
8597

8698
:is(.dark) .fern-docs-badge[title="Pre-release"] {

fern/observability/simulations-advanced.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Advanced simulation testing
2+
title: Simulations advanced
33
subtitle: Master testing strategies and best practices for AI voice agent simulations
44
slug: observability/simulations-advanced
55
availability: pre-release

0 commit comments

Comments
 (0)