logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Icon::FamFamFam::Silk - embed these famous icons in your code

Author

       Icons by Mark James of <http://famfamfam.com/>.

       Module by Toby Inkster <tobyink@cpan.org>.

Bugs

       Please report any bugs to <http://rt.cpan.org/>.

Description

       These methods can be called as functions taking the name of the icon (a string) as their argument, or can
       be called as object methods on an instantiated icon object. (See "SYNOPSIS".)

       "Icon::FamFamFam::Silk->new($name)"
           Returns a blessed icon object.

       "Icon::FamFamFam::Silk->list"
           Returns a list of all the icons.

       "$icon->name"
           Returns the name of the icon.

       "$icon->base64"
           Returns base64-encoded PNG data.

       "$icon->raw"
           Returns raw PNG data.

       "$icon->uri"
           Returns a "data:" URI for the icon.

       "$icon->attribution_data" =item "Icon::FamFamFam::Silk->attribution_data"
           Returns a hash of data useful for giving credit to Mark James.

           This  is  in  a  format  suitable  for passing to HTML::HTML5::Builder's "CREATIVE_COMMONS" function,
           should you want to do something like that.

Disclaimer Of Warranties

       THIS  PACKAGE  IS  PROVIDED  "AS  IS"  AND  WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
       LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

perl v5.38.2                                       2024-03-05                         Icon::FamFamFam::Silk(3pm)

Name

       Icon::FamFamFam::Silk - embed these famous icons in your code

See Also

Synopsis

        use Icon::FamFamFam::Silk;
        my $wrench = Icon::FamFamFam::Silk->new('wrench_orange');
        print $wrench->base64;

       or

        use Icon::FamFamFam::Silk;
        print Icon::FamFamFam::Silk::base64('wrench_orange');

Version

       0.002001003

       (Version 0.002 of this module and version 1.3 of the icons.)

See Also