ckirknielsen’s avatarckirknielsen’s Twitter Archive—№ 584

    1. …in reply to @Una
      Una I'd love a way to take a link's currentColor, and on hover/focus, use that color as a background-color, and use an inverted, contrasted colour for the text colour. I currently use custom properties to do this, works well but automating it would be nice! (though I foresee issues)
  1. …in reply to @ckirknielsen
    Una (if currentColor inherits the adjusted color, you'd have to adjust it again for the background to negate the effects; there has to be some logical processing order so that currentColor — or inherit? — doesn't enter a computing loop, I suppose)