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

Materializecss compatibility #125

Closed
hoesman opened this issue Nov 20, 2023 · 2 comments
Closed

Materializecss compatibility #125

hoesman opened this issue Nov 20, 2023 · 2 comments

Comments

@hoesman
Copy link

hoesman commented Nov 20, 2023

Could you make it compatible with materializecss? It kinda works with some problems, the inputs are buggin, the input where the color should be displayed is just showing the hex code and the input on the picker itself is misaligned and bugged

Here pictures, the second one is the desired square with the color
https://imgur.com/a/HO0smPU

@mdbassit
Copy link
Owner

Ah, another overzealous CSS framework!!

If you are using the latest version of Coloris, add this code after you initialize it:

Coloris.ready(() => {
  document.getElementById('clr-color-value').classList.add('browser-default');
});

@hoesman
Copy link
Author

hoesman commented Nov 21, 2023

Thanks will give it a try, meanwhile i have been using the html type="color" which isnt that bad except for firefox using the ugly windows color picker, this is nicer and same across browsers

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