Skip to content

bbon/Template-Plugin-Filter-Scss

Repository files navigation

NAME

Template::Plugin::Filter::Scss - CSS::Sass filter for Template Toolkit

SYNOPSIS

[% USE Filter.Scss include_paths => '/home/user/sass', output_style => 'compressed' %]

[% FILTER scss %]
    @import "compass/css3";
    .col305 {
        position: relative;
        display: inline-block;
        width: 305px;
        vertical-align: top;
        height: 400px;
        @include opacity(0);

        &-header {
            font-size: 12px;
        }
    }
[% END %]

OPTIONS

  • include_paths (or include_path)

    Optional. This is an arrayref or a string that holds the list a of path(s) to search when following Sass @import directives.

  • output_style

    Optional. This is a string, not case-sensitive.

    'NESTED'

    'COMPACT'

    'EXPANDED'

    'COMPRESSED'

    The default is 'NESTED'.

SEE ALSO

CSS::Sass - Compile .scss files using libsass https://metacpan.org/pod/CSS::Sass

Compass-mixins for libsass https://github.com/Igosuki/compass-mixins

LICENSE

Copyright (C) bbon.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

bbon bbon@mail.ru

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages