Ellie Huxtable
2024-08-06 efed544df14c54ee8a0f81079e326a8bf2255fe3
quartz/util/theme.ts
@@ -7,6 +7,7 @@
  secondary: string
  tertiary: string
  highlight: string
  textHighlight: string
}
interface Colors {
@@ -22,6 +23,7 @@
  }
  cdnCaching: boolean
  colors: Colors
  fontOrigin: "googleFonts" | "local"
}
export type ThemeKey = keyof Colors
@@ -48,6 +50,7 @@
  --secondary: ${theme.colors.lightMode.secondary};
  --tertiary: ${theme.colors.lightMode.tertiary};
  --highlight: ${theme.colors.lightMode.highlight};
  --textHighlight: ${theme.colors.lightMode.textHighlight};
  --headerFont: "${theme.typography.header}", ${DEFAULT_SANS_SERIF};
  --bodyFont: "${theme.typography.body}", ${DEFAULT_SANS_SERIF};
@@ -63,6 +66,7 @@
  --secondary: ${theme.colors.darkMode.secondary};
  --tertiary: ${theme.colors.darkMode.tertiary};
  --highlight: ${theme.colors.darkMode.highlight};
  --textHighlight: ${theme.colors.darkMode.textHighlight};
}
`
}