@@ -39,7 +39,7 @@ const SiteHeader = forwardRef<HTMLElement, SiteHeaderProps>(
3939 ? {
4040 color : "var(--vscode-editor-foreground, #cccccc)" ,
4141 fontFamily :
42- "var(--vscode-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif )" ,
42+ "var(--vscode-font-family, var(--font-display) )" ,
4343 backgroundColor :
4444 "color-mix(in oklab, var(--vscode-editorGroupHeader-tabsBackground, var(--vscode-sideBar-background, #252526)) 92%, transparent)" ,
4545 borderColor : "var(--vscode-panel-border, #2b2b2b)" ,
@@ -51,23 +51,9 @@ const SiteHeader = forwardRef<HTMLElement, SiteHeaderProps>(
5151
5252 return (
5353 < >
54- < div
55- className = { `fixed top-0 left-0 right-0 z-30 bg-[var(--color-caramel)] text-[var(--color-bg)] text-center text-sm font-display font-semibold py-1.5${ themeAware ? " border-b" : "" } ` }
56- style = {
57- themeAware
58- ? {
59- backgroundColor : "var(--vscode-badge-background, #007acc)" ,
60- borderColor : "var(--vscode-panel-border, #2b2b2b)" ,
61- color : "var(--vscode-badge-foreground, #ffffff)" ,
62- }
63- : undefined
64- }
65- >
66- 🚧 Under construction — check back soon! 🚧
67- </ div >
6854 < header
6955 ref = { ref }
70- className = { `fixed top-8 left-0 right-0 z-20 flex items-center justify-between gap-3 px-4 md:px-8 font-display text-lg font-medium ${
56+ className = { `fixed top-0 left-0 right-0 z-20 flex items-center justify-between gap-3 px-4 md:px-8 font-display text-lg${
7157 themeAware ? " h-16 border-b py-0 md:h-20" : " py-4 md:py-6"
7258 } `}
7359 style = { headerStyle }
@@ -77,12 +63,12 @@ const SiteHeader = forwardRef<HTMLElement, SiteHeaderProps>(
7763 href = "/"
7864 className = {
7965 brandVisible
80- ? `text-xl font-semibold tracking-tight transition-opacity ${
66+ ? `text-xl transition-opacity ${
8167 themeAware
8268 ? "opacity-80 hover:opacity-100"
8369 : "opacity-50 hover:opacity-100 text-[var(--color-caramel)]"
8470 } `
85- : `text-xl font-semibold tracking-tight ${
71+ : `text-xl ${
8672 themeAware ? "" : "text-[var(--color-caramel)]"
8773 } `
8874 }
@@ -118,8 +104,8 @@ const SiteHeader = forwardRef<HTMLElement, SiteHeaderProps>(
118104 ? "opacity-100"
119105 : "opacity-70 hover:opacity-100"
120106 : isActive
121- ? "text-[var(--color-caramel-light )]"
122- : "hover:text-[var(--color-caramel-light )]"
107+ ? "text-[var(--color-caramel)]"
108+ : "hover:text-[var(--color-caramel)]"
123109 } `}
124110 style = {
125111 themeAware && isActive
0 commit comments