forked from jquery-archive/css-chassis
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes jquery-archive#99
- Loading branch information
Showing
8 changed files
with
63 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
module.exports = function( grunt ) { | ||
var path = require( "path" ); | ||
require( "load-grunt-config" )( grunt, { | ||
configPath: [ | ||
path.join( process.cwd(), "tasks/options" ), | ||
path.join( process.cwd(), "tasks" ) | ||
], | ||
init: true | ||
} ); | ||
grunt.loadNpmTasks("axe-grunt-webdriver"); | ||
var path = require( "path" ); | ||
require( "load-grunt-config" )( grunt, { | ||
configPath: [ | ||
path.join( process.cwd(), "tasks/options" ), | ||
path.join( process.cwd(), "tasks" ) | ||
], | ||
init: true | ||
} ); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!doctype html> | ||
<html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>CSS Chassis - Typography</title> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
firefox: { | ||
options: { | ||
threshold: 0 | ||
}, | ||
urls: ['http://localhost:4200/demos/typography.html'], | ||
dest: 'tmp/gu.json' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
module.exports = function( grunt ) { | ||
grunt.registerTask( "buildVariables", function() { | ||
grunt.registerTask( "variables", function() { | ||
var jsass = require( "jsass-vars" ); | ||
var path = require( "path" ); | ||
var varPath = path.join( process.cwd(), "scss/variables/*" ); | ||
|
||
var distPath = path.join( process.cwd(), "dist" ); | ||
grunt.file.mkdir( distPath ); | ||
jsass( varPath, { | ||
"dest": path.join( process.cwd(), "dist" ), | ||
"dest": distPath, | ||
"name": "chassis" | ||
} ); | ||
} ) | ||
}; | ||
}; |