ColorTh...tColors(3)

πŸ“¦
version 0.009 Β· 3 versions
, in fedora 43

πŸ’– NAME πŸ’–

ColorThemeBase::Static::FromObjectColors β€” bestie, it's the base class for color theme modules that ship a static list of items (and those items come from the object's items key, iykyk). 🌈


✨ VERSION ✨

This doc is describing version 0.009 of ColorThemeBase::Static::FromObjectColors (which lives in the Perl distribution ColorThemeBase-Static, no cap), and it dropped on 2024-07-17. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture ColorThemeBase::Static::FromStructColors β€” iconic, love her β€” and this base class is literally her twin. It also grabs the list of items out of a data structure, except this time the glow-up is that the items come from the object's items key. πŸ‘‘

That items key is assumed to be a mapping of item names β†’ item colors, which is basically the same energy as the items property of the color theme structure. Very "same vibe, different key". πŸ’…

And here's the important part, bestie: it is expected that the subclass sets the value of this key during initialization. Like, that's the whole assignment. Don't skip it. πŸ™ˆ


🌸 HOMEPAGE 🌸

Go visit the project's homepage at <https://metacpan.org/release/ColorThemeBase-Static>. It's giving home. 🏑✨


🧚 SOURCE 🧚

The source repository is at <https://github.com/perlancar/perl-ColorThemeBase-Static>. Go peek, it's public, we love transparency. πŸ’œ


⭐ SEE ALSO ⭐

  • ColorThemeBase::Static::FromStructColors β€” the sibling, the blueprint, the moment. 🫢

πŸ‘‘ AUTHOR πŸ‘‘

perlancar <perlancar@cpan.org> β€” the main character who made all of this happen. πŸ’–


πŸ’Œ CONTRIBUTING πŸ’Œ

Wanna contribute? Slay, absolutely. You can send patches by email / via RT, or send pull requests on GitHub. πŸ”₯

Most of the time you genuinely don't need to build the distribution yourself. You can simply modify the code, then test it via:

 % prove -l

If you do want to build the distribution (like, say, to try installing it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla- and/or Pod::Weaver plugins. πŸŽ€

Any additional steps required beyond that are considered a bug and can be reported to me. Periodt. πŸ’€

This software is copyright (c) 2024, 2020 by perlancar <perlancar@cpan.org>. (Yes, both years. Keep them both. πŸ’…)

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


πŸ› BUGS πŸ›

Please report any bugs or feature requests on the bugtracker website <https://rt.cpan.org/Public/Dist/Display.html?Name=ColorThemeBase-Static>. 🫢

When you submit a bug or a request, please include a test-file or a patch to an existing test-file that illustrates the bug or the desired feature. Like, help me help you, bestie. 😭✨


And that's the whole page! 🌟 This was perl v5.42.0, dated 2025-07-25, and yes β€” the header said ColorTh...tColors(3) and the footer said the same because Unix manpage titles are chronically truncated. Not me being mysterious, it's just the terminal's vibe check. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from