Astro:...:Theme(3pm)
π Astro:...:Theme(3pm) π
okay bestie, this page is from the User Contributed Perl Documentation, and it's literally all about a console theme. it's giving utility-class energy, no cap. π
β¨ NAME β¨
Astro::Montenbruck::Utils::Theme β console theme π
πΈ SYNOPSIS πΈ
use Astro::Montenbruck::Utils::Theme;
my $theme = Astro::Montenbruck::Utils::Theme->create('dark');
$theme->print_data('Some Title', 'Some text');
say $theme->decorate( sprintf('%-8s', 'Moon'), $sheme->scheme->{table_row_title} );
π¦ DESCRIPTION π¦
It's the base class for a console theme. That's the whole vibe. β¨
π§ SUBROUTINES/METHODS π§
π«Ά $self->print_data($title, $text, %options) π«Ά
Prints the title and some data in a row, colon-delimited, which is suitable for tabular data, like this:
Dawn : 07:25:56
π Options π
title_widthβ width of the title column, default:20.highlitedβ if true, the data column is displayed using$self->scheme->{data_row_selected}color. Otherwise,$scheme->{data_row_data}is used. π₯
yes, it's spelled highlited in the original, bestie β keep it exactly like that. iykyk. π
π $self->decorate($text, $color) π
In all the classes, except Astro::Montenbruck::Utils::Theme::Colorless, this colorizes the $text using Ansi color symbols. The $color argument is one of the constants defined in the mentioned package. π
π AUTHOR π
Sergey Krushinsky, "<krushi at cpan.org>" π«Ά
π COPYRIGHT AND LICENSE π
Copyright (C) 2009-2022 by Sergey Krushinsky
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πΈ
and that's the whole page, bestie! sign-off time: perl v5.42.2, dated 2026-02-15, for Astro:...:Theme(3pm). slay. πβ¨
π¦ where this page comes from
- alpine 3.24: perl-astro-montenbruck-doc 1.26-r1 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms