Skip to content

NUB-THEME: Shell-provided theming#8

Open
dskvr wants to merge 1 commit intomasterfrom
nub-theme
Open

NUB-THEME: Shell-provided theming#8
dskvr wants to merge 1 commit intomasterfrom
nub-theme

Conversation

@dskvr
Copy link
Copy Markdown
Contributor

@dskvr dskvr commented Apr 7, 2026

Namespace: window.napplet.theme
Discovery: window.napplet.shell.supports("theme")
Status: draft

Summary

Read-only access to the active shell theme. Napplets query the current theme and receive automatic notifications on change. Compatible with the widely adopted kind 16767 (Ditto) theme format — the shell transforms source data into a typed payload.

Wire Protocol

Type Direction Description
theme.get napplet → shell Request current theme
theme.get.result shell → napplet Current theme payload
theme.changed shell → napplet Auto-push on theme update

Theme Payload

Colors (background/text/primary), fonts (body/title with name + URL), background media (URL + mode + MIME), and title.

References

dskvr added a commit that referenced this pull request Apr 7, 2026
@dskvr dskvr marked this pull request as draft April 7, 2026 16:26
@dskvr dskvr marked this pull request as ready for review April 9, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant