W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [css-color-5] Add `currentBackgroundColor` Variable (#5292)

From: Una Kravets via GitHub <sysbot+gh@w3.org>
Date: Mon, 06 Jul 2020 21:10:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-654467156-1594069807-sysbot+gh@w3.org>
@fantasai I believe this would only really be used when a background color is specified, and in that case, I'd find it really useful. 

I see dynamic backgrounds frequently in components like cards that have some shared structure, but unique characteristics (i.e. on a media website with a carousel of different types of article preview cards, each with a slightly different background color and matching border to hint at this type).

-- 
GitHub Notification of comment by una
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5292#issuecomment-654467156 using your GitHub account
Received on Monday, 6 July 2020 21:10:12 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC