CalendarThemetype
One of the names in CALENDAR_THEMES.
Import it
import type { CalendarTheme } from "@johnmorrisdotca/koyomi-calendars/names";
Also exported from: @johnmorrisdotca/koyomi-calendars
Definition
type CalendarTheme = (typeof CALENDAR_THEMES)[number];
Examples
import { calendarIcon, type CalendarTheme } from "@johnmorrisdotca/koyomi-calendars";
const theme: CalendarTheme = "squircle";
console.log(calendarIcon({ month: 11, day: 3, theme }).startsWith("<svg"));trueWhat it prints (run when this page was built)