Skip to content
HTML Templates For Developers

Documentation

Almanac — Calendar Dashboard

Version 1.0.0 · Vanilla HTML · 10 files · 66 KB

Back to the template

Getting started

  1. Unzip the download and open index.html in a browser. No server, installation or build step is needed.
  2. Edit the text directly in the HTML files.
  3. Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
  4. Replace the artwork in assets/images/ with your own images.
  5. Upload the whole folder to any static host.

File structure

The download contains these 10 files:

  • LICENSE.txt1.7 KB
  • README.md2.3 KB
  • assets/css/style.css20 KB
  • assets/fonts/nunito-LICENSE.txt4.4 KB
  • assets/fonts/nunito-latin-wght-normal.woff238 KB
  • assets/images/favicon.svg562 B
  • assets/js/main.js27 KB
  • documentation/index.html12 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html9.1 KB

Colours

These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.

  • --sky#0EA5E9
  • --sky-strong#0369A1
  • --sky-soft#E0F2FE
  • --ink#0F172A
  • --ink-2#475569
  • --ink-3#64748B
  • --line#E8EDF3
  • --grid#EEF2F7
  • --canvas#F6F9FC
  • --white#FFFFFF
  • --danger#BE123C
  • --team-bg#EDE9FE
  • --team-edge#8B5CF6
  • --team-ink#5B21B6
  • --home-bg#FFE4E6
  • --home-edge#F43F5E
  • --home-ink#9F1239
  • --well-bg#D1FAE5

Interactive features

Views and navigation

The view switch, previous, next and Today buttons are wired in init() in assets/js/main.js. Change WEEK_START (1 = Monday, 0 = Sunday) at the top of the file.

Event data

Edit the SEED array: [dayOffsetFromToday, startHour, durationHours, title, category, place, notes]. Use null as the start hour for an all-day event. Replace seed() with your own loader to use real data.

Calendars (categories)

Add or rename entries in CATEGORIES, then add a matching .t-* class with --edge, --bg, --ink2 and --edgeink in style.css and a colour in the edge() helper.

Event dialog

saveEvent() validates and writes to the in-memory events array. Replace the push or update there with a call to your API.

Customisation notes

Change the hour height

The time grid uses --hour-h in style.css and the HH constant in main.js. Keep both the same value.

Add a calendar colour

Copy one of the .t-team style blocks, give it a new class name and list it in CATEGORIES; chips, filters, dialog swatches and the upcoming list pick it up.

Accent colour

The sky blue is --sky and --sky-strong. Buttons use --sky-strong to keep white text above 4.5:1 contrast.

What is front-end only

This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.

  • Events are generated relative to today and stored in memory only; they reset on reload.
  • The event dialog is front-end only and does not send data anywhere.

Bundled components and licences

Everything the template needs is inside the download; nothing is loaded from the network.

  • Nunito typeface — OFL-1.1 (assets/fonts/nunito-LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 23, 2026

  • Initial release.