design-tokens / community-group

This is the official DTCG repository for the design tokens specification.
https://tr.designtokens.org
Other
1.56k stars 63 forks source link

Fix the color alpha syntax to be 50% #182

Closed kizu closed 1 year ago

kizu commented 2 years ago

Noticed an issue with the Example 15 and https://design-tokens.github.io/community-group/format/#example-16: Per the spec text, the 24 bit color value is expected to be transformed into a color with the alpha value of 50%, while 88 would be actually around 53%, being a common misconception when writing the component in 8bit format.

This PR changes any mentioned #00000088 colors to #00000080 to match the intent and fix the examples.

netlify[bot] commented 2 years ago

Deploy Preview for dtcg-tr ready!

Name Link
Latest commit 0e815eb2eba631499ab3a995dd5397a179436644
Latest deploy log https://app.netlify.com/sites/dtcg-tr/deploys/6374f06f9f2b210008d7d649
Deploy Preview https://deploy-preview-182--dtcg-tr.netlify.app/format
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.