diff --git a/docs/signals.md b/docs/signals.md index 2d4105b..f8fe523 100644 --- a/docs/signals.md +++ b/docs/signals.md @@ -20,7 +20,7 @@ their Signals that has not heard about the item yet. the set the page's own icons come from: 2,883 icons, solid, regular and brands, searched by name and Font Awesome's search terms ("ai" finds the robot). Without one, a Signal shows its initials. **Auto** asks Jev to choose (#263), and a Signal made without an icon gets Jev's pick by - itself, a moment after it is made. Every Signal's tile is in the needle's colour (`--accent2`), the orange point of the folder's icon. + itself, a moment after it is made. Every Signal's tile is solid in the orange of the folder icon's point. - **Each Signal's row** says "12 items ยท 3 unread", as a feed's row counts its own. - **The folder's page** lists the Signals, as an OPML's page lists its feeds, with the + for a new one. - **A Signal's page** is an ordinary item list: All, Unread, Downloaded and Pinned, search and sort. diff --git a/web/app.css b/web/app.css index f427359..7be8081 100644 --- a/web/app.css +++ b/web/app.css @@ -781,6 +781,10 @@ body.scan-this .fhead [data-a=scan] .i,body.scan-any .fhead [data-a=scanall] .i, .art>.tile{width:100%;height:100%;display:block} #pdead .tile{width:26px;height:26px;border-radius:6px} .art.ini{background:color-mix(in srgb,var(--tint) 24%,var(--bg));color:var(--tint)} +/* A Signal: solid on the orange of the Signals icon's point (signals.svg, signals-dark.svg) in + every theme, as the icon is, with the icon or initials in the logo's navy. */ +.art.ini.sig{background:#ff6a1a;color:#0c2238} +:root[data-mode="light"] .art.ini.sig{background:#ff5500} /* A folder: its first four shows' art, as iTunes built a playlist's from its albums. */ .art.mosaic{grid-template:1fr 1fr/1fr 1fr;place-items:stretch} .art.mosaic img{width:100%;height:100%;min-height:0;object-fit:cover;display:block} diff --git a/web/src/signals.ts b/web/src/signals.ts index 0fdbf94..e3488fb 100644 --- a/web/src/signals.ts +++ b/web/src/signals.ts @@ -34,12 +34,12 @@ function feedRow(id: string, cls: string, html: string, open: ()=>void){ /// takes nothing else either). const ICON_ID=/^(solid|regular|brands)\/[a-z0-9-]{1,64}$/; const iconHTML=(icon: string)=>``; -/// Every Signal in the needle's colour (--accent2), the point of the folder's icon, icon or -/// initials: tinted by a hash of its name, as a feed without art is, one came out a colour of its -/// own for no reason anyone could see (#262). +/// Every Signal on the orange of the folder icon's point (.art.sig), icon or initials: tinted by a +/// hash of its name, as a feed without art is, one came out a colour of its own for no reason +/// anyone could see (#262). function signalTile(sg: {name: string, icon: string|null}){ const inner=sg.icon&&ICON_ID.test(sg.icon) ? iconHTML(sg.icon) : esc(initials(sg.name)); - return `
${inner}
`; + return `
${inner}
`; } const badgeHTML=(n: number)=>`${n>999?'999+':n}`; function signalFolder(list: HTMLElement, q: string){