OpenCloud reads its colors from a theme.json and writes them inline on
the page, so a stylesheet cannot reach them. The role now installs an
own theme id next to the upstream one: a task renders the theme file
and hands it, together with logo, mobile logo and favicon, to a sync
script inside the container, which writes a file only when its content
changed and marks the directory as its own. Every color role and file
icon color of the theme refers to a design token, so light and dark
follow the palette and only the logo files are baked. The env file
selects the theme through WEB_UI_THEME_PATH.
With the design service off the role removes the directory it marked
and leaves the upstream theme selected. A directory of that name
without the marker stops the deploy instead of being overwritten.
The role stylesheet covers what the theme does not reach: defaults
before the theme loads, dividers, hover and selected states, focus in
the top bar and the sign-in page of the built-in identity provider. A
design script mirrors the theme a user picked and sets the favicon on
the sign-in page.
The spec signs in as the built-in administrator when no identity
provider fronts the app and asserts tokens, theme roles, states, focus
inside the top bar, the theme choice, logo, title and the sign-in page.
It captures a gallery of 34 views. TODO.md records that the app store
catalogue is blocked by the content security policy.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>