@import 'tailwindcss'; @import 'nextra-theme-docs/style.css'; @variant dark (&:where(.dark *)); @custom-variant betterhover (@media (hover: hover)); @theme { --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif; --font-mono: Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace; --color-dark: #000; } code { @apply text-sm; } body { background: linear-gradient( to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 300px ), fixed 0 0 / 20px 20px radial-gradient(#d1d1d1 1px, transparent 0), fixed 10px 10px / 20px 20px radial-gradient(#d1d1d1 1px, transparent 0); } .dark .invert-on-dark { filter: invert(1) brightness(1.8); } /* App Router: match previous #__next hooks via main content */ body .nextra-body > main h1 { margin-top: 0; } body article :not(pre) > code { color: var(--shiki-token-string-expression); background-color: transparent; border: 0; font-size: 90%; } body article :not(pre) > code::before, body article :not(pre) > code::after { content: '`'; } .dark body article pre { background-color: transparent; border: 1px solid rgba(224, 243, 255, 0.1); border-radius: 5px; } .light body article pre { background-color: transparent; border: 1px solid #e5e7eb; border-radius: 5px; } .light body { --shiki-color-text: #111; --shiki-token-constant: var(--shiki-color-text); --shiki-token-comment: #999; --shiki-token-keyword: #ff0078; --shiki-token-function: #0077ff; --shiki-token-string-expression: #028265; --shiki-token-punctuation: var(--shiki-color-text); } .dark body { --shiki-color-text: #eaeaea; --shiki-token-constant: var(--shiki-color-text); --shiki-token-comment: #666; --shiki-token-keyword: #ff0078; --shiki-token-function: #0099ff; --shiki-token-string-expression: #50e3c2; --shiki-token-punctuation: var(--shiki-color-text); background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #111 300px), fixed 0 0 / 20px 20px radial-gradient(#313131 1px, transparent 0), fixed 10px 10px / 20px 20px radial-gradient(#313131 1px, transparent 0); } code[data-language='sh'] { --shiki-token-string: var(--shiki-color-text); } body article.nextra-body h1 { font-size: 2em; } body article.nextra-body h2 { font-size: 1.5em; } body article.nextra-body h3 { font-size: 1.25em; } body article.nextra-body h4 { font-size: 1em; } body article.nextra-body h5 { font-size: 0.85em; }