e18ed8118b
A pattern is a folder in the framework's templates directory. It must have a manifest file that tells compass what to install and where. Unlike the project template, a pattern can be stamped out any number of times. It is best for pattern stylesheets to only provide example usage to get the user started. All the core styles for the pattern should be distributed as part of the framework's stylesheets as mixins to facilitate easy upgrades and bug fixing on the part of the pattern's maintainer. Patterns can install stylesheets, images, javascripts, and arbitrary files. The installer will put these assets into the correct locations according to the project type (E.g. rails, stand-alone). Example Usage: compass --framework blueprint --pattern buttons |
||
---|---|---|
.. | ||
commands | ||
installers | ||
validate | ||
actions.rb | ||
compiler.rb | ||
configuration.rb | ||
core_ext.rb | ||
errors.rb | ||
exec.rb | ||
frameworks.rb | ||
grid_builder.rb | ||
installers.rb | ||
logger.rb | ||
merb.rb | ||
test_case.rb | ||
validator.rb | ||
version.rb |