place.hud.createTheme
Write a place.hud.theme record in the person's own repository, for anyone to choose. It is not chosen: setTheme does that. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin on a procedure) or a HUD access token as Bearer.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3jbje6ny3ju |
| Indexed |
Procedure
procedure · POSTInput
application/jsonmaxLength: 16knownValues: light | dark
What the theme is called.
maxLength: 640maxGraphemes: 64
Output
application/jsonThe theme made, by its uri.
Errors
InvalidRequest
A name that is blank; a palette whose texts do not all read at 4.5:1 (checkTheme names which); or the person's PDS refused the write.
AuthRequired
No live web session or HUD access token: sign in.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Choose the theme the workspace is drawn in.
-
A theme a person made for HUD's workspace, for anyone to draw it in.
-
dev.knotless.createTheme
procedurePublishes a theme as the account logged in to this appview's pages.
-
Delete a theme the person made.
-
Check a palette's contrast.