We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
hey, you can provide your own initial color, the rest of them will be generated automatically (analogous and complementary):
const generateMeshGradient = ( length: number, baseColor?: string, hash?: number ) => { const [bgColor, bgImage] = genStops( length, hexToHSL(baseColor) ? hexToHSL(baseColor) : undefined, hash ? hash : undefined ); return `background-color: ${bgColor}; background-image:${bgImage}`; };
usage:
generateMeshGradient(6, #088F8F);
Sorry, something went wrong.
What if you want to provide all the colors it should use?
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: