Skip to content
OpenTodoAppPublic

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

OpenTodo themes

Themes for OpenTodo, shown at open-todo.app/themes.

Use a theme

On a theme's page, Open in your instance, or Copy theme and press Paste theme in Settings → Appearance → Theme (or Cmd/Ctrl+V there). Download gives the file, for Import. The theme travels inside the link's #t= fragment: neither the website nor your instance fetches it.

Layout

themes/
  harbour/
    light.json    a theme document (kind "light")
    dark.json     its dark side; a folder holds one side or both
    meta.json     { "added": "YYYY-MM-DD" }
featured.json     folders the library shows first
kit.json          the OpenTodo release whose theme kit checks this repository

Each document is an OpenTodo theme file (opentodoTheme: 1). Start from Download a template in the app, or from any folder here.

Add a theme

See CONTRIBUTING.md. In short: one folder, an open licence, and node scripts/check.mjs passes.

Checks

node scripts/fetch-kit.mjs     # the pinned release's theme kit, into .kit/
node --test scripts/*.test.mjs
node scripts/check.mjs

The checks use the app's own code (the site bundle's theme-kit/), so a theme passes here exactly when the app of that release accepts it and finds its contrast readable.

Licence

Each theme carries its own licence in its licence field. The scripts are MIT (LICENSE).

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages