Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated the gems to include grid-coordinates and meyer-reset, updated…

… the Compass config
  • Loading branch information...
commit 1a8f3443b8357e1b7bc296fd46b0bc06f7b7b50c 1 parent 71f21bf
@adamstac adamstac authored
Showing with 35 additions and 9 deletions.
  1. +3 −1 Gemfile
  2. +6 −0 Gemfile.lock
  3. +26 −8 config.rb
View
4 Gemfile
@@ -3,4 +3,6 @@ source "http://rubygems.org"
gem "sinatra", "1.0"
gem "shotgun", "~> 0.8"
gem "haml", "~> 3.0"
-gem "compass", "~> 0.10.1"
+gem "compass", "~> 0.10.1"
+gem "grid-coordinates"
+gem "meyer-reset"
View
6 Gemfile.lock
@@ -3,7 +3,11 @@ GEM
specs:
compass (0.10.6)
haml (>= 3.0.4)
+ grid-coordinates (1.1.3)
+ compass (>= 0.10.5)
haml (3.0.24)
+ meyer-reset (2.0.0)
+ compass (>= 0.10.5)
rack (1.2.1)
shotgun (0.8)
rack (>= 1.0)
@@ -15,6 +19,8 @@ PLATFORMS
DEPENDENCIES
compass (~> 0.10.1)
+ grid-coordinates
haml (~> 3.0)
+ meyer-reset
shotgun (~> 0.8)
sinatra (= 1.0)
View
34 config.rb
@@ -5,14 +5,32 @@
else
# this is the configuration to use when running within the compass command line tool.
css_dir = File.join 'public', 'stylesheets'
+ # Determine whether Compass asset helper functions generate relative
+ # or absolute paths
relative_assets = true
environment = :production
end
-
-# This is common configuration
-sass_dir = File.join 'views', 'stylesheets'
-images_dir = File.join 'public', 'images'
-http_path = "/"
-http_images_path = "/images"
-http_stylesheets_path = "/stylesheets"
-output_style = :expanded #compressed #nested #compact
+
+# Compass Configuration
+
+require 'grid-coordinates'
+require 'meyer-reset'
+
+# HTTP paths
+http_path = '/'
+http_stylesheets_path = '/stylesheets'
+http_images_path = '/images'
+http_javascripts_path = '/javascripts'
+
+# File system locations
+sass_dir = File.join 'views', 'stylesheets'
+images_dir = File.join 'public', 'images'
+javascripts_dir = File.join 'public', 'javascripts'
+
+# Set to true for easier debugging
+line_comments = false
+
+# CSS output style - :nested, :expanded, :compact, or :compressed
+output_style = :expanded
+
+# Learn more: http://compass-style.org/docs/tutorials/configuration-reference/

0 comments on commit 1a8f344

Please sign in to comment.
Something went wrong with that request. Please try again.