darkmode scripts

This commit is contained in:
Jacky Zhao 2023-06-06 19:48:37 -07:00
parent 89e0311a98
commit 4d3579ca98
13 changed files with 145 additions and 15 deletions
quartz/components

View file

@ -1,7 +1,6 @@
import { ComponentType } from "preact"
export type QuartzComponent<Props> = {
Component: ComponentType<Props>
export type QuartzComponent<Props> = ComponentType<Props> & {
css?: string,
beforeDOMLoaded?: string,
afterDOMLoaded?: string,