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_LABELSconstant

Each design's name for a picker, in English and in Japanese.

Import it

import { CALENDAR_THEME_LABELS } from "@johnmorrisdotca/koyomi-calendars/names";

Also exported from: @johnmorrisdotca/koyomi-calendars

Definition

const CALENDAR_THEME_LABELS: Record<"pins" | "loops" | "shadow" | "heavy" | "cartoon" | "flip" | "stack" | "line" | "curl" | "soft" | "desk" | "thin" | "frame" | "badge" | "sun" | "roll" | "plain" | "squircle", { en: string; ja: string; }> = {
    pins: { en: "Pins", ja: "ピン留め" },
    loops: { en: "Loops", ja: "リング綴じ" },
    shadow: { en: "Long shadow", ja: "長い影" },
    heavy: { en: "Heavy", ja: "極太" },
    cartoon: { en: "Cartoon", ja: "マンガ風" },
    flip: { en: "Flip", ja: "フリップ" },
    stack: { en: "Stack", ja: "重ね" },
    line: { en: "Line", ja: "線画" },
    curl: { en: "Curl", ja: "角めくれ" },
    soft: { en: "Soft", ja: "やわらか" },
    desk: { en: "Desk", ja: "月間パッド" },
    thin: { en: "Thin", ja: "細字" },
    frame: { en: "Frame", ja: "四色枠" },
    badge: { en: "Badge", ja: "バッジ" },
    sun: { en: "Sun disc", ja: "日の丸" },
    roll: { en: "Wall roll", ja: "壁掛け日めくり" },
    plain: { en: "Plain", ja: "無地" },
    squircle: { en: "Squircle", ja: "角丸タイル" },
}

Members

NameTypeDescription
pins{ en: string; ja: string; }
loops{ en: string; ja: string; }
shadow{ en: string; ja: string; }
heavy{ en: string; ja: string; }
cartoon{ en: string; ja: string; }
flip{ en: string; ja: string; }
stack{ en: string; ja: string; }
line{ en: string; ja: string; }
curl{ en: string; ja: string; }
soft{ en: string; ja: string; }
desk{ en: string; ja: string; }
thin{ en: string; ja: string; }
frame{ en: string; ja: string; }
badge{ en: string; ja: string; }
sun{ en: string; ja: string; }
roll{ en: string; ja: string; }
plain{ en: string; ja: string; }
squircle{ en: string; ja: string; }

Examples

import { CALENDAR_THEME_LABELS } from "@johnmorrisdotca/koyomi-calendars";

console.log(CALENDAR_THEME_LABELS.squircle.en);
Squircle

What it prints (run when this page was built)

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