use catppuccin code style

This commit is contained in:
Ell 2024-07-20 23:53:02 +02:00
parent bd6f3f0b29
commit aad75993a1

View file

@ -4,10 +4,10 @@ nav: blognav.html
---
<script>
let style = darkTheme ? "monokai" : "default";
let style = darkTheme ? "mocha" : "latte";
$("head").append($("<link/>", {
rel: "stylesheet",
href: `https://cdn.jsdelivr.net/gh/richleland/pygments-css@master/${style}.css`
href: `https://cdn.jsdelivr.net/gh/catppuccin/python@gh-pages/pygments/catppuccin-${style}.css`
}));
</script>