@@ -91,8 +91,8 @@ def create(
9191 href = rx .State .router .page .full_path + "#" + id_
9292 scroll_margin = rx .cond (
9393 HostingBannerState .is_banner_visible ,
94- "scroll-m-[8.5rem ]" ,
95- "scroll-m-[5rem ]" ,
94+ "scroll-mt-[113px ]" ,
95+ "scroll-mt-[77px ]" ,
9696 )
9797
9898 return super ().create (
@@ -113,7 +113,7 @@ def create(
113113 href = href ,
114114 on_click = lambda : rx .set_clipboard (href ),
115115 # as_child=True,
116- class_name = "flex flex-row items-center gap-6 hover:!text-violet-11 text-slate-12 cursor-pointer mb-2 transition-colors group" ,
116+ class_name = "flex flex-row items-center gap-6 hover:!text-violet-11 cursor-pointer mb-6 transition-colors group text-m-slate-12 dark:text-m-slate-3 " ,
117117 )
118118
119119
@@ -125,7 +125,7 @@ def h1_comp(text: str) -> rx.Component:
125125 return h_comp_common (
126126 text = text ,
127127 heading = "h1" ,
128- class_name = "font-x-large lg: font-xx-large " ,
128+ class_name = "lg:text-5xl text-3xl font-[525] " ,
129129 )
130130
131131
@@ -134,7 +134,7 @@ def h1_comp_xd(text: str) -> rx.Component:
134134 return h_comp_common (
135135 text = text ,
136136 heading = "h1" ,
137- class_name = "font-x-large lg: font-xx-large " ,
137+ class_name = "lg:text-5xl text-3xl font-[525] " ,
138138 )
139139
140140
@@ -144,7 +144,7 @@ def h2_comp(text: str) -> rx.Component:
144144 text = text ,
145145 heading = "h2" ,
146146 mt = "8" ,
147- class_name = "font-large lg:font-x-large " ,
147+ class_name = "lg:text-4xl text-2xl font-[525] " ,
148148 )
149149
150150
@@ -154,7 +154,7 @@ def h2_comp_xd(text: str) -> rx.Component:
154154 text = text ,
155155 heading = "h2" ,
156156 mt = "8" ,
157- class_name = "font-large lg:font-x-large " ,
157+ class_name = "lg:text-3xl text-2xl font-[525] " ,
158158 )
159159
160160
@@ -164,7 +164,7 @@ def h3_comp(text: str) -> rx.Component:
164164 text = text ,
165165 heading = "h3" ,
166166 mt = "4" ,
167- class_name = "font-large " ,
167+ class_name = "lg:text-2xl text-xl font-[525] " ,
168168 )
169169
170170
@@ -174,7 +174,7 @@ def h3_comp_xd(text: str) -> rx.Component:
174174 text = text ,
175175 heading = "h3" ,
176176 mt = "4" ,
177- class_name = "font-large " ,
177+ class_name = "lg:text-2xl text-lg font-[525] " ,
178178 )
179179
180180
@@ -184,7 +184,7 @@ def h4_comp(text: str) -> rx.Component:
184184 text = text ,
185185 heading = "h4" ,
186186 mt = "2" ,
187- class_name = "font-md-smbold " ,
187+ class_name = "lg:text-xl text-lg font-[525] " ,
188188 )
189189
190190
@@ -194,7 +194,7 @@ def h4_comp_xd(text: str) -> rx.Component:
194194 text = text ,
195195 heading = "h4" ,
196196 mt = "2" ,
197- class_name = "font-md-smbold " ,
197+ class_name = "lg:text-xl text-lg font-[525] " ,
198198 )
199199
200200
0 commit comments