Skip to content

Commit

Permalink
libsass for compiling, new normalize, removes compass and sass code e…
Browse files Browse the repository at this point in the history
…xamples
  • Loading branch information
dennisgaebel committed Feb 28, 2016
1 parent 9c7e096 commit c99ad1d
Show file tree
Hide file tree
Showing 36 changed files with 1,659 additions and 2,228 deletions.
11 changes: 0 additions & 11 deletions Gemfile

This file was deleted.

28 changes: 0 additions & 28 deletions Gemfile.lock

This file was deleted.

29 changes: 24 additions & 5 deletions Gruntfile.js
Expand Up @@ -11,6 +11,7 @@ module.exports = function(grunt) {
// Load NPM Tasks
// https://github.com/shootaroo/jit-grunt
require('jit-grunt')(grunt);
grunt.loadNpmTasks('grunt-postcss');

grunt.initConfig({

Expand Down Expand Up @@ -68,7 +69,7 @@ module.exports = function(grunt) {

sass: {
files: ['scss/**/*.scss'],
tasks: ['compass:dist']
tasks: ['sass:dist', 'postcss']
},

css: {
Expand All @@ -89,15 +90,33 @@ module.exports = function(grunt) {
}
},

// == Compass Config
compass: {
// == Sass Config
sass: {
options: {
sourceMap: true
},
dist: {
options: {
config: 'config.rb'
files: {
'css/main.css' : 'scss/main.scss'
}
}
},

// == PostCSS
// https://github.com/nDmitry/grunt-postcss
postcss: {
options: {
processors: [
require('autoprefixer')({
browsers: 'last 2 versions'
})
]
},
dist: {
src: 'css/main.css'
}
},

// == Run A Persistant Static Web Server
connect: {
server: {
Expand Down
10 changes: 3 additions & 7 deletions bower.json
@@ -1,18 +1,14 @@
{
"name": "typeplate",
"version": "1.1.4",
"version": "2.0.0",
"main": "css/main.css",
"ignore": [
"**/.*",
"node_modules",
"bower_components"
],
"dependencies": {
"normalize.scss": "2.1.0",
"normalize-css": "~3.0.0"
},
"devDependencies": {
"normalize.scss": "2.1.0",
"normalize-css": "~3.0.0"
"normalize-css": "~3.0.0",
"normalize-scss": "^3.0.3"
}
}
64 changes: 0 additions & 64 deletions config.rb

This file was deleted.

0 comments on commit c99ad1d

Please sign in to comment.