@@ -152,10 +152,10 @@ export default define.page<typeof handler>(function DocsPage(props) {
152152 < Header title = "docs" active = "/docs" />
153153 < div f-client-nav = { true } >
154154 < MobileSidebar page = { page } />
155- < div class = "flex mx-auto max-w-screen-2xl px-0 md:px-4 md:py-0 justify-start bg-gray-100 " >
155+ < div class = "flex mx-auto max-w-screen-2xl px-0 md:px-4 md:py-0 justify-start bg-background-secondary " >
156156 < label
157157 for = "docs_sidebar"
158- class = "px-4 py-3 lg:hidden flex items-center hover:bg-gray-100 rounded gap-2 cursor-pointer"
158+ class = "px-4 py-3 lg:hidden flex items-center rounded gap-2 cursor-pointer"
159159 >
160160 < svg
161161 class = "h-6 w-6"
@@ -178,7 +178,7 @@ export default define.page<typeof handler>(function DocsPage(props) {
178178 < div class = "fixed top-24 w-[17rem] flex overflow-hidden" >
179179 < div class = "flex-1 h-[calc(100vh_-_6rem)] overflow-y-auto pb-8" >
180180 < SearchButton class = "mr-4 sm:mr-0" />
181- < div class = "mb-4" >
181+ < div class = "mb-4 px-1 " >
182182 < VersionSelect
183183 selectedVersion = { page . version }
184184 versions = { page . versionLinks }
@@ -199,7 +199,7 @@ export default define.page<typeof handler>(function DocsPage(props) {
199199 < TableOfContents headings = { headings } />
200200
201201 < div class = "lg:order-1 min-w-0 max-w-3xl w-full" >
202- < h1 class = "text-4xl text-gray-900 tracking-tight font-bold md:mt-0 px-4 md:px-0 mb-4" >
202+ < h1 class = "text-4xl text-foreground-primary tracking-tight font-bold md:mt-0 px-4 md:px-0 mb-4" >
203203 { page . title }
204204 </ h1 >
205205 < div
@@ -256,7 +256,7 @@ function MobileSidebar({ page }: { page: Page }) {
256256 class = "absolute inset-0 bg-gray-600 opacity-75"
257257 for = "docs_sidebar"
258258 />
259- < div class = "relative flex-1 flex flex-col w-[18rem] h-full bg-white border-r-2 border-gray-100 " >
259+ < div class = "relative flex-1 flex flex-col w-[18rem] h-full bg-background-primary border-r-2 border-foreground-secondary " >
260260 < nav class = "pt-0 pb-16 overflow-x-auto" >
261261 < div class = "flex-1 h-screen overflow-y-auto pt-4 px-4" >
262262 < SearchButton class = "mr-4 sm:mr-0" />
@@ -293,9 +293,9 @@ function ForwardBackButtons(props: {
293293 ? (
294294 < a
295295 href = { prev . href }
296- class = "px-4 py-2 text-left rounded border border-gray-200 grid border-solid w-full hover:border-green-600 transition-colors"
296+ class = "px-4 py-2 text-left rounded border border-foreground-secondary/20 grid border-solid w-full hover:border-green-600 transition-colors"
297297 >
298- < span class = "text-sm text-gray-600" >
298+ < span class = "text-sm text-gray-600 dark:text-gray-500 " >
299299 Previous page
300300 </ span >
301301 < span class = "text-green-600 font-medium" >
@@ -308,9 +308,9 @@ function ForwardBackButtons(props: {
308308 ? (
309309 < a
310310 href = { next . href }
311- class = "px-4 py-2 text-right rounded border border-gray-200 border-solid grid w-full hover:border-green-600 transition-colors"
311+ class = "px-4 py-2 text-left rounded border border-foreground-secondary/20 grid border-solid w-full hover:border-green-600 transition-colors"
312312 >
313- < span class = "text-sm text-gray-600" >
313+ < span class = "text-sm text-gray-600 dark:text-gray-500 " >
314314 Next page
315315 </ span >
316316 < span class = "text-green-600 font-medium" >
0 commit comments