File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : color-contrast()
2+ description : " The `color-contrast()` CSS function picks a color from a list that has the most contrast with another color."
3+ spec : https://drafts.csswg.org/css-color-5/#contrast-color
4+ group : color-types
5+ discouraged :
6+ # See these CSSWG discussions
7+ # https://github.com/w3c/csswg-drafts/issues/7557
8+ # https://github.com/w3c/csswg-drafts/issues/7359
9+ according_to :
10+ - https://github.com/w3c/csswg-drafts/issues/7557
11+ - https://github.com/w3c/csswg-drafts/commit/36594e9e8496a5ca83f1f1ee2b4a83bcdf28753b
12+ alternatives :
13+ - contrast-color
Original file line number Diff line number Diff line change 1+ # Generated from: color-contrast.yml
2+ # Do not edit this file by hand. Edit the source file instead!
3+
4+ status:
5+ baseline: false
6+ support: {}
Original file line number Diff line number Diff line change 1+ name : contrast-color()
2+ description : " The `contrast-color()` CSS function picks a color that has guaranteed contrast against a specified foreground or background color."
3+ spec : https://drafts.csswg.org/css-color-6/#funcdef-contrast-color
4+ group : color-types
Original file line number Diff line number Diff line change 1+ # Generated from: contrast-color.yml
2+ # Do not edit this file by hand. Edit the source file instead!
3+
4+ status:
5+ baseline: false
6+ support: {}
You can’t perform that action at this time.
0 commit comments