css-tidy

NAME

css-tidy.raku - tidy/optimise and rewrite CSS stylesheets

SYNOPSIS

css-tidy.raku infile.css [outfile.css]
Options:
    --atomize         # break into component properties
    --imports         # include imported styesheets
    --base-url=path   # set base url for imports  
    --pretty          # enable multiline property lists
    --/warn           # disable warnings
    --color=names     # write color names (if possible)
    --color=masks     # write colors as masks #77F
    --color=values    # write colors as rgb(...) rgba(...)
    --lax             # allow any functions and units

DESCRIPTION

This script parses and rewrites CSS stylesheets.

CSS::Stylesheet v0.1.0

CSS Stylesheet representation

Authors

  • David Warring

License

Artistic-2.0

Dependencies

CSS::Font::Resources:ver<0.0.5+>CSS::Module:ver<0.5.8+>CSS::Properties:ver<0.7.5+>CSS::Selector::To::XPathCSS::Writer:ver<0.2.8+>Method::AlsoURI:ver<0.3.3+>

Test Dependencies

Provides

  • CSS::AtPageRule
  • CSS::Media
  • CSS::MediaQuery
  • CSS::Ruleset
  • CSS::Selectors
  • CSS::Stylesheet

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.