@visual-framework/vf-favicon

    1.0.3 • Public • Published

    Favicon component

    npm version

    About

    A template to specify favicons for your site.

    Usage

    {% raw %}
    {% render '@vf-favicon', {
        apple_touch_icon: "../../assets/vf-favicon/assets/apple-touch-icon.png",
        icon_32: "../../assets/vf-favicon/assets/favicon-32x32.png",
        icon_16: "../../assets/vf-favicon/assets/favicon-16x16.png",
        manifest: "../../assets/vf-favicon/assets/site.webmanifest",
        icon_mask: "../../assets/vf-favicon/assets/safari-pinned-tab.svg",
        color_mask: "#ffffff",
        color_msapplication: "#ffffff",
        color_theme: "#ffffff"
    } %}
    {% endraw %}
    

    Yields:

    {% render '@vf-favicon', {
        apple_touch_icon: "../../assets/vf-favicon/assets/apple-touch-icon.png",
        icon_32: "../../assets/vf-favicon/assets/favicon-32x32.png",
        icon_16: "../../assets/vf-favicon/assets/favicon-16x16.png",
        manifest: "../../assets/vf-favicon/assets/site.webmanifest",
        icon_mask: "../../assets/vf-favicon/assets/safari-pinned-tab.svg",
        color_mask: "#ffffff",
        color_msapplication: "#ffffff",
        color_theme: "#ffffff"
    } %}
    

    Install

    This component is distributed with npm. After installing npm, you can install the vf-favicon with this command.

    $ yarn add --dev @visual-framework/vf-favicon
    

    Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

    Help

    Install

    npm i @visual-framework/vf-favicon

    DownloadsWeekly Downloads

    361

    Version

    1.0.3

    License

    Apache 2.0

    Unpacked Size

    53.8 kB

    Total Files

    17

    Last publish

    Collaborators

    • khawkins98