Skip to content

Commit

Permalink
Merge branch 'release/v1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
cjpatoilo committed Nov 14, 2016
2 parents 99a9f2a + 74f32e6 commit 18ff0bd
Show file tree
Hide file tree
Showing 36 changed files with 54 additions and 72 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
.github
.gitignore
.npmignore
.sasslintrc
.travis.yml
.versions
backstop.conf.js
bower.json
changelog.md
component.json
Expand Down
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
sudo: false
language: node_js
node_js:
- 6
before_install:
- node --version
- npm --version
node_js: 6
scripts: npm test
3 changes: 0 additions & 3 deletions .versions

This file was deleted.

11 changes: 6 additions & 5 deletions test/visual/backstop.config.js → backstop.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,14 @@ module.exports = {
onBeforeScript: null
}],
paths: {
bitmaps_reference: '../../test/visual/reference',
bitmaps_test: '.tmp',
casper_scripts: null,
compare_data: '.tmp/compare.json'
bitmaps_reference: 'test/reference',
bitmaps_test: 'node_modules/backstopjs/.tmp/bitmaps_test',
casper_scripts: 'node_modules/backstopjs/.tmp/casper_scripts',
html_report: 'node_modules/backstopjs/.tmp/html_report',
ci_report: 'node_modules/backstopjs/.tmp/ci_report'
},
engine: 'phantomjs',
report: ['browser', 'CLI'],
report: ['browser', 'CLI', 'CI'],
casperFlags: [],
debug: false,
port: 3002
Expand Down
5 changes: 3 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "milligram",
"version": "1.1.0",
"version": "1.2.0",
"description": "A minimalist CSS framework.",
"homepage": "http://milligram.github.io",
"repository": "milligram/milligram",
Expand Down Expand Up @@ -32,8 +32,9 @@
".github",
".gitignore",
".npmignore",
".sasslintrc",
".travis.yml",
".versions",
"backstop.conf.js",
"bower.json",
"changelog.md",
"component.json",
Expand Down
6 changes: 3 additions & 3 deletions component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "milligram",
"version": "1.1.0",
"version": "1.2.0",
"description": "A minimalist CSS framework.",
"homepage": "http://milligram.github.io",
"repository": "milligram/milligram",
Expand Down Expand Up @@ -32,8 +32,9 @@
".github",
".gitignore",
".npmignore",
".sasslintrc",
".travis.yml",
".versions",
"backstop.conf.js",
"bower.json",
"changelog.md",
"component.json",
Expand All @@ -43,7 +44,6 @@
"src",
"test"
],
"repo": "milligram/milligram",
"styles": [
"examples",
"dist/milligram.css",
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "milligram/milligram",
"version": "1.1.0",
"version": "1.2.0",
"description": "A minimalist CSS framework.",
"homepage": "http://milligram.github.io",
"repository": "milligram/milligram",
Expand Down Expand Up @@ -32,13 +32,13 @@
".github",
".gitignore",
".npmignore",
".sasslintrc",
".travis.yml",
".versions",
"backstop.conf.js",
"bower.json",
"changelog.md",
"component.json",
"composer.json",
"contributing.md",
"package.js",
"package.json",
"src",
Expand Down
30 changes: 9 additions & 21 deletions dist/milligram.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/milligram.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/milligram.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/milligram.min.css.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<meta name="author" content="CJ Patoilo">
<meta name="description" content="Milligram provides a minimal setup of styles for a fast and clean starting point. Specially designed for better performance and higher productivity with fewer properties to reset resulting in cleaner code.">
<title>Milligram | A minimalist CSS framework.</title>
<link rel="icon" href="https://milligram.github.io/img/favicon.ico">
<link rel="icon" href="https://milligram.github.io/images/favicon.ico">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">
<link rel="stylesheet" href="../dist/milligram.min.css">
<link rel="stylesheet" href="https://milligram.github.io/css/style.css">
<link rel="stylesheet" href="https://milligram.github.io/styles/main.min.css">
</head>
<body>

Expand All @@ -20,7 +20,7 @@
<section class="container">

<a class="navigation-title" href="https://milligram.github.io/">
<img class="img" src="https://milligram.github.io/img/logo.svg" height="30" alt="Milligram" title="Milligram">
<img class="img" src="https://milligram.github.io/images/logo.svg" height="30" alt="Milligram" title="Milligram">
<h1 class="title">Milligram</h1>
</a>

Expand Down Expand Up @@ -102,7 +102,7 @@ <h5 class="title">Contributing</h5>

</main>

<script src="https://milligram.github.io/js/script.js"></script>
<script src="https://milligram.github.io/scripts/main.min.js"></script>

</body>
</html>
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'milligram:milligram',
version: '1.1.0',
version: '1.2.0',
summary: 'A minimalist CSS framework.',
git: 'https://github.com/milligram/milligram.git',
documentation: 'readme.md'
Expand Down
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "milligram",
"version": "1.1.0",
"version": "1.2.0",
"description": "A minimalist CSS framework.",
"homepage": "http://milligram.github.io",
"repository": "milligram/milligram",
Expand Down Expand Up @@ -32,8 +32,9 @@
".github",
".gitignore",
".npmignore",
".sasslintrc",
".travis.yml",
".versions",
"backstop.conf.js",
"bower.json",
"changelog.md",
"component.json",
Expand All @@ -48,7 +49,7 @@
},
"devDependencies": {
"autoprefixer": "^6.3.6",
"backstopjs": "^1.3.5",
"backstopjs": "^2.0.6",
"browser-sync": "^2.13.0",
"node-sass": "^3.7.0",
"npm-run-all": "^2.1.1",
Expand All @@ -60,16 +61,18 @@
"node": "^6.0.0"
},
"scripts": {
"banner": "for m in dist/*.css; do echo '/*!\n * Milligram v1.1.0\n * http://milligram.github.io\n *\n * Copyright (c) 2016 CJ Patoilo\n * Licensed under the MIT license\n*/\n' | cat - $m > temp && mv temp $m; done",
"prestart": "npm install",
"pretest": "npm install",
"banner": "for m in dist/*.css; do echo '/*!\n * Milligram v1.2.0\n * http://milligram.github.io\n *\n * Copyright (c) 2016 CJ Patoilo\n * Licensed under the MIT license\n*/\n' | cat - $m > temp && mv temp $m; done",
"autoprefixer": "postcss -u autoprefixer --no-map.inline --autoprefixer.browsers 'last 1 versions' -r dist/*.css",
"sass": "node-sass --output-style expanded src/milligram.sass dist/milligram.css && node-sass --output-style compressed src/milligram.sass dist/milligram.min.css",
"lint": "sass-lint -c .sasslintrc 'src/*.sass' --verbose --no-exit",
"build": "run-s lint sass autoprefixer banner",
"watch": "onchange src -- npm run build",
"serve": "browser-sync start -s test --ss dist -f dist",
"serve": "browser-sync start --no-notify -s test --ss dist -f dist",
"start": "run-p watch serve",
"reference": "cd node_modules/backstopjs && npm run reference -- --configPath=../../test/visual/backstop.config.js && cd ../../",
"compare": "cd node_modules/backstopjs && npm run test -- --configPath=../../test/visual/backstop.config.js && cd ../../",
"test": "npm run build"
"reference": "backstop reference --configPath=backstop.conf.js",
"compare": "backstop test --configPath=backstop.conf.js",
"test": "run-s build && run-p serve compare"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="http://milligram.github.io"><img width="100%" src="https://raw.githubusercontent.com/milligram/milligram.github.io/master/img/thumbnail.jpg" alt="Milligram - A minimalist CSS framework"></a>
<a href="http://milligram.github.io"><img width="100%" src="https://milligram.github.io/images/thumbnail.jpg" alt="Milligram - A minimalist CSS framework"></a>
</p>

> A minimalist CSS framework.
Expand Down
6 changes: 0 additions & 6 deletions src/_Grid.sass
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@
&.row-baseline
align-items: baseline

&.row-no-padding
padding: 0

&> .column
padding: 0

.column
display: block
flex: 1
Expand Down
4 changes: 2 additions & 2 deletions src/_Link.sass
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ a
color: $color-primary
text-decoration: none

&:hover,
&:focus
&:focus,
&:hover
color: $color-secondary
6 changes: 3 additions & 3 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
<meta name="author" content="CJ Patoilo">
<meta name="description" content="Milligram provides a minimal setup of styles for a fast and clean starting point. Specially designed for better performance and higher productivity with fewer properties to reset resulting in cleaner code.">
<title>Milligram | A minimalist CSS framework.</title>
<link rel="icon" href="https://milligram.github.io/img/favicon.ico">
<link rel="icon" href="https://milligram.github.io/images/favicon.ico">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">
<link rel="stylesheet" href="milligram.min.css"><!-- to generate this style run `$ npm start` -->
<link rel="stylesheet" href="https://milligram.github.io/css/style.css">
<link rel="stylesheet" href="https://milligram.github.io/styles/main.min.css">
</head>
<body>

<main class="wrapper">

<section class="container" id="image">
<img src="https://raw.githubusercontent.com/milligram/milligram.github.io/master/img/thumbnail.jpg" alt="Image">
<img src="https://raw.githubusercontent.com/milligram/milligram.github.io/master/images/thumbnail.jpg" alt="Image">
</section>

<section class="container" id="typography">
Expand Down

0 comments on commit 18ff0bd

Please sign in to comment.