@@ -2,8 +2,12 @@ import { style } from '@vanilla-extract/css';
22
33import { colors } from '@/style/token/color.css' ;
44import { fonts } from '@/style/token/typography.css' ;
5+ import { zIndex } from '@/style/token/zIndex.css' ;
56
67export const header = style ( {
8+ position : 'sticky' ,
9+ top : 0 ,
10+ zIndex : zIndex . header ,
711 width : '100%' ,
812 backgroundColor : colors . bg_black01 ,
913 display : 'flex' ,
@@ -12,8 +16,8 @@ export const header = style({
1216
1317export const headerInner = style ( {
1418 width : '100%' ,
15- maxWidth : '90rem ' ,
16- padding : '0.94rem 5rem' ,
19+ maxWidth : '128rem ' ,
20+ padding : '1. 5rem 8rem ' ,
1721 display : 'flex' ,
1822 justifyContent : 'space-between' ,
1923 alignItems : 'center' ,
@@ -26,33 +30,62 @@ export const logo = style({
2630
2731export const navWrapper = style ( {
2832 display : 'flex' ,
29- gap : '1.25rem ' ,
33+ gap : '2rem ' ,
3034} ) ;
3135
3236export const navItem = style ( {
3337 display : 'flex' ,
34- padding : '0.75rem 1.25rem ' ,
38+ padding : '1.2rem 2rem ' ,
3539 justifyContent : 'center' ,
3640 alignItems : 'center' ,
3741 flexShrink : 0 ,
38- color : '#5A5E66' , // 추후 토큰 색상으로 변경
42+ color : colors . grey6 ,
3943 textAlign : 'center' ,
4044 ...fonts . subtitle05 ,
4145 background : 'transparent' ,
4246 border : 'none' ,
4347 cursor : 'pointer' ,
4448 whiteSpace : 'nowrap' ,
4549 transition : 'color 0.2s' ,
50+ selectors : {
51+ '&:hover' : {
52+ color : colors . grey7 ,
53+ } ,
54+ } ,
55+ } ) ;
56+
57+ export const navItemActive = style ( {
58+ color : `${ colors . grey11 } ` ,
59+ selectors : {
60+ '&:hover' : {
61+ color : `${ colors . grey11 } ` ,
62+ } ,
63+ } ,
4664} ) ;
4765
4866export const active = style ( {
49- color : '#FDFDFD' ,
67+ color : colors . grey11 ,
5068} ) ;
5169
5270export const profilePlaceholder = style ( {
53- width : '3.125rem ' ,
54- height : '3.125rem ' ,
71+ width : '5rem ' ,
72+ height : '5rem ' ,
5573 borderRadius : '50%' ,
56- backgroundColor : '#5A5E66' , // 추후 토큰 색상으로 변경
74+ backgroundColor : colors . grey6 ,
5775 flexShrink : 0 ,
5876} ) ;
77+
78+ export const loginButton = style ( {
79+ color : colors . grey11 ,
80+ textAlign : 'center' ,
81+ ...fonts . subtitle05 ,
82+ background : 'transparent' ,
83+ border : 'none' ,
84+ cursor : 'pointer' ,
85+ transition : 'color 0.2s' ,
86+ selectors : {
87+ '&:hover' : {
88+ color : colors . grey7 ,
89+ } ,
90+ } ,
91+ } ) ;
0 commit comments