@penskemediacorp/larva-scss 1.28.0 → 1.28.1-alpha.141

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.
@@ -1,37 +1,37 @@
1
1
 
2
2
  // Yellow
3
- $color-yellow-50: #FFFB45;
3
+ $color-yellow-50: #fffb45;
4
4
 
5
5
  // Reds
6
- $color-red-92: #F5DFDD;
7
- $color-red-67: #D77979;
8
- $color-red-49: #CF3535;
6
+ $color-red-92: #f5dfdd;
7
+ $color-red-67: #d77979;
8
+ $color-red-49: #cf3535;
9
9
  $color-red-31: #920200;
10
10
  $color-red-18: #550100;
11
11
 
12
12
  // Orange
13
- $color-orange-50: #FF7500;
13
+ $color-orange-50: #ff7500;
14
14
 
15
15
  // Greens
16
- $color-green-28: #388C3C;
17
- $color-green-93: #E8F5E9;
16
+ $color-green-28: #388c3c;
17
+ $color-green-93: #e8f5e9;
18
18
 
19
19
  // Blues
20
- $color-blue-96: #F1F8FC;
21
- $color-blue-92: #E0EDF5;
22
- $color-blue-50: #4E8BD4;
23
- $color-blue-65: #5BC1F0;
20
+ $color-blue-96: #f1f8fc;
21
+ $color-blue-92: #e0edf5;
22
+ $color-blue-50: #4e8bd4;
23
+ $color-blue-65: #5bc1f0;
24
24
 
25
25
  // Geyser
26
- $color-geyser-85: #D3DDE2;
26
+ $color-geyser-85: #d3dde2;
27
27
 
28
28
  // Greys
29
- $color-grey-100:#FFFFFF; // white
30
- $color-grey-98: #F7F7F7; // grey-lightest
31
- $color-grey-90: #E6E6E6; // grey-light
32
- $color-grey-80: #CCCCCC; // grey-medium-light
33
- $color-grey-50: #8C8C8C;
34
- $color-grey-70: #6A6A6A; // grey-medium
29
+ $color-grey-100:#ffffff; // white
30
+ $color-grey-98: #f7f7f7; // grey-lightest
31
+ $color-grey-90: #e6e6e6; // grey-light
32
+ $color-grey-80: #cccccc; // grey-medium-light
33
+ $color-grey-50: #8c8c8c;
34
+ $color-grey-70: #6a6a6a; // grey-medium
35
35
  $color-grey-35: #595959; // grey-medium-dark
36
36
  $color-grey-20: #323232; // grey-dark
37
37
  $color-grey-10: #191919; // grey-darkest
@@ -42,13 +42,14 @@ $color-white: $color-grey-100;
42
42
  $color-black: $color-grey-0;
43
43
 
44
44
  // Social Colors
45
- $color-facebook: #4670D2;
46
- $color-twitter: #81BBFF;
47
- $color-tumblr: #1A416E;
48
- $color-pinterest: #CF3535;
45
+ $color-facebook: #4670d2;
46
+ $color-twitter: #81bbff;
47
+ $color-tumblr: #1a416e;
48
+ $color-pinterest: #cf3535;
49
49
  $color-reddit: #ff4500;
50
50
  $color-linkedin: #0077b5;
51
51
  $color-whatsapp: #23c100;
52
+ $color-flipboard: #f52828;
52
53
  $color-email: $color-grey-20;
53
54
  $color-print: $color-grey-20;
54
55
  $color-comment: $color-grey-20;
@@ -25,6 +25,10 @@
25
25
  // Multiply by 100 to turn values less than 1 (e.g. 0.25)
26
26
  // into non-decimals with a leading zero (e.g. 025).
27
27
  $value: '0' + $value * 100;
28
+ } @else if (round($value) != $value) {
29
+ // If value is not a whole number (e.g. 1.5), multiply
30
+ // by 100 to make it so (e.g. 150).
31
+ $value: $value * 100;
28
32
  }
29
33
 
30
34
  @if (length($token) == 3) {
@@ -38,9 +38,9 @@
38
38
 
39
39
  @if (length($token) == 2) {
40
40
  $at: \@;
41
- $selector: ".#{$NAMESPACE}u-#{$property}-#{_strip-unit($value) * 16}#{$at}#{$breakpoint}";
41
+ $selector: ".#{$NAMESPACE}u-#{$property}-#{round(_strip-unit($value) * 16)}#{$at}#{$breakpoint}";
42
42
  } @else {
43
- $selector: ".#{$NAMESPACE}u-#{$property}-#{_strip-unit($value) * 16}";
43
+ $selector: ".#{$NAMESPACE}u-#{$property}-#{round(_strip-unit($value) * 16)}";
44
44
  }
45
45
 
46
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@penskemediacorp/larva-scss",
3
- "version": "1.28.0",
3
+ "version": "1.28.1-alpha.141+22ee9bc5",
4
4
  "description": "Larva SCSS authoring tools.",
5
5
  "author": "laras126 <laras126@gmail.com>",
6
6
  "homepage": "https://github.com/penske-media-corp/pmc-larva#readme",
@@ -20,8 +20,8 @@
20
20
  "url": "https://github.com/penske-media-corp/pmc-larva/issues"
21
21
  },
22
22
  "devDependencies": {
23
- "sass-true": "^5.0.0",
24
- "stylelint": "^13.6.1"
23
+ "sass-true": "^5",
24
+ "stylelint": "^13"
25
25
  },
26
- "gitHead": "36e335324c72395c8ef8f1d98b204d19b53a23e2"
26
+ "gitHead": "22ee9bc5c5a423890ac6029ff1cd8da825f83fd9"
27
27
  }