Wikidata:Property proposal/for color scheme
for color scheme edit
Originally proposed at Wikidata:Property proposal/Generic
Description | the color scheme this statement applies to |
---|---|
Represents | color scheme (Q859170) |
Data type | Item |
Allowed values | light, dark |
Example 1 | Wisconsin Badgers (Q3098117)logo image (P154)File:Wisconsin Badgers logo.svg → light |
Example 2 | Wisconsin Badgers (Q3098117)logo image (P154)File:Wisconsin Badgers primary logo white.svg → dark |
Example 3 | FC Cincinnati (Q20855983)logo image (P154)File:FC Cincinnati 2018 primary wordmark orange-blue.svg → light |
Example 4 | FC Cincinnati (Q20855983)logo image (P154)File:FC Cincinnati 2018 primary wordmark orange-white.svg → dark |
Planned use | enable better image choices for applications with dark modes |
Motivation edit
This is a qualifier, primarily meant for use with logo image (P154) but also potentially with other image properties or properties related to color. It enables us to clearly track whether an image is meant to be used with a light background or a dark background. This would enable Wikidata client applications to implement dark mode with better support for prefers-color-scheme. –IagoQnsi (talk) 16:50, 24 October 2020 (UTC)
Discussion edit
- Support --Tinker Bell ★ ♥ 19:54, 7 November 2020 (UTC)
- @IagoQnsi: Done. You could create items for common schemes, so they could be added to the property constraints, for example, Q6545942. --Tinker Bell ★ ♥ 02:03, 14 November 2020 (UTC)