diff --git a/astro.config.mjs b/astro.config.mjs index d16d06d..3d91db2 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -4,6 +4,7 @@ import remarkToc from "remark-toc"; import mdx from "@astrojs/mdx"; import icon from "astro-icon"; import { fileURLToPath } from "url"; +import catppuccinLatteCustom from "./src/lib/catppuccin-latte-custom.ts"; export default defineConfig({ integrations: [icon(), mdx()], @@ -23,7 +24,7 @@ export default defineConfig({ remarkPlugins: [[remarkToc, { heading: "contents", tight: true }]], shikiConfig: { themes: { - light: "catppuccin-latte", + light: catppuccinLatteCustom, dark: "catppuccin-frappe", }, }, diff --git a/src/content/blogs/gameboy-jam/index.mdx b/src/content/blogs/gameboy-jam/index.mdx index b3e55b2..7cb2a8b 100644 --- a/src/content/blogs/gameboy-jam/index.mdx +++ b/src/content/blogs/gameboy-jam/index.mdx @@ -10,6 +10,10 @@ tags: ["gameboy", "asm", "school", "gamejam"] import Aside from "@/components/Aside.astro"; import { Icon } from 'astro-icon/components'; +import scrollVideo from "./scroll.mp4"; +import cartridgeImg from "./cartridge.jpg"; +import gameImg from "./game.jpg"; + I recently mentioned on Twitter that I made a gameboy game with some friends during my first year of college. Since there's some cool stuff to showcase, here's a blog about it! ## Context @@ -151,7 +155,7 @@ uint8_t *scroll_x = 0xFF43; This means, we can fake a moving spaceship by simply placing a sprite in the middle of the screen and changing the scroll registers. -