@@ -32,8 +32,8 @@ const variants = cva("", {
3232 } ,
3333 padding : {
3434 full : "" ,
35- stretch : "px-4 md:px-8 xl :px-10" ,
36- fixed : "mx-auto px-4 md:px-8 xl :px-10" ,
35+ stretch : "px-4 md:px-8 navbar:px-8 lg :px-10" ,
36+ fixed : "mx-auto px-4 md:px-8 navbar:px-8 lg :px-10" ,
3737 } ,
3838 } ,
3939} ) ;
@@ -80,11 +80,11 @@ export function Header() {
8080 "bg-(--color-header-bg) hover:bg-(--color-header-bg-hover)" ,
8181 "text-(--color-header-text) hover:text-(--color-header-text)" ,
8282 "border-line-subtle border-b" ,
83- designSystemPreset !== "custom" && "max-desktop :h-(--height-nav)" ,
83+ designSystemPreset !== "custom" && "max-navbar :h-(--height-nav)" ,
8484 variants ( { padding : headerWidth } ) ,
8585 designSystemPreset !== "custom" &&
8686 headerWidth !== "full" &&
87- "sm:max-desktop :px-8" ,
87+ "sm:max-navbar :px-8" ,
8888 scrolled ? "shadow-none" : "shadow-none" ,
8989 headerPosition ,
9090 isTransparent
@@ -109,15 +109,15 @@ export function Header() {
109109 < div
110110 className = { cn (
111111 "grid grid-cols-[1fr_auto_1fr] items-center" ,
112- designSystemPreset !== "custom" && "max-desktop :gap-x-2.5" ,
112+ designSystemPreset !== "custom" && "max-navbar :gap-x-2.5" ,
113113 variants ( { width : headerWidth } ) ,
114- designSystemPreset !== "custom" && "max-desktop :h-full" ,
114+ designSystemPreset !== "custom" && "max-navbar :h-full" ,
115115 ) }
116116 >
117117 < div
118118 className = { cn (
119119 "col-start-1 row-start-1 flex items-center gap-4 justify-self-start" ,
120- ! isCompactDesktop && "xl :hidden" ,
120+ ! isCompactDesktop && "navbar :hidden" ,
121121 ) }
122122 >
123123 < MobileMenu showOnDesktop = { isCompactDesktop } />
@@ -130,14 +130,14 @@ export function Header() {
130130 < div
131131 className = { cn (
132132 "col-start-2 row-start-1 flex items-center justify-self-center" ,
133- ! isCompactDesktop && "xl :col-start-1 xl :justify-self-start" ,
133+ ! isCompactDesktop && "navbar :col-start-1 navbar :justify-self-start" ,
134134 ) }
135135 >
136136 < Logo />
137137 </ div >
138138
139139 { ! isCompactDesktop ? (
140- < div className = "col-start-2 row-start-1 hidden h-full justify-self-center xl :block" >
140+ < div className = "col-start-2 row-start-1 hidden h-full justify-self-center navbar :block" >
141141 < DesktopMenu />
142142 </ div >
143143 ) : null }
0 commit comments