An extension template for helping to generate a compass extension:

compass -p extension my_ext_name

This will provide the basic structure for creating a basic compass plugin.
This commit is contained in:
Chris Eppstein 2009-07-27 00:14:29 -07:00
parent 92464c5f6a
commit cb9672bd9e
4 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,6 @@
file 'stylesheets/main.sass', :to => "stylesheets/_#{File.basename(options[:project_name])}.sass"
file 'templates/project/manifest.rb'
file 'templates/project/screen.sass'
no_configuration_file!
skip_compilation!

View File

@ -0,0 +1 @@
// This is your framework's main stylesheet. Use it to import all default modules.

View File

@ -0,0 +1,2 @@
# Make sure you list all the project template files here in the manifest.
stylesheet 'screen.sass', :media => 'screen, projection'

View File

@ -0,0 +1,2 @@
// This is where you put the contents of the main stylesheet for the user's project.
// It should import your sass stylesheets and demonstrate how to use them.