ColorTh...tColors(3)
π 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. π
π COPYRIGHT AND LICENSE π
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
- fedora 43: perl-ColorThemeBase-Static 0.009-3.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms