nbitzz / split.pet

My website, split.pet, built in Astro
https://split.pet
5 stars 4 forks source link

code blocks should have some light mode option #12

Open nbitzz opened 2 months ago

nbitzz commented 2 months ago

idk how to do this lol

ThisCatLikesCrypto commented 2 months ago

This? image in /src/style/mardown.scss

It looks... fine image

nbitzz commented 1 month ago

the text is still like. github dark

ThisCatLikesCrypto commented 1 month ago

ohhhh i get what you mean now, i can try but i'm not rly sure how you'd do it either

ThisCatLikesCrypto commented 1 month ago

I've tried an astro plugin (astro-expressive-code), it seems to have just worked image image

ThisCatLikesCrypto commented 1 month ago

just npx astro add astro-expressive-code and then move expressiveCode() before mdx() in astro.config.mjs

nbitzz commented 1 month ago

ooh okay. i'll take a look soon