A sweep of all 24 theme palettes, measuring each icon's drawn colour, found pinned in three colours: accent in the feed list, the text colour on an item's row, and uncoloured on the toolbar, beside the title and on the feed page. The read button showed the action (an envelope on a read item) beside a pin showing the state. Now each toggle shows what is, with aria-pressed, and a pressed one is the accent colour; Classic needs its own rule, as its buttons set their colour at higher specificity. The contrast test checks the accent on the button grounds, where it now draws. Directory's Subscribe button carried the Subscribed tick; it is a plus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,7 +55,7 @@ function listedFeed(p,cls){
|
||||
`<small class="meta">${p.subscribers} subscriber${p.subscribers===1?'':'s'}</small></div>`+
|
||||
// Green, as a downloaded file is: it is already yours. Plus, beside it, is the way to get one.
|
||||
(p.subscribed?`<span class="subbed" title="Subscribed: click to open it" aria-label="Subscribed">${ICON.subbed}</span>`
|
||||
:`<button class="btn ico" data-a="sub" title="Subscribe" aria-label="Subscribe">${ICON.subbed}</button>`);
|
||||
:`<button class="btn ico" data-a="sub" title="Subscribe" aria-label="Subscribe">${ICON.plus}</button>`);
|
||||
// Yours already: the row opens it instead.
|
||||
if(p.subscribed){ el.onclick=()=>{ closeModal(); selectFeed(p.id); }; return el; }
|
||||
$('[data-a="sub"]',el).onclick=async()=>{
|
||||
|
||||
Reference in New Issue
Block a user