Skip to content

Commit 28845d5

Browse files
committed
Set things up to use compass, scss, and normalize for styling
1 parent f4645ca commit 28845d5

9 files changed

+408
-288
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.htaccess
2+
.sass-cache

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'compass', '~> 0.12.2'
4+
gem 'compass-normalize', '~> 1.4.3'

Gemfile.lock

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
chunky_png (1.2.9)
5+
compass (0.12.2)
6+
chunky_png (~> 1.2)
7+
fssm (>= 0.2.7)
8+
sass (~> 3.1)
9+
compass-normalize (1.4.3)
10+
compass (>= 0.12.0)
11+
fssm (0.2.10)
12+
sass (3.2.12)
13+
14+
PLATFORMS
15+
ruby
16+
17+
DEPENDENCIES
18+
compass (~> 0.12.2)
19+
compass-normalize (~> 1.4.3)

config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
// Base URL
66
//
77
// Also update the RewriteBase at the bottom of the htaccess file if the site lives in a subdirectory
8-
$config['base_url'] = 'http://localhost/php-boilerplate/';
8+
$config['base_url'] = 'http://php-boilerplate.dev/';

config.rb

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Require any additional compass plugins here.
2+
require 'compass-normalize'
3+
4+
# Set this to the root of your project when deployed:
5+
http_path = "/"
6+
css_dir = "css"
7+
sass_dir = "sass"
8+
images_dir = "img"
9+
javascripts_dir = "js"
10+
11+
# You can select your preferred output style here (can be overridden via the command line):
12+
# output_style = :expanded or :nested or :compact or :compressed
13+
14+
# To enable relative paths to assets via compass helper functions. Uncomment:
15+
# relative_assets = true
16+
17+
# To disable debugging comments that display the original location of your selectors. Uncomment:
18+
# line_comments = false
19+
20+
21+
# If you prefer the indented syntax, you might want to regenerate this
22+
# project again passing --syntax sass, or you can uncomment this:
23+
# preferred_syntax = :sass
24+
# and then run:
25+
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass

0 commit comments

Comments
 (0)