CALENDAR_THEME_ALIASESconstant
The ten names of 0.12 and 0.13, still accepted: each reads as the theme that replaced it.
Import it
import { CALENDAR_THEME_ALIASES } from "@johnmorrisdotca/koyomi-calendars/names";
Also exported from: @johnmorrisdotca/koyomi-calendars
Definition
const CALENDAR_THEME_ALIASES: Readonly<Record<string, "pins" | "loops" | "shadow" | "heavy" | "cartoon" | "flip" | "stack" | "line" | "curl" | "soft" | "desk" | "thin" | "frame" | "badge" | "sun" | "roll" | "plain" | "squircle">> = {
classic: "pins",
outline: "line",
spiral: "loops",
bold: "heavy",
tent: "flip",
curl: "curl",
pad: "stack",
minimal: "thin",
fold: "frame",
tile: "badge",
}
Examples
import { CALENDAR_THEME_ALIASES } from "@johnmorrisdotca/koyomi-calendars";
console.log(CALENDAR_THEME_ALIASES["classic"]);pinsWhat it prints (run when this page was built)