Skip to the content

Koyomi Calendars暦

Calendar pages as SVG: a day as an icon in 18 original designs, a whole month as a poster or a desk pad, and the page turning from one day to the next.

Koyomi is the Japanese word 暦 for the calendar. About the name

Contents

Reference · /names

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"]);
pins

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/koyomi-calendars 0.3.0.