feat(site): new home page, docs, and design system (#566)

Co-authored-by: Darius Cepulis <dcepulis@mux.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ronald Urbina
2026-03-06 16:19:27 -06:00
committed by GitHub
co-authored by Darius Cepulis Claude Opus 4.6
parent f2f9e6ddc3
commit 351a3e8bda
255 changed files with 3574 additions and 1532 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ export default function Shared({ code, lang, highlighter }: SharedProps) {
const hast = highlighter.codeToHast(code, {
lang,
themes: {
light: 'gruvbox-light-hard',
light: 'gruvbox-dark-hard',
dark: 'gruvbox-dark-soft',
},
});
@@ -39,7 +39,7 @@ export default function Shared({ code, lang, highlighter }: SharedProps) {
const { class: codeClassName } = codeProps;
return (
<pre className={clsx('shiki', preClassName)}>
<pre className={clsx('shiki text-manila-light', preClassName)}>
<code className={clsx('font-mono text-code', codeClassName)} dangerouslySetInnerHTML={{ __html: html }} />
</pre>
);
@@ -1,10 +1,10 @@
import { createHighlighter as libCreateHighlighter } from 'shiki';
import gruvboxDarkHard from 'shiki/themes/gruvbox-dark-hard.mjs';
import gruvboxDarkSoft from 'shiki/themes/gruvbox-dark-soft.mjs';
import gruvboxLightHard from 'shiki/themes/gruvbox-light-hard.mjs';
export default function createHighlighter(config: Omit<Parameters<typeof libCreateHighlighter>[0], 'themes'>) {
return libCreateHighlighter({
...config,
themes: [gruvboxLightHard, gruvboxDarkSoft],
themes: [gruvboxDarkHard, gruvboxDarkSoft],
});
}