compass-pattern-primer 0.2.8 → 0.3.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +2 -1
  3. data/README.md +86 -46
  4. data/lib/compass-pattern-primer.rb +2 -2
  5. data/stylesheets/compass-pattern-primer/_reset.scss +0 -9
  6. data/stylesheets/compass-pattern-primer/partials/_colors.scss +2 -4
  7. data/stylesheets/compass-pattern-primer/reset/_reset.scss +2 -19
  8. data/stylesheets/compass-pattern-primer/reset/libraries/_eric_meyer_reset.scss +1 -51
  9. data/stylesheets/compass-pattern-primer/reset/libraries/_formalize.scss +1 -378
  10. data/stylesheets/compass-pattern-primer/reset/libraries/_normalize.scss +1 -935
  11. data/templates/adactio/config.rb +28 -0
  12. data/templates/adactio/manifest.rb +67 -0
  13. data/templates/project/config.rb +29 -0
  14. data/templates/project/manifest.rb +67 -26
  15. data/templates/shared/patterns/blockquote.html +3 -0
  16. data/templates/shared/patterns/colorguide.html +34 -0
  17. data/templates/shared/patterns/feedback-error-new.html +3 -0
  18. data/templates/shared/patterns/feedback-error.html +3 -0
  19. data/templates/shared/patterns/feedback-new.html +3 -0
  20. data/templates/shared/patterns/feedback-warning.html +3 -0
  21. data/templates/shared/patterns/feedback.html +3 -0
  22. data/templates/shared/patterns/form-buttons-active.html +3 -0
  23. data/templates/shared/patterns/form-buttons-all.html +4 -0
  24. data/templates/shared/patterns/form-buttons-cancel.html +3 -0
  25. data/templates/shared/patterns/form-buttons-disabled.html +3 -0
  26. data/templates/shared/patterns/form-buttons-new.html +3 -0
  27. data/templates/shared/patterns/form-buttons.html +3 -0
  28. data/templates/shared/patterns/form-checkbox.html +1 -0
  29. data/templates/shared/patterns/form-email.html +2 -0
  30. data/templates/shared/patterns/form-number.html +2 -0
  31. data/templates/shared/patterns/form-select.html +3 -0
  32. data/templates/shared/patterns/form-text.html +2 -0
  33. data/templates/shared/patterns/form-textarea.html +2 -0
  34. data/templates/shared/patterns/form-url.html +2 -0
  35. data/templates/shared/patterns/headers.html +6 -0
  36. data/templates/shared/patterns/heading-1-p.html +8 -0
  37. data/templates/shared/patterns/heading-1.html +1 -0
  38. data/templates/shared/patterns/heading-2-p.html +8 -0
  39. data/templates/shared/patterns/heading-2.html +1 -0
  40. data/templates/shared/patterns/heading-3-p.html +8 -0
  41. data/templates/shared/patterns/heading-3.html +1 -0
  42. data/templates/shared/patterns/heading-4-p.html +8 -0
  43. data/templates/shared/patterns/heading-4.html +1 -0
  44. data/templates/shared/patterns/heading-5-p.html +8 -0
  45. data/templates/shared/patterns/heading-5.html +1 -0
  46. data/templates/shared/patterns/heading-6-p.html +8 -0
  47. data/templates/shared/patterns/heading-6.html +1 -0
  48. data/templates/shared/patterns/list-ordered.html +5 -0
  49. data/templates/shared/patterns/list-unordered.html +5 -0
  50. data/templates/shared/patterns/pagination-first.html +12 -0
  51. data/templates/shared/patterns/pagination-last.html +12 -0
  52. data/templates/shared/patterns/pagination.html +12 -0
  53. data/templates/shared/patterns/text-new.html +67 -0
  54. data/templates/shared/patterns/text.html +1 -0
  55. data/templates/shared/php/adactio-pattern-primer.php +52 -0
  56. data/templates/shared/php/pattern-primer.php +35 -0
  57. data/templates/{project → shared/sass}/base/_page.scss +0 -0
  58. data/templates/shared/sass/global-adactio.scss +41 -0
  59. data/templates/{project → shared/sass}/global.scss +2 -12
  60. data/templates/{project → shared/sass}/layout/_page.scss +0 -0
  61. data/templates/{project → shared/sass}/modules/_footer.scss +0 -0
  62. data/templates/{project → shared/sass}/modules/_header.scss +0 -0
  63. data/templates/{project → shared/sass}/partials/_browsers.scss +0 -0
  64. data/templates/{project → shared/sass}/partials/_colors.scss +0 -0
  65. data/templates/{project → shared/sass}/partials/_extendables.scss +0 -0
  66. data/templates/{project → shared/sass}/partials/_functions.scss +0 -0
  67. data/templates/{project → shared/sass}/partials/_mixins.scss +0 -0
  68. data/templates/shared/sass/partials/_variables-adactio.scss +3 -0
  69. data/templates/{project → shared/sass}/partials/_variables.scss +0 -0
  70. data/templates/{project → shared/sass}/partials/variables/base/_page.scss +0 -0
  71. data/templates/{project → shared/sass}/partials/variables/layout/_breakpoints.scss +0 -0
  72. data/templates/{project → shared/sass}/partials/variables/layout/_page.scss +0 -0
  73. data/templates/{project → shared/sass}/partials/variables/modules/_footer.scss +0 -0
  74. data/templates/{project → shared/sass}/partials/variables/modules/_header.scss +0 -0
  75. data/templates/{project → shared/sass}/partials/variables/state/_footer.scss +0 -0
  76. data/templates/{project → shared/sass}/partials/variables/state/_header.scss +0 -0
  77. data/templates/{project → shared/sass}/partials/variables/state/_page.scss +0 -0
  78. data/templates/{project → shared/sass}/partials/variables/theme/_overrides.scss +0 -0
  79. data/templates/{project → shared/sass}/partials/variables/theme/_page.scss +0 -0
  80. data/templates/shared/sass/pattern-primer.scss +25 -0
  81. data/templates/{project → shared/sass}/state/_footer.scss +0 -0
  82. data/templates/{project → shared/sass}/state/_header.scss +0 -0
  83. data/templates/{project → shared/sass}/state/_page.scss +0 -0
  84. data/templates/{project → shared/sass}/theme/_page.scss +0 -0
  85. data/templates/static/config.rb +29 -0
  86. data/templates/static/manifest.rb +65 -0
  87. data/templates/{project → static}/pattern-primer.html +8 -9
  88. metadata +109 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA512:
3
- data.tar.gz: b17c616e49a965d900af2f002c7588a4e1048a2f50387234eaca0d723be319df6f466d62bc1f166822d06ed7c55d19004a93fd57ec1c77d6329741556bf8fdc2
4
- metadata.gz: 3150997f8458a59ffced3fb4f61e6cefc31c5c2a0bf5c567fd7f7bc5cd33844938647664efde110e9793fe28e3ca2868907b5097352d64c69d350c4a289c767e
5
2
  SHA1:
6
- data.tar.gz: b9bdae415dc552ac07d9dfc02c04ed642c528504
7
- metadata.gz: 34341db7ffa706092d8e268f4f7300b3c5f4aeb9
3
+ data.tar.gz: 0de95f5460a05c3272087101d4dc87e492bab9bc
4
+ metadata.gz: 55f32509a2e6dabdd8488909fad6f5c272a4e0af
5
+ SHA512:
6
+ data.tar.gz: b6135ec2a68efa323bd60400564a54f6bc53c1b615fc8df1ffcb0c46709943e8689d0bd81b33b6cbc030b92b4461870fcc4aa69e40f9d6264c6c540dfad130d1
7
+ metadata.gz: b475432c33e9432bba9ce485dbe763ff572d5366d706a433b869c4c5f9ce51f6474222f3bed5bab98d21669d0ca6622c91e24a1615b460e2099fa34e16946f7f
data/CHANGELOG.md CHANGED
@@ -7,4 +7,5 @@
7
7
  * **0.2.5** Fixed errors in time style in base/_tyopgraphy.scss
8
8
  * **0.2.6** Forgot to update Changelog
9
9
  * **0.2.7** Added `$forms-input-width` variable
10
- * **0.2.8** Added `%formstyle` extendable to fix extendable cascade issues
10
+ * **0.2.8** Added `%formstyle` extendable to fix extendable cascade issues
11
+ * **0.3.beta** Remodeling reset and template files (pre-release for SassConf)
data/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
  ### Create Style Guides in HTML and CSS with Sass & Compass
3
3
  _This is the development repo for the compass extension and rubygem: [Compass Pattern Primer](https://rubygems.org/gems/compass-pattern-primer)._
4
4
 
5
- Compass Pattern Primer is a system to quickly generate style guides for your web site or web app. It is based on [Pattern Primer](https://github.com/adactio/Pattern-Primer) by Adactio/Jeremy Keith. It's a collection of starter UI patterns that can be styled for any website. The pattern primer used a PHP document to pull in HTML snippets that can be styled.
5
+ Compass Pattern Primer is a system to quickly generate style guides for your web site or web app. It is based on [Pattern Primer](https://github.com/adactio/Pattern-Primer) by Adactio/Jeremy Keith. It's a collection of starter UI patterns that can be styled for any website. The pattern primer uses a PHP document to pull in patterns (HTML snippets) that can be styled.
6
6
 
7
- I originally faithfully ported [Pattern Primer](https://github.com/alienresident/Pattern-Primer) and Jeremy Keith's styles to Sass. Using Sass allows the styles to be quickly changing by overriding a few variables.
7
+ I originally faithfully ported [Pattern Primer](https://github.com/alienresident/Pattern-Primer) and Jeremy Keith's styles to Sass. Using Sass allows the styles to be quickly changing by overriding a few variables.
8
8
 
9
- For my own development work I wanted to move on from Jeremy's work. I reworked the Pattern Primer to use Jonathan Snook's [SMACSS](http://smacss.com/) \(Scalable and Modular Architecture for CSS\) as an organizing principle. I separated the partials into base and modules. The styling from the original Pattern Primer is the default style. The intended way to override the original Adactio styling is to change the variables in `partials/variables/theme/_overrides` following the SMACSS paradigm. I have also changed the default Reset from Eric Meyer's to Formalize and Normalize.
9
+ For my own development work I needed to move beyond Jeremy's work. I reworked the Pattern Primer to use Jonathan Snook's [SMACSS](http://smacss.com/) \(Scalable and Modular Architecture for CSS\) as an organizing principle. I separated the partials into base and modules. The styling from the original Pattern Primer is the default style. The intended way to override the original Adactio styling is to change the variables in `partials/variables/theme/_overrides` following the SMACSS paradigm. I have also changed the default [reset](#reset) from Eric Meyer's to Formalize and Normalize.
10
10
 
11
11
  *This is a work in progress and any feedback is very welcome.*
12
12
 
@@ -15,72 +15,107 @@ Compass Pattern Primer is a compass extension bundled as a Ruby gem.
15
15
 
16
16
  ```bash
17
17
  gem install compass-pattern-primer
18
- ```
18
+ ```
19
+ #### Dependencies
19
20
  You'll need to install [Sass](http://sass-lang.com/), [Compass](http://compass-style.org/), and [Toolkit](https://github.com/Team-Sass/toolkit) Ruby Gems too. Documentation for installing and using these gems is pretty extensive.
20
21
 
22
+ Depending on what [scaffolding](#create-a-new-compass-project-using-compass-pattern-primer-scaffolding) or [reset](#reset) library you use. You may need to install [compass normalize](https://github.com/ksmandersen/compass-normalize) and/or [compass formalize](https://github.com/pengwynn/compass_formalize) or the [meyer reset](https://github.com/adamstac/meyer-reset).
23
+
21
24
  ## How to Use it
22
25
  There are a number of ways you can get started with Compass Pattern Primer
23
26
 
24
- #### Create a new Compass project requiring Compass Pattern Primer
27
+ ### Create a new Compass project requiring Compass Pattern Primer
25
28
 
26
29
  ```bash
27
30
  compass create <MyProject> -r compass-pattern-primer
28
31
  ```
29
32
  This creates a new Compass project using the compass standard scaffolding and adds `require 'compass-pattern-primer'` to the `config.rb`.
30
33
 
31
- #### Create a new Compass project using Compass Pattern Primer scaffolding \(SMACSS\)
34
+ ### Create a new Compass project using Compass Pattern Primer scaffolding
35
+
36
+ ##### SMACSS
32
37
 
33
38
  ```bash
34
- compass create <MyProject> -r compass-pattern-primer --using compass-pattern-primer
35
- ```
36
- This adds a SMACSS style scaffolding to your project and creates `pattern-primer.html` a static html page where you can preview the style guide. *See: **Features to be added** at the bottom of this document for planned alternative scaffolding.*
39
+ compass create <MyProject> -r compass-pattern-primer -u compass-pattern-primer
40
+ ```
41
+ This creates a SMACSS style scaffolding for your project. It includes an `index.php` and a patterns folder (HTML snippets). Within the patterns folder there are the default Adactio patterns as well as some additional patterns. All the partials are imported into `global.scss` which will be your main css file. It also creates a `pattern-primer.scss` which imports `global.scss` and adds a color guide for your `index.php`. The color guide adds a lot of CSS that has no business being in the production site but's very useful for the style guide.
42
+
43
+ ##### Adactio's Pattern Primer
44
+
45
+ ```bash
46
+ compass create <MyProject> -r compass-pattern-primer -u compass-pattern-primer/adactio
47
+ ```
48
+ This adds an `index.php` and a patterns folder (HTML snippets) with only Adactio's original patterns and CSS that's (fairly) faithful to his CSS.
49
+
50
+ ##### Static HTML File
51
+
52
+ ```bash
53
+ compass create <MyProject> -r compass-pattern-primer -u compass-pattern-primer/static
54
+ ```
55
+ This creates a SMACSS style scaffolding for your project. Instead of the `index.php` it includes `pattern-primer.html` a static html page where you can preview the style guide. You edit the html to add your own patterns.
37
56
 
38
57
  #### Add Compass Pattern Primer to an existing project by adding the following to config.rb
39
58
 
40
59
  ```ruby
41
60
  require 'compass-pattern-primer'
42
- ```
61
+ ```
43
62
  Then import the Compass Pattern Primer partial by adding at the top of your working file
44
63
 
45
64
  ```scss
46
65
  @import "compass-pattern-primer";
47
- ```
66
+ ```
48
67
  **Note:** *You'll need to restart* `compass watch` *if it's running*
49
68
 
50
69
  ## Features in Compass Pattern Primer
51
70
 
52
71
  Compass Pattern Primer comes with a reset, base styles, and modules \(controls, feedback, options, pagination\). You can either bring everything into your project by adding `@import "compass-pattern-primer";` to the top of your file. You can also add the individual pieces by adding some (or all) of the following:
53
72
 
54
- ```scss
55
- @import "compass-pattern-primer/reset";
56
- @import "compass-pattern-primer/base";
57
- @import "compass-pattern-primer/modules";
58
- ```
73
+ ```scss
74
+ @import "compass-pattern-primer/reset";
75
+ @import "compass-pattern-primer/base";
76
+ @import "compass-pattern-primer/modules";
77
+ ```
59
78
 
60
79
  ### Reset
61
- The Compass Pattern Primer Reset incorporates Normalize and Formalize libraries by default. If you don not want to include these set them to false.
80
+ The Compass Pattern Primer Reset incorporates Normalize and Formalize libraries (using their compass gems) by default.
81
+
82
+ __change__
62
83
 
63
84
  ```scss
64
- $use_formalize_reset: false;
65
- $use_normalize_reset: false;
66
- ```
85
+ @import "compass-pattern-primer/reset";
86
+ ```
87
+ __to__
88
+ ```scss
89
+ @import "compass-pattern-primer/reset/libraries/_normalize";
90
+ ```
91
+ __or__
92
+ ```scss
93
+ @import "compass-pattern-primer/reset/libraries/_formalize";
94
+ ```
95
+
96
+ The Eric Meyer Reset is available as an option.
97
+
98
+ __change__
67
99
 
68
- The Eric Meyer Reset is available as an option too but it's set to false by default. To change this add:
69
-
70
100
  ```scss
71
- $use_eric_meyer_reset: true;
72
- ```
101
+ @import "compass-pattern-primer/reset";
102
+ ```
103
+ __to__
104
+
105
+ ```scss
106
+ @import "compass-pattern-primer/reset/libraries/_eric_meyer_reset";
107
+ ```
73
108
 
74
- Unless you use the SMACSS style scaffolding* legacy support for older IE (6 & 7) browsers in the Normalize and Formalize libraries is set to true by default. To change this add:
109
+ Unless you use the Compass Pattern Primer SMACSS scaffolding*, legacy support for older IE (6 & 7) browsers in the Normalize and Formalize libraries will be set to true. To change this add:
75
110
 
76
111
  ```scss
77
- $legacy-support-for-ie6: false;
112
+ $legacy-support-for-ie6: false;
78
113
  $legacy-support-for-ie7: false;
79
- ```
114
+ ```
80
115
 
81
- *In the SMACSS style scaffolding you can change what browsers you support in `partials/browsers`.
116
+ *In the Compass Pattern Primer SMACSS scaffolding you can change what browsers you support in `partials/browsers`.
82
117
 
83
- If you don't want to use the Compass Pattern Primer Reset simply don't import it. You can import just the base and modules.
118
+ If you don't want to use any resets simply don't import it. You can import just the base and modules.
84
119
 
85
120
  ```scss
86
121
  @import "compass-pattern-primer/base";
@@ -93,7 +128,7 @@ You can add them all:
93
128
 
94
129
  ```scss
95
130
  @import "compass-pattern-primer/base";
96
- ```
131
+ ```
97
132
  Or selectively, here's the full list you can select which parts:
98
133
 
99
134
  ```scss
@@ -110,15 +145,15 @@ Similarly the modules allow can be imported whole or selectively.
110
145
 
111
146
  ```scss
112
147
  @import "compass-pattern-primer/modules";
113
- ```
114
- Or
148
+ ```
149
+ Or
115
150
 
116
151
  ```scss
117
152
  @import "compass-pattern-primer/modules/_control";
118
153
  @import "compass-pattern-primer/modules/_feedback";
119
154
  @import "compass-pattern-primer/modules/_options";
120
155
  @import "compass-pattern-primer/modules/_pagination";
121
- ```
156
+ ```
122
157
  Styles for the modules can be changed using **overrides** and extended to other elements using **extendables**.
123
158
 
124
159
  ### Changing the default styles
@@ -127,7 +162,6 @@ The Compass Pattern Primer is designed to allow nearly everything about the CSS
127
162
  #### Overrides
128
163
  In the SMACSS style scaffolding you can override any of the variables in `partials/variables/theme/_overrides`. It contains some example variables that are commented out.
129
164
 
130
-
131
165
  #### Extendables
132
166
  Styles for the buttons, controls, options, and pagination are silent extendables. The extendables are in `partials/extendables`. This allows you to easily add a the button styles to another element.
133
167
 
@@ -137,9 +171,9 @@ In this example I am extending an `input` with the `id="reset"` to `%button-acti
137
171
  input#reset {
138
172
  @extend %button-active;
139
173
  }
140
- ```
174
+ ```
141
175
  #### Colors
142
- Custom color guides can generated by altering the `$primary-color` variable in `partials/colors`. If you want to see this in action, the best option is to build a project using the SMACSS scaffolding. Color guides are created using [Color Schemer](https://github.com/Team-Sass/color-schemer) and can be viewed on the `pattern-primer.html` page.
176
+ Custom color guides can generated by altering the `$primary-color` variable in `partials/colors`. If you want to see this in action, the best option is to build a project using the SMACSS scaffolding. Color guides are created using [Color Schemer](https://github.com/Team-Sass/color-schemer) and can be viewed on the on the `index.php` (default) or `pattern-primer.html` (static) page.
143
177
 
144
178
  Color Schemer is feature rich and allows you to generate color schemes using color theory schemes: mono, complement, triad, tetrad, analogic, accented-analogic. See [Color Schemer](https://github.com/Team-Sass/color-schemer) for more info.
145
179
 
@@ -156,7 +190,7 @@ $primary: tint-stack(cs-primary());
156
190
  $secondary: tint-stack(cs-secondary());
157
191
  $tertiary: tint-stack(cs-tertiary());
158
192
  $quadrary: tint-stack(cs-quadrary())
159
- ```
193
+ ```
160
194
 
161
195
  The advantage of this is you can design your site using `tint-stack` variables. You can then easily adjust your colors by simply altering the `$primary-color` variable.
162
196
 
@@ -166,24 +200,30 @@ $link-visited-link-color: nth($primary, 2);
166
200
  ```
167
201
 
168
202
  ## Features to be added
169
- #### More scaffolding options.
170
- At the moment there's only one option to use my SMACSS scaffolding and a static html preview page. This works for some use cases but doesn't allow you to easily add patterns.
203
+ #### ~~More scaffolding options.~~ DONE
204
+ ~~At the moment there's only one option to use my SMACSS scaffolding and a static html preview page. This works for some use cases but doesn't allow you to easily add patterns.~~
171
205
 
172
- I intend to allow a scaffolding option that includes the original patterns and `index.php` file from Jeremy Keith's [Pattern Primer](https://github.com/adactio/Pattern-Primer) repo.
206
+ ~~I intend to allow a scaffolding option that includes the original patterns and `index.php` file from Jeremy Keith's [Pattern Primer](https://github.com/adactio/Pattern-Primer) repo.~~
173
207
 
174
- Another option could be to create a very basic scaffolding that doesn't use the SMACSS approach. So that you can use you own.
208
+ ~~Another option could be to create a very basic scaffolding that doesn't use the SMACSS approach. So that you can use you own.~~
175
209
 
176
- #### Use existing Compass Reset gems
177
- I realized after the fact that all my reset's existed as compass gems. Doesn't seem like a good idea to duplicate code.
210
+ There are now 3 [install options](#create-a-new-compass-project-using-compass-pattern-primer-scaffolding) for Compass Pattern Primer.
211
+
212
+
213
+ #### ~~Use existing Compass Reset gems~~ DONE
214
+ ~~I realized after the fact that all my reset's existed as compass gems. Doesn't seem like a good idea to duplicate code.
178
215
  - [Meyer Reset](https://github.com/adamstac/meyer-reset)
179
216
  - [Compass Normalize](https://github.com/ksmandersen/compass-normalize)
180
- - [Compass Formalize](https://github.com/pengwynn/compass_formalize)
217
+ - [Compass Formalize](https://github.com/pengwynn/compass_formalize)~~
218
+ I had to make some changes to [Compass Formalize](https://github.com/pengwynn/compass_formalize) to add `$legacy-support-for-ie6` and `$legacy-support-for-ie7` and they were accepted and pushed on in v. 0.0.5. I am now a committer on that project!
181
219
 
182
220
 
183
- #### ~~Simplify `bounding-box` mixin~~ DONE
221
+ #### ~~Simplify the `bounding-box` mixin~~ DONE
184
222
  ~~At the moment `bounding-box` mixin handles `margin`, `padding`, and `border` styles. I am going to change this to just `margin` and `padding` and create a new mixing to handle `border` and expanded it to support `outline` as the have similar CSS output.~~
185
223
  Refactored `bounding-box` mixin (v0.2.2). It's now 2 mixins: `border-outline` and `margin-padding`. They handle borders and outlines, and margins and paddings. With the refactoring I was able to remove all `$*-border-pos` variables. The position of borders is handled through `$*-border-width` which takes up to 4 arguments in the following clockwise order TRBL \(Top Right Bottom Left \). Similarly `$*-border-style` and `$*-border-color` can take up to 4 arguments. Outline ignores all but the 1st argument and can take an offset argument. There's an error check mixin `border-outline-check` that displays warnings if you add too many arguments of try to offset the border.
186
224
 
187
225
 
188
226
  ##### Requests? Feedback?
189
- Contact [me](mailto:mark@alienresident.net) or simply file an [issue](https://github.com/alienresident/compass-pattern-primer/issues/new)!
227
+ Contact [me](mailto:mark@alienresident.net) or simply file an [issue](https://github.com/alienresident/compass-pattern-primer/issues/new)!
228
+
229
+ Thanks, Mark Reilly
@@ -18,8 +18,8 @@ Compass::Frameworks.register('compass-pattern-primer', :path => extension_path)
18
18
  # a prerelease version
19
19
  # Date is in the form of YYYY-MM-DD
20
20
  module Compass_Pattern_Primer
21
- VERSION = "0.2.8"
22
- DATE = "2013-09-19"
21
+ VERSION = "0.3.beta"
22
+ DATE = "2013-10-13"
23
23
  end
24
24
 
25
25
  # This is where any custom SassScript should be placed. The functions will be
@@ -1,10 +1 @@
1
- // change legacy support to true if you want legacy versions of formalize and normalize
2
- $legacy-support-for-ie6: false;
3
- $legacy-support-for-ie7: false;
4
-
5
- // choose your reset
6
- $use_eric_meyer_reset: false;
7
- $use_formalize_reset: true;
8
- $use_normalize_reset: true;
9
-
10
1
  @import "reset/_reset";
@@ -23,7 +23,5 @@ $black: tint-stack(#333);
23
23
  $primary: tint-stack(cs-primary());
24
24
  $secondary: tint-stack(cs-secondary());
25
25
  $tertiary: tint-stack(cs-tertiary());
26
- $quadrary: tint-stack(cs-quadrary());
27
- $darker: shade-stack(cs-primary());
28
-
29
- @include generate-colour-guide($black, $primary, $secondary, $tertiary, $quadrary, $darker);
26
+ $quadrary: tint-stack(cs-quadrary());
27
+ $darker: shade-stack(cs-primary());
@@ -1,19 +1,2 @@
1
- $use_eric_meyer_reset: false !default;
2
- $use_formalize_reset: true !default;
3
- $use_normalize_reset: true !default;
4
-
5
- @import "libraries/_eric_meyer_reset";
6
- @import "libraries/_normalize";
7
- @import "libraries/_formalize";
8
-
9
- @if $use_eric_meyer_reset {
10
- @include eric_meyer_reset();
11
- }
12
-
13
- @if $use_formalize_reset {
14
- @include formalize();
15
- }
16
-
17
- @if $use_normalize_reset {
18
- @include normalize();
19
- }
1
+ @import "normalize";
2
+ @import "formalize";
@@ -1,51 +1 @@
1
- @mixin eric_meyer_reset() {
2
-
3
- /* http://meyerweb.com/eric/tools/css/reset/
4
- v2.0 | 20110126
5
- License: none (public domain)
6
- */
7
-
8
- html, body, div, span, applet, object, iframe,
9
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
10
- a, abbr, acronym, address, big, cite, code,
11
- del, dfn, em, img, ins, kbd, q, s, samp,
12
- small, strike, strong, sub, sup, tt, var,
13
- b, u, i, center,
14
- dl, dt, dd, ol, ul, li,
15
- fieldset, form, label, legend,
16
- table, caption, tbody, tfoot, thead, tr, th, td,
17
- article, aside, canvas, details, embed,
18
- figure, figcaption, footer, header, hgroup,
19
- menu, nav, output, ruby, section, summary,
20
- time, mark, audio, video {
21
- margin: 0;
22
- padding: 0;
23
- border: 0;
24
- font-size: 100%;
25
- font: inherit;
26
- vertical-align: baseline;
27
- }
28
- /* HTML5 display-role reset for older browsers */
29
- article, aside, details, figcaption, figure,
30
- footer, header, hgroup, menu, nav, section {
31
- display: block;
32
- }
33
- body {
34
- line-height: 1;
35
- }
36
- ol, ul {
37
- list-style: none;
38
- }
39
- blockquote, q {
40
- quotes: none;
41
- }
42
- blockquote:before, blockquote:after,
43
- q:before, q:after {
44
- content: '';
45
- content: none;
46
- }
47
- table {
48
- border-collapse: collapse;
49
- border-spacing: 0;
50
- }
51
- }
1
+ @import "meyer-reset.scss";