.milligram {
color: #9b4dca;
@@ -540,6 +548,7 @@
Utilities
+
@@ -550,6 +559,7 @@
Examples
+
- Getting Started
diff --git a/test/visual/backstop.config.js b/test/visual/backstop.config.js
index 26d024c..692b2ad 100644
--- a/test/visual/backstop.config.js
+++ b/test/visual/backstop.config.js
@@ -1,114 +1,112 @@
module.exports = {
viewports: [
{ name: 'phone', width: 320, height: 480 },
- { name: 'tablet', width: 768, height: 1024 },
- { name: 'laptop', width: 1280, height: 800 },
- { name: 'desktop', width: 1920, height: 1080 }
+ { name: 'laptop', width: 1280, height: 800 }
],
scenarios: [{
- label: 'Typography',
- url: 'http://localhost:3000',
- hideSelectors: [],
- removeSelectors: ['#__bs_notify__'],
- selectors: ['#typography'],
- readyEvent: null,
- delay: 500,
- misMatchThreshold: 0.1,
- onBeforeScript: 'onBefore.js',
- onReadyScript: 'onReady.js'
- },{
- label: 'Blockquotes',
- url: 'http://localhost:3000',
- hideSelectors: [],
- removeSelectors: ['#__bs_notify__'],
- selectors: ['#blockquotes'],
- readyEvent: null,
- delay: 500,
- misMatchThreshold: 0.1,
- onBeforeScript: 'onBefore.js',
- onReadyScript: 'onReady.js'
- }, {
- label: 'Buttons',
- url: 'http://localhost:3000',
- hideSelectors: [],
- removeSelectors: ['#__bs_notify__'],
- selectors: ['#buttons'],
- readyEvent: null,
- delay: 500,
- misMatchThreshold: 0.1,
- onBeforeScript: 'onBefore.js',
- onReadyScript: 'onReady.js'
- }, {
- label: 'Lists',
- url: 'http://localhost:3000',
- hideSelectors: [],
- removeSelectors: ['#__bs_notify__'],
- selectors: ['#lists'],
- readyEvent: null,
- delay: 500,
- misMatchThreshold: 0.1,
- onBeforeScript: 'onBefore.js',
- onReadyScript: 'onReady.js'
- }, {
- label: 'Forms',
- url: 'http://localhost:3000',
- hideSelectors: [],
- removeSelectors: ['#__bs_notify__'],
- selectors: ['#forms'],
- readyEvent: null,
- delay: 500,
- misMatchThreshold: 0.1,
- onBeforeScript: 'onBefore.js',
- onReadyScript: 'onReady.js'
- }, {
- label: 'Tables',
- url: 'http://localhost:3000',
- hideSelectors: [],
- removeSelectors: ['#__bs_notify__'],
- selectors: ['#tables'],
- readyEvent: null,
- delay: 500,
- misMatchThreshold: 0.1,
- onBeforeScript: 'onBefore.js',
- onReadyScript: 'onReady.js'
- }, {
- label: 'Grids',
- url: 'http://localhost:3000',
- hideSelectors: [],
- removeSelectors: ['#__bs_notify__'],
- selectors: ['#grids'],
- readyEvent: null,
- delay: 500,
- misMatchThreshold: 0.1,
- onBeforeScript: 'onBefore.js',
- onReadyScript: 'onReady.js'
- }, {
- label: 'Codes',
- url: 'http://localhost:3000',
- hideSelectors: [],
- removeSelectors: ['#__bs_notify__'],
- selectors: ['#codes'],
- readyEvent: null,
- delay: 500,
- misMatchThreshold: 0.1,
- onBeforeScript: 'onBefore.js',
- onReadyScript: 'onReady.js'
- }, {
- label: 'Utilities',
- url: 'http://localhost:3000',
- hideSelectors: [],
- removeSelectors: ['#__bs_notify__'],
- selectors: ['#utilities'],
- readyEvent: null,
- delay: 500,
- misMatchThreshold: 0.1,
- onBeforeScript: 'onBefore.js',
- onReadyScript: 'onReady.js'
- }],
+ label: 'Typography',
+ url: 'http://localhost:3000',
+ hideSelectors: [],
+ removeSelectors: ['#__bs_notify__'],
+ selectors: ['#typography'],
+ readyEvent: null,
+ delay: 500,
+ misMatchThreshold: 0.1,
+ onReadyScript: null,
+ onBeforeScript: null
+ }, {
+ label: 'Blockquotes',
+ url: 'http://localhost:3000',
+ hideSelectors: [],
+ removeSelectors: ['#__bs_notify__'],
+ selectors: ['#blockquotes'],
+ readyEvent: null,
+ delay: 500,
+ misMatchThreshold: 0.1,
+ onReadyScript: null,
+ onBeforeScript: null
+ }, {
+ label: 'Buttons',
+ url: 'http://localhost:3000',
+ hideSelectors: [],
+ removeSelectors: ['#__bs_notify__'],
+ selectors: ['#buttons'],
+ readyEvent: null,
+ delay: 500,
+ misMatchThreshold: 0.1,
+ onReadyScript: null,
+ onBeforeScript: null
+ }, {
+ label: 'Lists',
+ url: 'http://localhost:3000',
+ hideSelectors: [],
+ removeSelectors: ['#__bs_notify__'],
+ selectors: ['#lists'],
+ readyEvent: null,
+ delay: 500,
+ misMatchThreshold: 0.1,
+ onReadyScript: null,
+ onBeforeScript: null
+ }, {
+ label: 'Forms',
+ url: 'http://localhost:3000',
+ hideSelectors: [],
+ removeSelectors: ['#__bs_notify__'],
+ selectors: ['#forms'],
+ readyEvent: null,
+ delay: 500,
+ misMatchThreshold: 0.1,
+ onReadyScript: null,
+ onBeforeScript: null
+ }, {
+ label: 'Tables',
+ url: 'http://localhost:3000',
+ hideSelectors: [],
+ removeSelectors: ['#__bs_notify__'],
+ selectors: ['#tables'],
+ readyEvent: null,
+ delay: 500,
+ misMatchThreshold: 0.1,
+ onReadyScript: null,
+ onBeforeScript: null
+ }, {
+ label: 'Grids',
+ url: 'http://localhost:3000',
+ hideSelectors: [],
+ removeSelectors: ['#__bs_notify__'],
+ selectors: ['#grids'],
+ readyEvent: null,
+ delay: 500,
+ misMatchThreshold: 0.1,
+ onReadyScript: null,
+ onBeforeScript: null
+ }, {
+ label: 'Codes',
+ url: 'http://localhost:3000',
+ hideSelectors: [],
+ removeSelectors: ['#__bs_notify__'],
+ selectors: ['#codes'],
+ readyEvent: null,
+ delay: 500,
+ misMatchThreshold: 0.1,
+ onReadyScript: null,
+ onBeforeScript: null
+ }, {
+ label: 'Utilities',
+ url: 'http://localhost:3000',
+ hideSelectors: [],
+ removeSelectors: ['#__bs_notify__'],
+ selectors: ['#utilities'],
+ readyEvent: null,
+ delay: 500,
+ misMatchThreshold: 0.1,
+ onReadyScript: null,
+ onBeforeScript: null
+ }],
paths: {
bitmaps_reference: '../../test/visual/reference',
bitmaps_test: '.tmp',
- casper_scripts: '../../test/visual/fixtures',
+ casper_scripts: null,
compare_data: '.tmp/compare.json'
},
engine: 'phantomjs',
diff --git a/test/visual/fixtures/onBefore.js b/test/visual/fixtures/onBefore.js
deleted file mode 100644
index 6760703..0000000
--- a/test/visual/fixtures/onBefore.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(casper, scenario, vp) {
- casper.echo('onBeforeEach.js', 'INFO');
- casper.wait(50);
-};
diff --git a/test/visual/fixtures/onReady.js b/test/visual/fixtures/onReady.js
deleted file mode 100644
index 3728804..0000000
--- a/test/visual/fixtures/onReady.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(casper, scenario, vp) {
- casper.echo('onReady.js', 'INFO');
- casper.wait(50);
-};
diff --git a/test/visual/reference/0_0_typography_0_phone.png b/test/visual/reference/0_0_typography_0_phone.png
index f2119a2..a39f234 100644
Binary files a/test/visual/reference/0_0_typography_0_phone.png and b/test/visual/reference/0_0_typography_0_phone.png differ
diff --git a/test/visual/reference/0_0_typography_1_laptop.png b/test/visual/reference/0_0_typography_1_laptop.png
new file mode 100644
index 0000000..7377586
Binary files /dev/null and b/test/visual/reference/0_0_typography_1_laptop.png differ
diff --git a/test/visual/reference/0_0_typography_1_tablet.png b/test/visual/reference/0_0_typography_1_tablet.png
deleted file mode 100644
index aa784a6..0000000
Binary files a/test/visual/reference/0_0_typography_1_tablet.png and /dev/null differ
diff --git a/test/visual/reference/0_0_typography_2_laptop.png b/test/visual/reference/0_0_typography_2_laptop.png
deleted file mode 100644
index b54267c..0000000
Binary files a/test/visual/reference/0_0_typography_2_laptop.png and /dev/null differ
diff --git a/test/visual/reference/0_0_typography_3_desktop.png b/test/visual/reference/0_0_typography_3_desktop.png
deleted file mode 100644
index b54267c..0000000
Binary files a/test/visual/reference/0_0_typography_3_desktop.png and /dev/null differ
diff --git a/test/visual/reference/1_0_blockquotes_0_phone.png b/test/visual/reference/1_0_blockquotes_0_phone.png
index 393a793..9bd9ae5 100644
Binary files a/test/visual/reference/1_0_blockquotes_0_phone.png and b/test/visual/reference/1_0_blockquotes_0_phone.png differ
diff --git a/test/visual/reference/1_0_blockquotes_1_laptop.png b/test/visual/reference/1_0_blockquotes_1_laptop.png
new file mode 100644
index 0000000..e9565fd
Binary files /dev/null and b/test/visual/reference/1_0_blockquotes_1_laptop.png differ
diff --git a/test/visual/reference/1_0_blockquotes_1_tablet.png b/test/visual/reference/1_0_blockquotes_1_tablet.png
deleted file mode 100644
index 4d8bfb4..0000000
Binary files a/test/visual/reference/1_0_blockquotes_1_tablet.png and /dev/null differ
diff --git a/test/visual/reference/1_0_blockquotes_2_laptop.png b/test/visual/reference/1_0_blockquotes_2_laptop.png
deleted file mode 100644
index 165f18f..0000000
Binary files a/test/visual/reference/1_0_blockquotes_2_laptop.png and /dev/null differ
diff --git a/test/visual/reference/1_0_blockquotes_3_desktop.png b/test/visual/reference/1_0_blockquotes_3_desktop.png
deleted file mode 100644
index 165f18f..0000000
Binary files a/test/visual/reference/1_0_blockquotes_3_desktop.png and /dev/null differ
diff --git a/test/visual/reference/2_0_buttons_0_phone.png b/test/visual/reference/2_0_buttons_0_phone.png
index 8bce393..332286c 100644
Binary files a/test/visual/reference/2_0_buttons_0_phone.png and b/test/visual/reference/2_0_buttons_0_phone.png differ
diff --git a/test/visual/reference/2_0_buttons_1_laptop.png b/test/visual/reference/2_0_buttons_1_laptop.png
new file mode 100644
index 0000000..4a5a3d1
Binary files /dev/null and b/test/visual/reference/2_0_buttons_1_laptop.png differ
diff --git a/test/visual/reference/2_0_buttons_1_tablet.png b/test/visual/reference/2_0_buttons_1_tablet.png
deleted file mode 100644
index 8d9b2e3..0000000
Binary files a/test/visual/reference/2_0_buttons_1_tablet.png and /dev/null differ
diff --git a/test/visual/reference/2_0_buttons_2_laptop.png b/test/visual/reference/2_0_buttons_2_laptop.png
deleted file mode 100644
index 67cedba..0000000
Binary files a/test/visual/reference/2_0_buttons_2_laptop.png and /dev/null differ
diff --git a/test/visual/reference/2_0_buttons_3_desktop.png b/test/visual/reference/2_0_buttons_3_desktop.png
deleted file mode 100644
index 67cedba..0000000
Binary files a/test/visual/reference/2_0_buttons_3_desktop.png and /dev/null differ
diff --git a/test/visual/reference/3_0_lists_0_phone.png b/test/visual/reference/3_0_lists_0_phone.png
index f5b63a5..27ad25c 100644
Binary files a/test/visual/reference/3_0_lists_0_phone.png and b/test/visual/reference/3_0_lists_0_phone.png differ
diff --git a/test/visual/reference/3_0_lists_1_laptop.png b/test/visual/reference/3_0_lists_1_laptop.png
new file mode 100644
index 0000000..c22e48e
Binary files /dev/null and b/test/visual/reference/3_0_lists_1_laptop.png differ
diff --git a/test/visual/reference/3_0_lists_1_tablet.png b/test/visual/reference/3_0_lists_1_tablet.png
deleted file mode 100644
index 49ad581..0000000
Binary files a/test/visual/reference/3_0_lists_1_tablet.png and /dev/null differ
diff --git a/test/visual/reference/3_0_lists_2_laptop.png b/test/visual/reference/3_0_lists_2_laptop.png
deleted file mode 100644
index f986a2b..0000000
Binary files a/test/visual/reference/3_0_lists_2_laptop.png and /dev/null differ
diff --git a/test/visual/reference/3_0_lists_3_desktop.png b/test/visual/reference/3_0_lists_3_desktop.png
deleted file mode 100644
index f986a2b..0000000
Binary files a/test/visual/reference/3_0_lists_3_desktop.png and /dev/null differ
diff --git a/test/visual/reference/4_0_forms_0_phone.png b/test/visual/reference/4_0_forms_0_phone.png
index b3b943c..ad9e7ee 100644
Binary files a/test/visual/reference/4_0_forms_0_phone.png and b/test/visual/reference/4_0_forms_0_phone.png differ
diff --git a/test/visual/reference/4_0_forms_1_laptop.png b/test/visual/reference/4_0_forms_1_laptop.png
new file mode 100644
index 0000000..b242728
Binary files /dev/null and b/test/visual/reference/4_0_forms_1_laptop.png differ
diff --git a/test/visual/reference/4_0_forms_1_tablet.png b/test/visual/reference/4_0_forms_1_tablet.png
deleted file mode 100644
index 6655f47..0000000
Binary files a/test/visual/reference/4_0_forms_1_tablet.png and /dev/null differ
diff --git a/test/visual/reference/4_0_forms_2_laptop.png b/test/visual/reference/4_0_forms_2_laptop.png
deleted file mode 100644
index 9a0f4ed..0000000
Binary files a/test/visual/reference/4_0_forms_2_laptop.png and /dev/null differ
diff --git a/test/visual/reference/4_0_forms_3_desktop.png b/test/visual/reference/4_0_forms_3_desktop.png
deleted file mode 100644
index 9a0f4ed..0000000
Binary files a/test/visual/reference/4_0_forms_3_desktop.png and /dev/null differ
diff --git a/test/visual/reference/5_0_tables_0_phone.png b/test/visual/reference/5_0_tables_0_phone.png
index 5d585da..b253779 100644
Binary files a/test/visual/reference/5_0_tables_0_phone.png and b/test/visual/reference/5_0_tables_0_phone.png differ
diff --git a/test/visual/reference/5_0_tables_1_laptop.png b/test/visual/reference/5_0_tables_1_laptop.png
new file mode 100644
index 0000000..6b26833
Binary files /dev/null and b/test/visual/reference/5_0_tables_1_laptop.png differ
diff --git a/test/visual/reference/5_0_tables_1_tablet.png b/test/visual/reference/5_0_tables_1_tablet.png
deleted file mode 100644
index c1916a0..0000000
Binary files a/test/visual/reference/5_0_tables_1_tablet.png and /dev/null differ
diff --git a/test/visual/reference/5_0_tables_2_laptop.png b/test/visual/reference/5_0_tables_2_laptop.png
deleted file mode 100644
index bf10688..0000000
Binary files a/test/visual/reference/5_0_tables_2_laptop.png and /dev/null differ
diff --git a/test/visual/reference/5_0_tables_3_desktop.png b/test/visual/reference/5_0_tables_3_desktop.png
deleted file mode 100644
index bf10688..0000000
Binary files a/test/visual/reference/5_0_tables_3_desktop.png and /dev/null differ
diff --git a/test/visual/reference/6_0_grids_0_phone.png b/test/visual/reference/6_0_grids_0_phone.png
index ae2804e..b33d3e2 100644
Binary files a/test/visual/reference/6_0_grids_0_phone.png and b/test/visual/reference/6_0_grids_0_phone.png differ
diff --git a/test/visual/reference/6_0_grids_1_laptop.png b/test/visual/reference/6_0_grids_1_laptop.png
new file mode 100644
index 0000000..b2cf024
Binary files /dev/null and b/test/visual/reference/6_0_grids_1_laptop.png differ
diff --git a/test/visual/reference/6_0_grids_1_tablet.png b/test/visual/reference/6_0_grids_1_tablet.png
deleted file mode 100644
index 27c1ece..0000000
Binary files a/test/visual/reference/6_0_grids_1_tablet.png and /dev/null differ
diff --git a/test/visual/reference/6_0_grids_2_laptop.png b/test/visual/reference/6_0_grids_2_laptop.png
deleted file mode 100644
index edf6518..0000000
Binary files a/test/visual/reference/6_0_grids_2_laptop.png and /dev/null differ
diff --git a/test/visual/reference/6_0_grids_3_desktop.png b/test/visual/reference/6_0_grids_3_desktop.png
deleted file mode 100644
index edf6518..0000000
Binary files a/test/visual/reference/6_0_grids_3_desktop.png and /dev/null differ
diff --git a/test/visual/reference/7_0_codes_0_phone.png b/test/visual/reference/7_0_codes_0_phone.png
index 932233b..a15b953 100644
Binary files a/test/visual/reference/7_0_codes_0_phone.png and b/test/visual/reference/7_0_codes_0_phone.png differ
diff --git a/test/visual/reference/7_0_codes_1_laptop.png b/test/visual/reference/7_0_codes_1_laptop.png
new file mode 100644
index 0000000..f88e289
Binary files /dev/null and b/test/visual/reference/7_0_codes_1_laptop.png differ
diff --git a/test/visual/reference/7_0_codes_1_tablet.png b/test/visual/reference/7_0_codes_1_tablet.png
deleted file mode 100644
index fd82b02..0000000
Binary files a/test/visual/reference/7_0_codes_1_tablet.png and /dev/null differ
diff --git a/test/visual/reference/7_0_codes_2_laptop.png b/test/visual/reference/7_0_codes_2_laptop.png
deleted file mode 100644
index 9626e1a..0000000
Binary files a/test/visual/reference/7_0_codes_2_laptop.png and /dev/null differ
diff --git a/test/visual/reference/7_0_codes_3_desktop.png b/test/visual/reference/7_0_codes_3_desktop.png
deleted file mode 100644
index 9626e1a..0000000
Binary files a/test/visual/reference/7_0_codes_3_desktop.png and /dev/null differ
diff --git a/test/visual/reference/8_0_utilities_0_phone.png b/test/visual/reference/8_0_utilities_0_phone.png
index c40e3b1..fcf3af7 100644
Binary files a/test/visual/reference/8_0_utilities_0_phone.png and b/test/visual/reference/8_0_utilities_0_phone.png differ
diff --git a/test/visual/reference/8_0_utilities_1_laptop.png b/test/visual/reference/8_0_utilities_1_laptop.png
new file mode 100644
index 0000000..c45902a
Binary files /dev/null and b/test/visual/reference/8_0_utilities_1_laptop.png differ
diff --git a/test/visual/reference/8_0_utilities_1_tablet.png b/test/visual/reference/8_0_utilities_1_tablet.png
deleted file mode 100644
index 82e388c..0000000
Binary files a/test/visual/reference/8_0_utilities_1_tablet.png and /dev/null differ
diff --git a/test/visual/reference/8_0_utilities_2_laptop.png b/test/visual/reference/8_0_utilities_2_laptop.png
deleted file mode 100644
index 59519b2..0000000
Binary files a/test/visual/reference/8_0_utilities_2_laptop.png and /dev/null differ
diff --git a/test/visual/reference/8_0_utilities_3_desktop.png b/test/visual/reference/8_0_utilities_3_desktop.png
deleted file mode 100644
index 59519b2..0000000
Binary files a/test/visual/reference/8_0_utilities_3_desktop.png and /dev/null differ