dev.knotless.theme

Kept in the account that made it, keyed by a TID. Choosing one copies its palette into the chooser's preferences (dev.knotless.getPreferences#appearancePref), so a theme changed or deleted later leaves those who chose it as they were.

Details · record, key tid
Kindrecord
Record keytid
Authorityknotless.dev
Indexed

Record

record · key tid

Properties

createdAt

requiredstring · datetime

name

requiredstring

What the theme is called, as its card shows it.

  • maxLength: 640
  • maxGraphemes: 64

palette

requiredref
Reference

#palette

object

The colours of a theme, each named for what it colours rather than its hue, as a hex colour #rrggbb. A colour left out is light's or dark's, as colorScheme says, or for a surface or a text, mixed from background and text. Readers pass over a colour not as #rrggbb.

Properties

accent

requiredstring

Links.

  • maxLength: 7

attention

string

What waits, and notices.

  • maxLength: 7

background

requiredstring

The page's surface.

  • maxLength: 7

border

string

Lines between parts of a page.

  • maxLength: 7

colorScheme

requiredstring

Whether the theme is light or dark: what it falls back on, and how the browser draws what the pages do not, as scrollbars and form controls.

  • maxLength: 16
  • knownValues: light | dark

danger

string

What failed, is removed, or is dangerous.

  • maxLength: 7

done

string

What is done: a pull merged.

  • maxLength: 7

neutral

string

What closed or was skipped.

  • maxLength: 7

onPrimary

string

Text on the main buttons.

  • maxLength: 7

panel

string

A surface a little apart from the page's: headers, cards.

  • maxLength: 7

primary

requiredstring

The main buttons.

  • maxLength: 7

soft

string

A surface further apart: code blocks, hovered rows.

  • maxLength: 7

success

string

What is open, passed, or added.

  • maxLength: 7
Reference

text

requiredstring

The body's text.

  • maxLength: 7

textFaint

string

Text said more quietly still: hints, placeholders.

  • maxLength: 7

textMuted

string

Text said quietly: times, counts.

  • maxLength: 7

#syntax

object

The colours code is highlighted in, each a hex colour as #rrggbb.

Properties

comments

string
  • maxLength: 7

functions

string
  • maxLength: 7

keywords

string
  • maxLength: 7

numbers

string
  • maxLength: 7

strings

string
  • maxLength: 7

tags

string

Markup's tags.

  • maxLength: 7

types

string
  • maxLength: 7

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A simplified theme definition for publications, providing basic color customization for content display across different platforms and applications.

  • Theme record for blog publications with light and dark mode color schemes.

  • A self-contained theme: a mapping of CSS values to Mise en Mode intent tokens, grouped by aspect. The record key is the expression the theme serves (e.g. 'dark', 'com.homedepot.easter', 'default').