A white page in a dark room is not a page. It is a lamp.

LectioLux

The Danish school platform Lectio, redrawn. Dark mode, a colour per subject, nine themes.

The LectioLux 3.0 schedule: clock times on the left rail, one colour per subject
Type
Chrome extension
Status
Live since 2026
Users
434, rated 4.8
Works on
Chrome and other Chromium browsers

How it works

Two editions. One click.

The redrawn front page

Under the hood

No web font. On purpose.

Lectio.dk ↔ LectioLux: 3.0: every page redrawn. Classic: Lectio's own layout, themed. Both editions share one settings engine and one set of themes. Every engine file checks the edition first and does nothing in the wrong one.

The signature: the time-rail

A schedule should answer one question, where am I in the day, and a grid of boxes does not answer it on its own. So the left column shows real clock times locked to each lesson’s actual pixel height, and a live line runs through today’s column at the current time, moving every half minute. The line sits in today’s column alone. A stroke across the whole week would claim something about Monday that isn’t true.

Under the hood

Both editions share one settings engine, one set of themes, and one popup. shared/edition.js is the gate: every engine file begins with LLEdition.is() and does nothing in the wrong edition. The on-page settings panel lives in a shadow root so Lectio’s CSS and the extension’s cannot bleed into each other. There is deliberately no web font. Lectio places schedule modules with em-based math, and a font with different metrics would shift the time axis. The personality lives in the type system instead: spaced small caps for labels, tabular figures wherever numbers must compare vertically, and real weight contrast.

Built with

  • JavaScript
  • CSS
  • Chrome MV3
  • Shadow DOM
  • Fontsource

What I learned

  1. Two editions in one package, gated so each file no-ops in the wrong edition.

  2. Measuring layout in the same frame it was mutated caused jitter. The fix was to stop measuring and let the browser place things.

  3. Never auto-migrate an existing user. That is the one mistake you cannot take back.