chore: update dependencies, enhance theme configuration, and improve layout structure

- Bump versions of several dependencies including @astrojs/mdx, astro, and vite.
- Refactor theme configuration to include code themes for light and dark modes.
- Update layout structure for better responsiveness and clarity.
- Enable JavaScript in TypeScript configuration for broader compatibility.
- Add new font styles and improve font-face definitions.
- Clean up unused imports and commented-out code in index.astro.
- Introduce global type definitions for Attributify attributes in JSX.
This commit is contained in:
radishzzz 2025-01-21 21:21:24 +00:00
parent 6ea0644928
commit 804cf72052
12 changed files with 375 additions and 257 deletions

View file

@ -17,11 +17,13 @@ export interface ThemeConfig {
primary: string
secondary: string
background: string
codeTheme: string
}
dark: {
primary: string
secondary: string
background: string
codeTheme: string
}
}