Reorganize a bit, write some more

This commit is contained in:
2024-11-19 21:42:03 -05:00
parent 431ba2d0f4
commit aba3c9f988
17 changed files with 181 additions and 156 deletions

View File

@ -1,13 +0,0 @@
import {useColorMode} from "@docusaurus/theme-common";
import React from "react";
interface Props {
srcLight: string;
srcDark: string;
alt: string;
}
const DualImage = ({srcLight, srcDark, alt}: Props) => {
const {colorMode} = useColorMode();
return <img src={colorMode === "dark" ? srcDark : srcLight} alt={alt} />
}
export default DualImage;

View File

@ -29,4 +29,11 @@ adapted for Victory charts
*/
[data-theme='dark'] .VictoryContainer {
filter: invert(75%) hue-rotate(180deg);
}
/*
Custom magic comment for Prism - hide parts of the code in display
*/
.code-block-hidden {
display: none;
}