Color:...Schema(3pm)

πŸ“¦
version 0.100004 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Color::Palette::Schema πŸ’–

okay so you're reading the Color::Palette::Schema(3pm) page, and yes bestie, it's part of the User Contributed Perl Documentation β€” it's giving very "niche but essential", iykyk. πŸŽ€


✨ NAME ✨

Color::Palette::Schema β€” requirements for a palette πŸ¦‹


🌸 VERSION 🌸

version 0.100004


πŸ’… DESCRIPTION πŸ’…

ok so the tea is: most of this is already documented over in Color::Palette. This page here is just the lil extra bits, the bonus content, the director's cut. That's it, that's the whole vibe. ✨


🐚 PERL VERSION 🐚

not me being obsessed with backwards compat... this library should run on perls released even a long time ago. fr fr, it should work on any version of perl released in the last five years. πŸ’œ

and like, it may work on older versions of perl, but no guarantee is made that the minimum required version won't get increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. so don't come for her about it, periodt. πŸ’€


πŸŽ€ ATTRIBUTES πŸŽ€

required_colors

this is an arrayref of color names that must be present in any palette checked against this schema. like, if it's not on the list, it's not passing the vibe check, simple as that. 🌈


🧚 METHODS 🧚

check

$schema->check($palette);

this method will throw an exception if the given palette doesn't meet the requirements of the schema. so yeah, she will let you know. no silent disappointment here, only loud and dramatic. 😭πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Ricardo SIGNES <cpan@semiotic.systems>


This software is copyright (c) 2022 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay. πŸ’–


aaaand that's the whole page bestie!! πŸ’… this lil cutie was rendered up by perl v5.36.0 on 2023-01-08, and honestly? iconic. bye babes πŸ¦‹πŸŒΈβœ¨

πŸ“¦ where this page comes from