Re: [community-group] High contrast colors (#91)

I'm sure other platforms have a bunch. But even if there weren't, sometimes things aren't just a solid, fixed color: just on Windows, you have these and more:

* The user's preferred theme color
* The "Mica" textured background for windows
* The "Acrylic" transparent material for popups and menus
* The "Reveal" effect that makes it appear as if your pointer emits light

And of course Windows isn't unique; each platform has its transparent materials and other fancy stuff. All of those things would have the same core problem and solution as the high contrast colors do in today's spec, in that you'd have to specify them as a fallback color and then add the real information using extensions. That's unavoidable, I think, but I believe that accessibility warrants special treatment since (1) it's functionally important, and (2) it can be represented in a cross-platform way by using the existing CSS system colors. (I'm *assuming* that the 15 CSS system colors were chosen as a good, representative set that are meaningful across multiple platforms.)

(This is what I mean by a fallback color with extensions:)

```json
{
  "MenuBackground":
  {
    "type": "color",
    "value": "#e0e0e0",
    "extensions": {
      "com.microsoft.acrylic": {
        "color": "#0000ff",
        "opacity": 0.7,
        "luminocityOpacity": 1
      }
    }
  }
}
```

-- 
GitHub Notification of comment by TravisSpomer
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/91#issuecomment-1007820196 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 7 January 2022 23:34:36 UTC