english_tea 0.5.3 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68c69bc9040d7fc6eaacd41caa4dec470d8ae97c
|
4
|
+
data.tar.gz: fef563a16a2d76fc0023540730d61ee096074eff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c7c6016155ea0ac1cdad3fc31beb49fdd1c27c45f4edd83e72f39ee3f94d142ec1779ae469d129a134dce0cec972a9b8c73e51f214ddc261c3c976381dfc1e6
|
7
|
+
data.tar.gz: b81a077ae784f1d4318d99f277e6b8277a7743bec34f5b8f534ddd0a51bdf1dd144b46cac4aad69fa1343afca9eb59443cad2359c44d8c19709f8275423f4565
|
@@ -105,7 +105,7 @@
|
|
105
105
|
|
106
106
|
.job-post-headline
|
107
107
|
{
|
108
|
-
color:
|
108
|
+
color: nth(_fetch-setting("color-job-fulltime"), 1) !important; // see above color notes
|
109
109
|
|
110
110
|
mark
|
111
111
|
{
|
@@ -115,7 +115,7 @@
|
|
115
115
|
|
116
116
|
&.job-post-type-freelance
|
117
117
|
{
|
118
|
-
color:
|
118
|
+
color: nth(_fetch-setting("color-job-freelance"), 1) !important; // see above color notes
|
119
119
|
}
|
120
120
|
}
|
121
121
|
|
@@ -2,23 +2,74 @@
|
|
2
2
|
// Global variable configuration
|
3
3
|
// ==========================================================================
|
4
4
|
|
5
|
+
$_english_tea_defaults: (
|
6
|
+
"base-font-size": 16px,
|
7
|
+
"base-line-height": 1.5,
|
8
|
+
"base-rhythm": 10px,
|
9
|
+
"base-gutter": 15px,
|
10
|
+
"base-gutter-large": 30px,
|
11
|
+
"max-measure-callout": 800px,
|
12
|
+
"max-measure-type": 750px,
|
13
|
+
"max-measure-form": 600px,
|
14
|
+
"max-width": 1160px,
|
15
|
+
|
16
|
+
"breakpoint-none": 0px,
|
17
|
+
"breakpoint-small": 768px,
|
18
|
+
"breakpoint-medium": 1024px,
|
19
|
+
"breakpoint-large": 1440px,
|
20
|
+
"breakpoint-xlarge": 1680px,
|
21
|
+
|
22
|
+
"type-font-title": ('Tungsten A', 'Tungsten B', sans-serif),
|
23
|
+
"type-font-status": ('Tungsten Narrow A', 'Tungsten Narrow B', sans-serif),
|
24
|
+
"type-font-body": ('Gotham A', 'Gotham B', sans-serif),
|
25
|
+
"type-font-description": ('Chronicle Display A', 'Chronicle Display B', serif),
|
26
|
+
"type-font-code": (Monaco, monospace),
|
27
|
+
|
28
|
+
"type-style-title": normal,
|
29
|
+
"type-style-body": normal,
|
30
|
+
"type-style-description": italic,
|
31
|
+
"type-weight-light": 300,
|
32
|
+
"type-weight-normal": 400,
|
33
|
+
"type-weight-medium": 500,
|
34
|
+
"type-weight-semibold": 600,
|
35
|
+
"type-weight-bold": 700,
|
36
|
+
|
37
|
+
"base-color-scale": (#fff, #eee, #ccc, #9e9e9e, #888, #666, #333, #222, #111, #000, #efece4, #2b2b2b),
|
38
|
+
"color-1": (#26f599, #1be68c, #13cb79, #24ba72),
|
39
|
+
"color-2": (#fdeb46, #f9e52d, #dcc914, #ccb92c),
|
40
|
+
"color-3": (#ff6452, #fb4530, #d34121, #c23d27),
|
41
|
+
"color-4": (#0120f9, #0a21c4, #071ba7, #061b88),
|
42
|
+
"color-5": (#ffbf2b, #ff9a1a, #e77c00, #d07100),
|
43
|
+
"color-6": (#444444, #333333, #222222, #000000),
|
44
|
+
"color-job-fulltime": (#4a78ff, #0a21c4, #071ba7, #061b88),
|
45
|
+
"color-job-freelance": (#ffccc7, #fb4530, #d34121, #c23d27)
|
46
|
+
);
|
47
|
+
|
48
|
+
$english_tea: () !default;
|
49
|
+
|
50
|
+
// Function to fetch a setting, merging user-set variables overtop of defaults
|
51
|
+
@function _fetch-setting($setting) {
|
52
|
+
@return map-get(map-merge($_english_tea-defaults, $english_tea), $setting);
|
53
|
+
}
|
54
|
+
|
55
|
+
|
5
56
|
// ---
|
6
57
|
// BASE VALUES
|
7
58
|
// ---
|
8
59
|
|
9
|
-
$base-font-size:
|
10
|
-
$base-line-height:
|
60
|
+
$base-font-size: _fetch-setting("base-font-size");
|
61
|
+
$base-line-height: _fetch-setting("base-line-height");
|
11
62
|
|
12
|
-
$base-rhythm:
|
63
|
+
$base-rhythm: _fetch-setting("base-rhythm");
|
13
64
|
$base-rhythm-half: $base-rhythm / 2;
|
14
65
|
|
15
|
-
$base-gutter:
|
16
|
-
$base-gutter-large:
|
66
|
+
$base-gutter: _fetch-setting("base-gutter");
|
67
|
+
$base-gutter-large: _fetch-setting("base-gutter-large");
|
17
68
|
|
18
|
-
$max-measure-callout:
|
19
|
-
$max-measure-type:
|
20
|
-
$max-measure-form:
|
21
|
-
$max-width:
|
69
|
+
$max-measure-callout: _fetch-setting("max-measure-callout");
|
70
|
+
$max-measure-type: _fetch-setting("max-measure-type");
|
71
|
+
$max-measure-form: _fetch-setting("max-measure-form");
|
72
|
+
$max-width: _fetch-setting("max-width");
|
22
73
|
|
23
74
|
// ---
|
24
75
|
// BREAKPOINTS, GRID & TILES
|
@@ -26,11 +77,11 @@ $max-width: 1160px;
|
|
26
77
|
|
27
78
|
$breakpoints:
|
28
79
|
(
|
29
|
-
none:
|
30
|
-
bps:
|
31
|
-
bpm:
|
32
|
-
bpl:
|
33
|
-
bpxl:
|
80
|
+
none: _fetch-setting("breakpoint-none"),
|
81
|
+
bps: _fetch-setting("breakpoint-small"),
|
82
|
+
bpm: _fetch-setting("breakpoint-medium"),
|
83
|
+
bpl: _fetch-setting("breakpoint-large"),
|
84
|
+
bpxl: _fetch-setting("breakpoint-xlarge")
|
34
85
|
);
|
35
86
|
|
36
87
|
$grid-scale:
|
@@ -243,25 +294,25 @@ $kerning-scale:
|
|
243
294
|
// TYPOGRAPHIC STYLE
|
244
295
|
// ---
|
245
296
|
|
246
|
-
$type-font-title:
|
247
|
-
$type-font-status:
|
248
|
-
$type-font-body:
|
249
|
-
$type-font-description:
|
250
|
-
$type-font-code:
|
297
|
+
$type-font-title: _fetch-setting("type-font-title");
|
298
|
+
$type-font-status: _fetch-setting("type-font-status");
|
299
|
+
$type-font-body: _fetch-setting("type-font-body");
|
300
|
+
$type-font-description: _fetch-setting("type-font-description");
|
301
|
+
$type-font-code: _fetch-setting("type-font-code");
|
251
302
|
|
252
|
-
$type-style-title:
|
253
|
-
$type-style-body:
|
254
|
-
$type-style-description:
|
303
|
+
$type-style-title: _fetch-setting("type-style-title");
|
304
|
+
$type-style-body: _fetch-setting("type-style-body");
|
305
|
+
$type-style-description: _fetch-setting("type-style-description");
|
255
306
|
|
256
307
|
$type-kerning-title: map-get($kerning-scale, 1);
|
257
308
|
$type-kerning-status: 0; //-0.0125em;
|
258
309
|
$type-kerning-desc: map-get($kerning-scale, 2);
|
259
310
|
|
260
|
-
$type-weight-light:
|
261
|
-
$type-weight-normal:
|
262
|
-
$type-weight-medium:
|
263
|
-
$type-weight-semibold:
|
264
|
-
$type-weight-bold:
|
311
|
+
$type-weight-light: _fetch-setting("type-weight-light");
|
312
|
+
$type-weight-normal: _fetch-setting("type-weight-normal");
|
313
|
+
$type-weight-medium: _fetch-setting("type-weight-medium");
|
314
|
+
$type-weight-semibold: _fetch-setting("type-weight-semibold");
|
315
|
+
$type-weight-bold: _fetch-setting("type-weight-bold");
|
265
316
|
|
266
317
|
// ---
|
267
318
|
// GUTTER SPACES
|
@@ -304,63 +355,63 @@ $gutter-scale:
|
|
304
355
|
|
305
356
|
$colors:
|
306
357
|
(
|
307
|
-
1:
|
308
|
-
2:
|
309
|
-
3:
|
310
|
-
4:
|
311
|
-
5:
|
312
|
-
6:
|
313
|
-
7:
|
314
|
-
8:
|
315
|
-
9:
|
316
|
-
10:
|
317
|
-
11:
|
318
|
-
12:
|
358
|
+
1: nth(_fetch-setting("base-color-scale"), 1),
|
359
|
+
2: nth(_fetch-setting("base-color-scale"), 2),
|
360
|
+
3: nth(_fetch-setting("base-color-scale"), 3),
|
361
|
+
4: nth(_fetch-setting("base-color-scale"), 4),
|
362
|
+
5: nth(_fetch-setting("base-color-scale"), 5),
|
363
|
+
6: nth(_fetch-setting("base-color-scale"), 6),
|
364
|
+
7: nth(_fetch-setting("base-color-scale"), 7),
|
365
|
+
8: nth(_fetch-setting("base-color-scale"), 8),
|
366
|
+
9: nth(_fetch-setting("base-color-scale"), 9),
|
367
|
+
10: nth(_fetch-setting("base-color-scale"), 10),
|
368
|
+
11: nth(_fetch-setting("base-color-scale"), 11),
|
369
|
+
12: nth(_fetch-setting("base-color-scale"), 12)
|
319
370
|
);
|
320
371
|
|
321
372
|
$colors-status:
|
322
373
|
(
|
323
374
|
stat-a: // Available
|
324
375
|
(
|
325
|
-
1:
|
326
|
-
2:
|
327
|
-
3:
|
328
|
-
4:
|
376
|
+
1: nth(_fetch-setting("color-1"), 1),
|
377
|
+
2: nth(_fetch-setting("color-1"), 2),
|
378
|
+
3: nth(_fetch-setting("color-1"), 3),
|
379
|
+
4: nth(_fetch-setting("color-1"), 4)
|
329
380
|
),
|
330
381
|
stat-as: // Available Soon
|
331
382
|
(
|
332
|
-
1:
|
333
|
-
2:
|
334
|
-
3:
|
335
|
-
4:
|
383
|
+
1: nth(_fetch-setting("color-2"), 1),
|
384
|
+
2: nth(_fetch-setting("color-2"), 2),
|
385
|
+
3: nth(_fetch-setting("color-2"), 3),
|
386
|
+
4: nth(_fetch-setting("color-2"), 4)
|
336
387
|
),
|
337
388
|
stat-na: // Not Available
|
338
389
|
(
|
339
|
-
1:
|
340
|
-
2:
|
341
|
-
3:
|
342
|
-
4:
|
390
|
+
1: nth(_fetch-setting("color-3"), 1),
|
391
|
+
2: nth(_fetch-setting("color-3"), 2),
|
392
|
+
3: nth(_fetch-setting("color-3"), 3),
|
393
|
+
4: nth(_fetch-setting("color-3"), 4)
|
343
394
|
),
|
344
395
|
stat-ft: // Fulltime
|
345
396
|
(
|
346
|
-
1:
|
347
|
-
2:
|
348
|
-
3:
|
349
|
-
4:
|
397
|
+
1: nth(_fetch-setting("color-4"), 1),
|
398
|
+
2: nth(_fetch-setting("color-4"), 2),
|
399
|
+
3: nth(_fetch-setting("color-4"), 3),
|
400
|
+
4: nth(_fetch-setting("color-4"), 4)
|
350
401
|
),
|
351
402
|
stat-ooo: // Out of Office
|
352
403
|
(
|
353
|
-
1:
|
354
|
-
2:
|
355
|
-
3:
|
356
|
-
4:
|
404
|
+
1: nth(_fetch-setting("color-5"), 1),
|
405
|
+
2: nth(_fetch-setting("color-5"), 2),
|
406
|
+
3: nth(_fetch-setting("color-5"), 3),
|
407
|
+
4: nth(_fetch-setting("color-5"), 4)
|
357
408
|
),
|
358
409
|
stat-edu: // Student
|
359
410
|
(
|
360
|
-
1:
|
361
|
-
2:
|
362
|
-
3:
|
363
|
-
4:
|
411
|
+
1: nth(_fetch-setting("color-6"), 1),
|
412
|
+
2: nth(_fetch-setting("color-6"), 2),
|
413
|
+
3: nth(_fetch-setting("color-6"), 3),
|
414
|
+
4: nth(_fetch-setting("color-6"), 4)
|
364
415
|
)
|
365
416
|
);
|
366
417
|
|
@@ -379,17 +430,17 @@ $colors-job-types:
|
|
379
430
|
(
|
380
431
|
fulltime:
|
381
432
|
(
|
382
|
-
1:
|
383
|
-
2:
|
384
|
-
3:
|
385
|
-
4:
|
433
|
+
1: nth(_fetch-setting("color-job-fulltime"), 1),
|
434
|
+
2: nth(_fetch-setting("color-job-fulltime"), 2),
|
435
|
+
3: nth(_fetch-setting("color-job-fulltime"), 3),
|
436
|
+
4: nth(_fetch-setting("color-job-fulltime"), 4)
|
386
437
|
),
|
387
438
|
freelance:
|
388
439
|
(
|
389
|
-
1:
|
390
|
-
2:
|
391
|
-
3:
|
392
|
-
4:
|
440
|
+
1: nth(_fetch-setting("color-job-freelance"), 1),
|
441
|
+
2: nth(_fetch-setting("color-job-freelance"), 2),
|
442
|
+
3: nth(_fetch-setting("color-job-freelance"), 3),
|
443
|
+
4: nth(_fetch-setting("color-job-freelance"), 4)
|
393
444
|
)
|
394
445
|
);
|
395
446
|
|
data/lib/english_tea/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: english_tea
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Parr
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-09-
|
12
|
+
date: 2017-09-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|