feat: the venue's identity in every app: its colour as the accent of the waiters' phones and every terminal screen, customer display looks on the identity, the signage logo widget falls back to the venue's logo
Settings -> Venue -> accent "The venue's identity" (venue.theme = identity): bootstrap carries the identity's first colour and logos; @xenia/ui applyVenueTheme makes the accent tokens (light and dark, readable foregrounds) from it. A display look's "Colours and logo" can be the venue's identity. Plan 6R.20, F-117. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -315,8 +315,13 @@ function BelowFields({ w, set, media, onMedia, extras, path, depth, selected, on
|
||||
const { t } = useTranslation('manager')
|
||||
if (MORE_KINDS.includes(w.kind)) return <MoreBelow w={w} set={set} media={media} onMedia={onMedia} />
|
||||
if (w.kind === 'logo') {
|
||||
return <MediaPick kind="image" value={w.media_id} entry={media[String(w.media_id)]} testid="signage-widget-logo"
|
||||
onChange={item => { onMedia(item); set({ media_id: item.id }) }} />
|
||||
return (
|
||||
<div className="grid gap-1">
|
||||
<MediaPick kind="image" value={w.media_id} entry={media[String(w.media_id)]} testid="signage-widget-logo"
|
||||
onChange={item => { onMedia(item); set({ media_id: item.id }) }} onRemove={() => set({ media_id: null })} />
|
||||
{!w.media_id && <p className="text-caption text-ink-3">{t('signage.widgets.logoFromIdentity')}</p>}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
if (w.kind === 'message') return <MessageHint />
|
||||
if (w.kind === 'weather') {
|
||||
|
||||
Reference in New Issue
Block a user