forever_style_guide 3.6.1 → 3.7.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
  SHA256:
3
- metadata.gz: a4c3229c29775874918febfb2c24c934da4afea0ec23d8a43062dacd72e4ed4d
4
- data.tar.gz: bd9d5c2da9f549083bca7d39953228495a2a40cd941f3db4463277d4d655623c
3
+ metadata.gz: 6b73c8247dd894881f531367da79cf7b2337252c688cc4dcf5ad09f6ad1ffca2
4
+ data.tar.gz: 79f44c749a21319b43bfc02e0f673f44a824d3609721e287d9db144dd4ad6698
5
5
  SHA512:
6
- metadata.gz: 2e1b95d362d407ed55ff8afdfb428f3b21ee99c82636181768532b2e2f353afb0c2fd7c4368cb8ae1991f194faab83cc16eb10e890679efce638e8c71b413d64
7
- data.tar.gz: e2e23c3804c37cbfcf3e4451f8ed036714cd2e1bcf2ee254be3b6fdf3e6c387edcfa17be609867c565839289e02fb36c84c8e7e6ef2261a8fe443c8986d7c1e4
6
+ metadata.gz: dcf1949322cc0e1f84158d1f49ea77a6d43c7a2ee77af76901fef38bd8861e415a3ffb4e8e563703ca016f2f29cda5382bfd7fd117b68e53a3816fe838ff6b7e
7
+ data.tar.gz: 842a2338f74d50ac0ddbe89b8a3e1f1942d9eb1c7f6ddb337a07a375c2154a26878cbc2038000846d240b75a0b5d25462e919d474b95f2763e6fc9afd55ad970
@@ -0,0 +1,90 @@
1
+ /*this is needed to generate fonts for mars without the sprockets font-url crud*/
2
+ @import "forever_style_guide/utils/font-utils";
3
+
4
+ /* =fonts
5
+ ---------------------------------------------------------------------------- */
6
+ @mixin fontFace($family, $src) {
7
+ @font-face {
8
+ font-family: $family;
9
+ src: url('#{$base-font-path}/#{$src}.eot'); // IE9 compat
10
+ src: url('#{$base-font-path}/#{$src}.eot?#iefix') format('embedded-opentype'), // IE8 and below
11
+ url('#{$base-font-path}/#{$src}.woff') format('woff'), // standards
12
+ url('#{$base-font-path}/#{$src}.ttf') format('truetype'), // Safari, Android, iOS
13
+ url('#{$base-font-path}/#{$src}.svg##{$family}') format('svg'); // legacy iOS
14
+ }
15
+ }
16
+
17
+ @include fontFace('proxima_nova-light', 'ProximaNova-Light-webfont');
18
+ @include fontFace('proxima_nova-regular', 'ProximaNova-Reg-webfont');
19
+ @include fontFace('proxima_nova-semibold', 'ProximaNova-Sbold-webfont');
20
+ @include fontFace('proxima_nova-bold', 'ProximaNova-Bold-webfont');
21
+ @include fontFace('proxima_nova-regular_italic', 'ProximaNova-RegIt-webfont');
22
+ @include fontFace('proxima_nova-bold_italic', 'ProximaNova-BoldIt-webfont');
23
+
24
+ /* =font faces
25
+ ---------------------------------------------------------------------------- */
26
+ $font-face-light: faceify('light', ('proxima_nova-light', Helvetica, Arial, sans-serif)) !default;
27
+ $font-face-regular: faceify('regular', ('proxima_nova-regular', Helvetica, Arial, sans-serif)) !default;
28
+ $font-face-semibold: faceify('semibold', ('proxima_nova-semibold', Helvetica, Arial, sans-serif)) !default;
29
+ $font-face-bold: faceify('bold', ('proxima_nova-bold', Helvetica, Arial, sans-serif)) !default;
30
+ $font-face-regular_italic: faceify('italic', ('proxima_nova-regular_italic', Helvetica, Arial, sans-serif)) !default;
31
+ $font-face-bold_italic: faceify('bold_italic', ('proxima_nova-bold_italic', Helvetica, Arial, sans-serif)) !default;
32
+
33
+ $font-face-gotham: faceify('gotham', ('Gotham A', 'Gotham B', Helvetica, Arial, sans-serif)) !default;
34
+
35
+ @each $id, $font-face in $font-faces {
36
+ .font-face-#{$id} {
37
+ font-family: #{$font-face};
38
+ }
39
+ }
40
+
41
+ /* =font sizes
42
+ ---------------------------------------------------------------------------- */
43
+ $font-size-000: fontify('000', 10px) !default;
44
+ $font-size-100: fontify('100', 12px) !default;
45
+ $font-size-200: fontify('200', 14px) !default;
46
+ $font-size-250: fontify('250', 15px) !default;
47
+ $font-size-300: fontify('300', 16px) !default;
48
+ $font-size-400: fontify('400', 18px) !default;
49
+ $font-size-450: fontify('450', 21px) !default;
50
+ $font-size-500: fontify('500', 24px) !default;
51
+ $font-size-600: fontify('600', 36px) !default;
52
+ $font-size-700: fontify('700', 48px) !default;
53
+ $font-size-800: fontify('800', 64px) !default;
54
+
55
+ /* !global to override bootstrap's $font-size-large and $font-size-small */
56
+ $font-size-large: fontify('lg', $font-size-400) !global;
57
+ $font-size-default: fontify('default', $font-size-300) !default;
58
+ $font-size-small: fontify('sm', $font-size-100) !global;
59
+ $font-size-xsmall: fontify('xs', $font-size-000) !default;
60
+
61
+ @each $id, $font-size in $font-sizes {
62
+ .font-size-#{$id} {
63
+ font-size: #{$font-size};
64
+ }
65
+ }
66
+
67
+ /* =font weights
68
+ ---------------------------------------------------------------------------- */
69
+ $font-weight-100: weightify('100', 100) !default;
70
+ $font-weight-200: weightify('200', 200) !default;
71
+ $font-weight-300: weightify('300', 300) !default;
72
+ $font-weight-400: weightify('400', 400) !default;
73
+ $font-weight-500: weightify('500', 500) !default;
74
+ $font-weight-600: weightify('600', 600) !default;
75
+ $font-weight-700: weightify('700', 700) !default;
76
+ $font-weight-800: weightify('800', 800) !default;
77
+ $font-weight-900: weightify('900', 900) !default;
78
+
79
+ $font-weight-normal: weightify('normal', normal) !default;
80
+ $font-weight-bold: weightify('bold', bold) !default;
81
+ $font-weight-bolder: weightify('bolder', bolder) !default;
82
+ $font-weight-lighter: weightify('lighter', lighter) !default;
83
+ $font-weight-initial: weightify('initial', initial) !default;
84
+ $font-weight-inherit: weightify('inherit', inherit) !default;
85
+
86
+ @each $id, $font-weight in $font-weights {
87
+ .font-weight-#{$id} {
88
+ font-weight: #{$font-weight};
89
+ }
90
+ }
@@ -1,27 +1,5 @@
1
1
  @import "colors";
2
- @import "fonts";
3
-
4
- /* OVERRIDE FONT IMPORTS*/
5
- $base-font-path: '' !default;
6
- @mixin fontFace($family, $src) {
7
- @font-face {
8
- font-family: $family;
9
- src: url('#{$base-font-path}/#{$src}.eot'); // IE9 compat
10
- src: url('#{$base-font-path}/#{$src}.eot?#iefix') format('embedded-opentype'), // IE8 and below
11
- url('#{$base-font-path}/#{$src}.woff') format('woff'), // standards
12
- url('#{$base-font-path}/#{$src}.ttf') format('truetype'), // Safari, Android, iOS
13
- url('#{$base-font-path}/#{$src}.svg##{$family}') format('svg'); // legacy iOS
14
- }
15
- }
16
-
17
- @include fontFace('proxima_nova-light', 'ProximaNova-Light-webfont');
18
- @include fontFace('proxima_nova-regular', 'ProximaNova-Reg-webfont');
19
- @include fontFace('proxima_nova-semibold', 'ProximaNova-Sbold-webfont');
20
- @include fontFace('proxima_nova-bold', 'ProximaNova-Bold-webfont');
21
- @include fontFace('proxima_nova-regular_italic', 'ProximaNova-RegIt-webfont');
22
- @include fontFace('proxima_nova-regular_bold_italic', 'ProximaNova-BoldIt-webfont');
23
-
24
-
2
+ @import "fonts-mars";
25
3
  @import "breakpoints";
26
4
  @import "variables";
27
5
  @import "mixins";
@@ -1,3 +1,3 @@
1
1
  module ForeverStyleGuide
2
- VERSION = "3.6.1"
2
+ VERSION = "3.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forever_style_guide
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.1
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas McClay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-30 00:00:00.000000000 Z
11
+ date: 2020-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -226,6 +226,7 @@ files:
226
226
  - app/assets/stylesheets/forever_style_guide/globals/_breakpoints.scss
227
227
  - app/assets/stylesheets/forever_style_guide/globals/_colors.scss
228
228
  - app/assets/stylesheets/forever_style_guide/globals/_effects.scss
229
+ - app/assets/stylesheets/forever_style_guide/globals/_fonts-mars.scss
229
230
  - app/assets/stylesheets/forever_style_guide/globals/_fonts.scss
230
231
  - app/assets/stylesheets/forever_style_guide/globals/_layout.scss
231
232
  - app/assets/stylesheets/forever_style_guide/globals/_mars_manifest.scss