stipe 0.0.2.5 → 0.0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/readme.md CHANGED
@@ -9,4 +9,11 @@ Stipe is the life blood of the Toadstool style guide framework. Consisting of a
9
9
  ##To use
10
10
  To use the Stipe gem, using Bundler `gem 'stipe'`
11
11
 
12
- Stipe is a Compass Extension, so Compass is set as a depdency. You will need to include `require 'stipe'` in your config.rb file.
12
+ Stipe is a Compass Extension, so Compass is set as a depdency. You will need to include `require 'stipe'` in your config.rb file.
13
+
14
+ # Stipe Changelog
15
+
16
+ ## 0.0.2.6
17
+ * Created color views in Toadstool
18
+ * Created remaining semantic color variables silent classes
19
+ * Updated Toadstool `_design / _ui_manifest.scss`
@@ -3,13 +3,13 @@
3
3
  // Preferred uses include @extend %class; or repurpose the mixin within the class.
4
4
  //
5
5
 
6
- $alpha_primary: #ec0036 !default; // red
7
- $bravo_primary: #299505 !default; // green
8
- $charlie_primary: #ffff87 !default; // yellow
9
- $delta_primary: #2c46b7 !default; // blue
10
- $echo_primary: #fc6432 !default; // accent
11
-
12
- $alpha_gray: #000 !default; //black
6
+ $alpha_primary: #5a2e2e !default; // red
7
+ $bravo_primary: #3e4147 !default; // green
8
+ $charlie_primary: #fffedf !default; // yellow
9
+ $delta_primary: #2a2c31 !default; // blue
10
+ $echo_primary: #dfba69 !default; // accent
11
+
12
+ $alpha_gray: #333 !default; //black
13
13
 
14
14
 
15
15
  @import "color_math";
@@ -34,7 +34,7 @@ $primary_header_color: $alpha_gray !default;
34
34
  $primary_text: $bravo_gray !default;
35
35
 
36
36
  // default <a href="#"> link color
37
- $href_color: $delta_color !default;
37
+ $href_color: $alpha_color_delta !default;
38
38
  $href_color_alt: $delta_color_bravo !default;
39
39
 
40
40
  // used with the <ins> tag
@@ -54,3 +54,10 @@ $selection_text_color: $primary_text !default;
54
54
 
55
55
  // default border color
56
56
  $border_color: $charlie_gray !default;
57
+
58
+
59
+ // Config defaults for buttons
60
+ // -----------------------------------------------------------------------------
61
+ $primary_button_border_color: $bravo_color !default;
62
+ $secondary_button_border_color: $bravo_gray !default;
63
+ $button_text: $white !default;
@@ -219,4 +219,71 @@
219
219
  }
220
220
  %echo_color_juliet {
221
221
  background-color: $echo_color_juliet;
222
- }
222
+ }
223
+
224
+
225
+ /////// semantic color blocks ////////
226
+ // ----------------------------------------------
227
+ %white {
228
+ background: $white;
229
+ }
230
+
231
+ %shadow_color {
232
+ background: $shadow_color;
233
+ }
234
+
235
+ %primary_header_color {
236
+ background: $primary_header_color;
237
+ }
238
+
239
+ %heading_font_weight {
240
+ background: $heading_font_weight;
241
+ }
242
+
243
+ %primary_text {
244
+ background: $primary_text;
245
+ }
246
+
247
+ %href_color {
248
+ background: $href_color;
249
+ }
250
+
251
+ %ins_color {
252
+ background: $ins_color;
253
+ }
254
+
255
+ %mark_color {
256
+ background: $mark_color;
257
+ }
258
+
259
+ %webkit_tap_hightlight {
260
+ background: $webkit_tap_hightlight;
261
+ }
262
+
263
+ %selection_color {
264
+ background: $selection_color;
265
+ }
266
+
267
+ %selection_text_color {
268
+ background: $selection_text_color;
269
+ }
270
+
271
+ %border_color {
272
+ background: $border_color;
273
+ }
274
+
275
+ %primary_button_border_color {
276
+ background: $primary_button_border_color;
277
+ }
278
+
279
+ %secondary_button_border_color {
280
+ background: $secondary_button_border_color;
281
+ }
282
+
283
+ %button_text {
284
+ background: $button_text;
285
+ }
286
+
287
+ %standard_hr_color {
288
+ background: $standard_hr_color;
289
+ }
@@ -46,13 +46,13 @@ $heading_font_family: #{'Lato', sans-serif};
46
46
  // Red, green, yellow, blue, accent and black is not law, but a common theme in most designs.
47
47
  // Using Toadstool, all you need to do is edit these 6 hex values and everything else is created
48
48
  // by magic, unicorns and fairy dust!
49
- $alpha_primary: #5a2e2e; // red
50
- $bravo_primary: #3e4147; // green
51
- $charlie_primary: #fffedf; // yellow
52
- $delta_primary: #2a2c31; // blue
53
- $echo_primary: #dfba69; // accent
54
- //
55
- $alpha_gray: #333; //black
49
+ // $alpha_primary: #5a2e2e; // red
50
+ // $bravo_primary: #3e4147; // green
51
+ // $charlie_primary: #fffedf; // yellow
52
+ // $delta_primary: #2a2c31; // blue
53
+ // $echo_primary: #dfba69; // accent
54
+
55
+ // $alpha_gray: #333; //black
56
56
 
57
57
 
58
58
 
@@ -101,7 +101,7 @@ $alpha_gray: #333; //black
101
101
  // $primary_text: $bravo_gray;
102
102
 
103
103
  // default <a href="#"> link color
104
- // $href_color: $delta_color;
104
+ // $href_color: $alpha_color_delta;
105
105
  // $href_color_alt: $delta_color_bravo;
106
106
 
107
107
  // used with the <ins> tag
@@ -1,2 +1,3 @@
1
1
  @import "ui_patterns/prettify";
2
- @import "ui_patterns/emBox";
2
+ @import "ui_patterns/emBox";
3
+ @import "ui_patterns/color_grid";
@@ -0,0 +1,325 @@
1
+ // Toadstool's view
2
+ // ----------------------------------------------
3
+ article.colorcode {
4
+ @include grid(6);
5
+ @media #{$mobile} {
6
+ @include grid(4, $grid_context: 4);
7
+ }
8
+ div {
9
+ width: 60%;
10
+ margin-bottom: 2em;
11
+ min-height: em(30);
12
+ float: left;
13
+ @include box_sizing;
14
+ }
15
+ p {
16
+ position: relative;
17
+ left: 105%;
18
+ font-weight: normal;
19
+ margin-bottom: 0;
20
+ width: 50%;
21
+ }
22
+ .border {
23
+ @include box_shadow (inset $alpha_gray, 0 0 1px);
24
+ }
25
+ }
26
+
27
+ //.color_block {
28
+ // @include grid(6);
29
+ // &:nth-child(odd) {
30
+ // margin-left: 0;
31
+ // }
32
+ // &:nth-child(even) {
33
+ // margin-right: 0;
34
+ // }
35
+ //}
36
+
37
+ /////// OOCSS color blocks ////////
38
+ // ----------------------------------------------
39
+
40
+ // //* Standard grayscale objects */
41
+ // //* -------------------------- */
42
+ .white {
43
+ @extend %white;
44
+ }
45
+
46
+ .alpha_gray {
47
+ @extend %alpha_gray;
48
+ }
49
+
50
+ .bravo_gray {
51
+ @extend %bravo_gray;
52
+ }
53
+
54
+ .charlie_gray {
55
+ @extend %charlie_gray;
56
+ }
57
+
58
+ .delta_gray {
59
+ @extend %delta_gray;
60
+ }
61
+
62
+ .echo_gray {
63
+ @extend %echo_gray;
64
+ }
65
+
66
+ .fox_gray {
67
+ @extend %fox_gray;
68
+ }
69
+
70
+ .golf_gray {
71
+ @extend %golf_gray;
72
+ }
73
+
74
+ .hotel_gray {
75
+ @extend %hotel_gray;
76
+ }
77
+
78
+ .india_gray {
79
+ @extend %india_gray;
80
+ }
81
+
82
+
83
+
84
+ //* Standard color objects */
85
+ //* ---------------------- */
86
+ .alpha_color {
87
+ @extend %alpha_color;
88
+ }
89
+ .alpha_color_bravo {
90
+ @extend %alpha_color_bravo;
91
+ }
92
+ .alpha_color_charlie {
93
+ @extend %alpha_color_charlie;
94
+ }
95
+ .alpha_color_delta {
96
+ @extend %alpha_color_delta;
97
+ }
98
+ .alpha_color_echo {
99
+ @extend %alpha_color_echo;
100
+ }
101
+ .alpha_color_fox {
102
+ @extend %alpha_color_fox;
103
+ }
104
+ .alpha_color_golf {
105
+ @extend %alpha_color_golf;
106
+ }
107
+ .alpha_color_hotel {
108
+ @extend %alpha_color_hotel;
109
+ }
110
+ .alpha_color_india {
111
+ @extend %alpha_color_india;
112
+ }
113
+ .alpha_color_juliet {
114
+ @extend %alpha_color_juliet;
115
+ }
116
+
117
+
118
+
119
+
120
+
121
+ .bravo_color {
122
+ @extend %bravo_color;
123
+ }
124
+ .bravo_color_bravo {
125
+ @extend %bravo_color_bravo;
126
+ }
127
+ .bravo_color_charlie {
128
+ @extend %bravo_color_charlie;
129
+ }
130
+ .bravo_color_delta {
131
+ @extend %bravo_color_delta;
132
+ }
133
+ .bravo_color_echo {
134
+ @extend %bravo_color_echo;
135
+ }
136
+ .bravo_color_fox {
137
+ @extend %bravo_color_fox;
138
+ }
139
+ .bravo_color_golf {
140
+ @extend %bravo_color_golf;
141
+ }
142
+ .bravo_color_hotel {
143
+ @extend %bravo_color_hotel;
144
+ }
145
+ .bravo_color_india {
146
+ @extend %bravo_color_india;
147
+ }
148
+ .bravo_color_juliet {
149
+ @extend %bravo_color_juliet;
150
+ }
151
+
152
+
153
+
154
+
155
+
156
+
157
+ .charlie_color {
158
+ @extend %charlie_color;
159
+ }
160
+ .charlie_color_bravo {
161
+ @extend %charlie_color_bravo;
162
+ }
163
+ .charlie_color_charlie {
164
+ @extend %charlie_color_charlie;
165
+ }
166
+ .charlie_color_delta {
167
+ @extend %charlie_color_delta;
168
+ }
169
+ .charlie_color_echo {
170
+ @extend %charlie_color_echo;
171
+ }
172
+ .charlie_color_fox {
173
+ @extend %charlie_color_fox;
174
+ }
175
+ .charlie_color_golf {
176
+ @extend %charlie_color_golf;
177
+ }
178
+ .charlie_color_hotel {
179
+ @extend %charlie_color_hotel;
180
+ }
181
+ .charlie_color_india {
182
+ @extend %charlie_color_india;
183
+ }
184
+ .charlie_color_juliet {
185
+ @extend %charlie_color_juliet;
186
+ }
187
+
188
+
189
+
190
+
191
+
192
+
193
+ .delta_color {
194
+ @extend %delta_color;
195
+ }
196
+ .delta_color_bravo {
197
+ @extend %delta_color_bravo;
198
+ }
199
+ .delta_color_charlie {
200
+ @extend %delta_color_charlie;
201
+ }
202
+ .delta_color_delta {
203
+ @extend %delta_color_delta;
204
+ }
205
+ .delta_color_echo {
206
+ @extend %delta_color_echo;
207
+ }
208
+ .delta_color_fox {
209
+ @extend %delta_color_fox;
210
+ }
211
+ .delta_color_golf {
212
+ @extend %delta_color_golf;
213
+ }
214
+ .delta_color_hotel {
215
+ @extend %delta_color_hotel;
216
+ }
217
+ .delta_color_india {
218
+ @extend %delta_color_india;
219
+ }
220
+ .delta_color_juliet {
221
+ @extend %delta_color_juliet;
222
+ }
223
+
224
+
225
+
226
+
227
+
228
+
229
+ .echo_color {
230
+ @extend %echo_color;
231
+ }
232
+ .echo_color_bravo {
233
+ @extend %echo_color_bravo;
234
+ }
235
+ .echo_color_charlie {
236
+ @extend %echo_color_charlie;
237
+ }
238
+ .echo_color_delta {
239
+ @extend %echo_color_delta;
240
+ }
241
+ .echo_color_echo {
242
+ @extend %echo_color_echo;
243
+ }
244
+ .echo_color_fox {
245
+ @extend %echo_color_fox;
246
+ }
247
+ .echo_color_golf {
248
+ @extend %echo_color_golf;
249
+ }
250
+ .echo_color_hotel {
251
+ @extend %echo_color_hotel;
252
+ }
253
+ .echo_color_india {
254
+ @extend %echo_color_india;
255
+ }
256
+ .echo_color_juliet {
257
+ @extend %echo_color_juliet;
258
+ }
259
+
260
+
261
+ /////// semantic color blocks ////////
262
+ // ----------------------------------------------
263
+ .white {
264
+ background: $white;
265
+ }
266
+
267
+ .shadow_color {
268
+ background: $shadow_color;
269
+ }
270
+
271
+ .primary_header_color {
272
+ background: $primary_header_color;
273
+ }
274
+
275
+ .heading_font_weight {
276
+ background: $heading_font_weight;
277
+ }
278
+
279
+ .primary_text {
280
+ background: $primary_text;
281
+ }
282
+
283
+ .href_color {
284
+ background: $href_color;
285
+ }
286
+
287
+ .ins_color {
288
+ background: $ins_color;
289
+ }
290
+
291
+ .mark_color {
292
+ background: $mark_color;
293
+ }
294
+
295
+ .webkit_tap_hightlight {
296
+ background: $webkit_tap_hightlight;
297
+ }
298
+
299
+ .selection_color {
300
+ background: $selection_color;
301
+ }
302
+
303
+ .selection_text_color {
304
+ background: $selection_text_color;
305
+ }
306
+
307
+ .border_color {
308
+ background: $border_color;
309
+ }
310
+
311
+ .primary_button_border_color {
312
+ background: $primary_button_border_color;
313
+ }
314
+
315
+ .secondary_button_border_color {
316
+ background: $secondary_button_border_color;
317
+ }
318
+
319
+ .button_text {
320
+ background: $button_text;
321
+ }
322
+
323
+ .standard_hr_color {
324
+ background: $standard_hr_color;
325
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.5
4
+ version: 0.0.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -80,6 +80,7 @@ files:
80
80
  - stylesheets/stipe/grid/lib/_the_grid.scss
81
81
  - stylesheets/stipe/grid/_extends.scss
82
82
  - stylesheets/stipe/_grid.scss
83
+ - stylesheets/stipe/toadstool/ui_patterns/_color_grid.scss
83
84
  - stylesheets/stipe/toadstool/ui_patterns/_prettify.scss
84
85
  - stylesheets/stipe/toadstool/ui_patterns/_emBox.scss
85
86
  - stylesheets/stipe/toadstool/modules/_footer.scss