Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Add fallback values for P3A colors #29

Open
Itsnotaka opened this issue Nov 6, 2023 · 2 comments
Open

Add fallback values for P3A colors #29

Itsnotaka opened this issue Nov 6, 2023 · 2 comments

Comments

@Itsnotaka
Copy link

This project is fantastic and serves as a superior substitute for other radix color implementations due to its expanded color range. However, P3A colors do not display on unsupported machines. Is there any way to incorporate a fallback option to RGB/HSL when P3A isn't a feasible choice?

@brattonross
Copy link
Owner

Which version of the package are you using?
In v1 there was an issue where P3 colors would never display, even on supported displays. However, in v2.0.0-beta.x this issue is fixed, and P3 colors should be displayed if the display supports it, otherwise, the colors will fall back to RGB

@Itsnotaka
Copy link
Author

That is really weird, while I am having no problem seeing P3 colors in my MacBook (indicating it is working), I am not getting fallback colors on non-supported machines.
Package versions

"windy-radix-palette": "2.0.0-beta.7",
"windy-radix-typography": "1.0.0-beta.0"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants