Skip to main content

Module branding

Module branding 

Source
Expand description

Admin chrome the developer can rebrand at plugin-build time — site title, site description, and brand color.

Stored on AdminPlugin during construction (chainable builders), sealed into the global [BRANDING] cell at Plugin::routes() time, and exposed to every template as the globals site_title, site_description, and brand_color. The wrapper template injects a <style> overriding --primary when a brand color is set so the entire theme tints accordingly.

Structs§

AdminBranding

Functions§

umbral_version_label
umbral’s own version — the crate version of umbral-admin, which tracks the workspace. Not a literal, so it cannot go stale.