Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'isReadable' does not exist on type 'Colord' #125

Open
Jacktoolsnet opened this issue May 4, 2024 · 2 comments
Open

Property 'isReadable' does not exist on type 'Colord' #125

Jacktoolsnet opened this issue May 4, 2024 · 2 comments

Comments

@Jacktoolsnet
Copy link

Installed the latest Version and got this error:

Property 'isReadable' does not exist on type 'Colord'

@callum-ds
Copy link

@Jacktoolsnet hey i also came across the issue, but its an easy fix. Just need to include the a11y plugin for the isReadable() method to work:

import a11yPlugin from "colord/plugins/a11y";

extend([a11yPlugin]);

The documentation could definitely be improved to make this more clear though.

@Jacktoolsnet
Copy link
Author

@callum-ds thank you very much.

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

No branches or pull requests

2 participants