@penskemediacorp/larva-scss 1.10.0-alpha.0 → 1.10.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.
Files changed (35) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -5
  3. package/__tests__/a-crop-generator.test.scss +30 -0
  4. package/__tests__/a-grid-generator.test.scss +71 -0
  5. package/__tests__/basic-utility-generator.test.scss +31 -0
  6. package/__tests__/fixture/_settings.scss +1 -0
  7. package/__tests__/functions.test.scss +38 -0
  8. package/__tests__/{tools/mixins.test.scss → mixins.test.scss} +1 -1
  9. package/__tests__/spacing-class-generator.test.scss +48 -0
  10. package/__tests__/text-utility-generators.test.scss +103 -0
  11. package/__tests__/token-utility-generator.test.scss +33 -0
  12. package/dist/_generators.scss +18 -23
  13. package/dist/_tokens.scss +1 -1
  14. package/dist/_tools.scss +1 -2
  15. package/lib/tokens/_colors.scss +2 -28
  16. package/lib/tokens/_shadows.scss +2 -7
  17. package/lib/tokens/_sizing.scss +11 -6
  18. package/lib/tokens/_transition.scss +4 -4
  19. package/lib/tools/_tools.scss +9 -5
  20. package/lib/tools/functions/_pmc-inline-svg.scss +49 -0
  21. package/lib/tools/generators/README.md +8 -15
  22. package/lib/tools/generators/{_crop-class-generator.scss → _a-crop-generator.scss} +2 -2
  23. package/lib/tools/generators/{_grid-class-generator.scss → _a-grid-generator.scss} +12 -11
  24. package/lib/tools/generators/_basic-utility-generator.scss +20 -0
  25. package/lib/tools/generators/{_spacing-class-generator.scss → _spacing-utility-generator.scss} +3 -3
  26. package/lib/tools/generators/{_text-class-generator.scss → _text-utility-generator.scss} +6 -5
  27. package/lib/tools/generators/_token-utility-generator.scss +21 -0
  28. package/lib/tools/mixins/_pmc-breakpoint.scss +4 -0
  29. package/lib/tools/mixins/_pmc-font-family.scss +14 -0
  30. package/package.json +3 -6
  31. package/__tests__/dist.test.scss +0 -50
  32. package/__tests__/tools/functions.test.scss +0 -17
  33. package/__tests__/tools/generators.test.scss +0 -256
  34. package/lib/tools/generators/_color-class-generator.scss +0 -27
  35. package/scripts/larva-scss.js +0 -7
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Penske Media Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,16 +1,18 @@
1
1
  # Larva SCSS
2
2
 
3
+ **Note:** As of 8.7.0-alpha, the recommended approach for class generation is NOT to use these generators, but to directly iterate over a map of tokens add rulesets within that loop.
4
+
3
5
  This repository holds core SCSS tools and tokens for Larva. These include:
4
6
 
5
7
  - Breakpoint mixin
6
- - Tokens (e.g. spacing, color, z-index, and transition values)
7
- - Generators (i.e. mixins that generate classes according to a list of tokens)
8
+ - Variables (e.g. spacing, color, z-index, and transition values)
9
+ - Generators (i.e. mixins that generate classes according to a list of tokens) **NOT RECOMMENDED FOR UTILITIES**
8
10
 
9
11
  This repository provides **Sass files only**. The consuming project is responsible for building the assets.
10
12
 
11
13
  ## Usage
12
14
 
13
- Import a SCSS file for tools or tokens to use them in your project.
15
+ Import a SCSS file for tools or tokens to use them in your project.
14
16
 
15
17
  ### Available Tools
16
18
 
@@ -83,7 +85,7 @@ $grids: (
83
85
  ),
84
86
  );
85
87
 
86
- @include pmc-a-grid( $grids );
88
+ @include a-grid( $grids );
87
89
  ```
88
90
 
89
91
  Utility generators are used the same way, but added inside the utilities directory, instead, and indicate a simple, property: value declaration. To add additional colors to a consuming project, for example, add the following:
@@ -99,5 +101,5 @@ $color_list: (
99
101
  blue-light: $color-blue-80,
100
102
  );
101
103
 
102
- @include pmc-u-background( $color_list );
104
+ @include token-utility-generator( $color_list );
103
105
  ```
@@ -0,0 +1,30 @@
1
+ @import "true";
2
+ @import "../lib/tools/tools";
3
+
4
+ @include test-module('@mixin _a-crop-generator') {
5
+
6
+ $aspect-ratios: (
7
+ '16x9': (16, 9),
8
+ '4x3': (4, 3)
9
+ );
10
+
11
+ @include test('generates non-namespaced crops') {
12
+
13
+ @include assert {
14
+
15
+ @include output {
16
+ @include _a-crop-generator( $aspect-ratios, '' );
17
+ }
18
+
19
+ @include contains {
20
+ .a-crop-16x9 {
21
+ padding-bottom: calc( ( 9 / 16 ) * 100% );
22
+ }
23
+
24
+ .a-crop-4x3 img {
25
+ object-fit: cover;
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,71 @@
1
+ @import "true";
2
+ @import "../lib/tools/tools";
3
+
4
+ @include test-module('@mixin _a-grid-generator') {
5
+
6
+ @include test('generates non-namepsaced grids') {
7
+ @include assert {
8
+
9
+ @include output {
10
+ $grids: (
11
+ (
12
+ columns: 2,
13
+ spans: ( 2, ),
14
+ ),
15
+ (
16
+ columns: 3,
17
+ breakpoint: tablet,
18
+ spans: ( 2, ),
19
+ ),
20
+ );
21
+
22
+ @include _a-grid-generator( $grids, '' );
23
+ }
24
+
25
+ @include expect {
26
+ .a-cols2 {
27
+ --cols: 2;
28
+ }
29
+
30
+ .a-cols2 > * {
31
+ flex-basis: 50%;
32
+ }
33
+
34
+ @supports (display: grid) {
35
+ .a-span2 {
36
+ grid-column: span 2;
37
+ }
38
+ }
39
+
40
+ .a-cols2 > .a-span2 {
41
+ flex-basis: 100%;
42
+ }
43
+
44
+ @media( min-width: 48rem ) {
45
+ .a-cols3\@tablet {
46
+ --cols: 3;
47
+ }
48
+
49
+ .a-cols3\@tablet > * {
50
+ flex-basis: 33.33333%;
51
+ }
52
+ }
53
+
54
+ @media( min-width: 48rem ) {
55
+
56
+ .a-span2\@tablet {
57
+ @supports ( display: grid ) {
58
+ grid-column: span 2;
59
+ }
60
+ }
61
+
62
+ .a-cols3\@tablet > .a-span2\@tablet {
63
+ flex-basis: 66.66667%;
64
+ }
65
+ }
66
+ }
67
+
68
+ }
69
+ }
70
+
71
+ }
@@ -0,0 +1,31 @@
1
+ @import "true";
2
+ @import "../lib/tools/tools";
3
+
4
+ @include test-module('@mixin basic-utility-generator') {
5
+ $map: (
6
+ opacity-1: 1,
7
+ );
8
+
9
+ @include test('generates non-namespaced utility') {
10
+ @include assert {
11
+
12
+ @include output {
13
+
14
+ @include basic-utility-generator(
15
+ 'opacity',
16
+ (
17
+ opacity-1,
18
+ ),
19
+ $map,
20
+ );
21
+ }
22
+
23
+ @include expect {
24
+ .u-opacity-1 {
25
+ opacity: 1;
26
+ }
27
+ }
28
+ }
29
+ }
30
+
31
+ }
@@ -0,0 +1 @@
1
+ // Nothing here.
@@ -0,0 +1,38 @@
1
+ @import "true";
2
+ @import "../lib/tools/tools";
3
+
4
+ // Functions
5
+ @include test-module('Functions') {
6
+
7
+ // Private _strip-unit function.
8
+ @include test('@function _strip-unit') {
9
+ @include assert-equal( _strip-unit(16px), 16 );
10
+ }
11
+
12
+ // pmc-rem function.
13
+ @include test('@function pmc-rem') {
14
+ @include assert-equal( pmc-rem(16), '1rem' );
15
+ }
16
+
17
+ // pmc-rem function.
18
+ @include test('@function pmc-inline-svg') {
19
+
20
+ $arrow: '<svg width="10" height="16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M25.663 90.25l-6.75 6.429c-.226.214-.45.321-.788.321-.337 0-.563-.107-.788-.321-.45-.429-.45-1.072 0-1.5L23.3 89.5l-5.963-5.679c-.45-.428-.45-1.071 0-1.5a1.125 1.125 0 0 1 1.576 0l6.75 6.429c.45.429.45 1.071 0 1.5z" id="a"/></defs><use fill="#FFF" transform="matrix(-1 0 0 1 26.5 -81.5)" xlink:href="#a"/></svg>';
21
+
22
+ @include assert {
23
+
24
+ @include output {
25
+ .a-icon-right-arrow {
26
+ --icon: url( #{pmc-inline-svg( $arrow )} );
27
+ }
28
+ }
29
+
30
+ @include expect {
31
+ .a-icon-right-arrow {
32
+ --icon: url( "data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2710%27%20height%3D%2716%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20xmlns%3Axlink%3D%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%27%3E%3Cdefs%3E%3Cpath%20d%3D%27M25.663%2090.25l-6.75%206.429c-.226.214-.45.321-.788.321-.337%200-.563-.107-.788-.321-.45-.429-.45-1.072%200-1.5L23.3%2089.5l-5.963-5.679c-.45-.428-.45-1.071%200-1.5a1.125%201.125%200%200%201%201.576%200l6.75%206.429c.45.429.45%201.071%200%201.5z%27%20id%3D%27a%27%2F%3E%3C%2Fdefs%3E%3Cuse%20fill%3D%27%23FFF%27%20transform%3D%27matrix%28-1%200%200%201%2026.5%20-81.5%29%27%20xlink%3Ahref%3D%27%23a%27%2F%3E%3C%2Fsvg%3E" );
33
+ }
34
+ }
35
+ }
36
+ }
37
+
38
+ }
@@ -1,5 +1,5 @@
1
1
  @import "true";
2
- @import "../../lib/tools/tools";
2
+ @import "../lib/tools/tools";
3
3
 
4
4
  // Module Group
5
5
  @include test-module('Mixins') {
@@ -0,0 +1,48 @@
1
+ @import "true";
2
+ @import "../lib/tools/tools";
3
+
4
+ @include test-module('@mixin _spacing-class-generator') {
5
+
6
+ $spacer-050: 0.5rem;
7
+ $spacer-1: 1rem;
8
+
9
+ $margins: (
10
+ ('tb', $spacer-050),
11
+ ('a', $spacer-1, desktop)
12
+ );
13
+
14
+ $paddings: (
15
+ ('a', $spacer-1),
16
+ );
17
+
18
+ @include test('generates non-namespaced classes') {
19
+ @include assert {
20
+
21
+ @include output {
22
+ $spacer-050: 0.5rem;
23
+ $spacer-1: 1rem;
24
+
25
+ @include _spacing-class-generator( 'margin', $margins, '' );
26
+ @include _spacing-class-generator( 'padding', $paddings, '' );
27
+ }
28
+
29
+ @include expect {
30
+ .u-margin-tb-050 {
31
+ margin-top: 0.5rem;
32
+ margin-bottom: 0.5rem;
33
+ }
34
+
35
+ @media (min-width: 62.5rem) {
36
+ .u-margin-a-1\@desktop {
37
+ margin: 1rem;
38
+ }
39
+ }
40
+
41
+ .u-padding-a-1 {
42
+ padding: 1rem;
43
+ }
44
+ }
45
+ }
46
+ }
47
+
48
+ }
@@ -0,0 +1,103 @@
1
+ @import "true";
2
+ @import "../lib/tools/tools";
3
+
4
+ @include test-module('@mixin _text-utility-generator') {
5
+
6
+ @include test('generates non-namespaced classes') {
7
+
8
+ @include assert {
9
+
10
+ @include output {
11
+
12
+ $font-size-1: 1rem;
13
+ $font-size-2: 2rem;
14
+
15
+ $font-weights: (
16
+ bold: 600,
17
+ );
18
+
19
+ $line-heights: (
20
+ sm: 1,
21
+ md: 2,
22
+ lg: 3,
23
+ );
24
+
25
+ $font-family-balto: Balto, sans-serif;
26
+
27
+ $font-families: (
28
+ balto: ($font-family-balto, 'web',),
29
+ helvetica: (Helvetica, 'system',),
30
+ );
31
+
32
+
33
+ @include _text-class-generator(
34
+ 'font-size',
35
+ (
36
+ ( $font-size-1, ),
37
+ ( $font-size-2, desktop, )
38
+ ),
39
+ '',
40
+ );
41
+
42
+ @include _text-class-generator(
43
+ 'line-height',
44
+ (
45
+ sm,
46
+ ),
47
+ '',
48
+ $line-heights,
49
+ );
50
+
51
+ @include _text-class-generator(
52
+ 'font-weight',
53
+ (
54
+ bold,
55
+ ),
56
+ '',
57
+ $font-weights,
58
+ );
59
+
60
+ @include _text-class-generator(
61
+ 'font-family',
62
+ (
63
+ balto,
64
+ helvetica
65
+ ),
66
+ '',
67
+ $font-families,
68
+ );
69
+ }
70
+
71
+ @include expect {
72
+ .u-font-size-16 {
73
+ font-size: 1rem;
74
+ }
75
+
76
+ @media( min-width: 62.5rem ) {
77
+ .u-font-size-32\@desktop {
78
+ font-size: 2rem;
79
+ }
80
+ }
81
+
82
+ .u-line-height-sm {
83
+ line-height: 1;
84
+ }
85
+
86
+ .u-font-weight-bold {
87
+ font-weight: 600;
88
+ }
89
+
90
+ .wf-active .u-font-family-balto {
91
+ font-family: Balto, sans-serif;
92
+ }
93
+
94
+ .u-font-family-helvetica {
95
+ font-family: Helvetica;
96
+ }
97
+ }
98
+
99
+ }
100
+ }
101
+
102
+ }
103
+
@@ -0,0 +1,33 @@
1
+ @import "true";
2
+ @import "../lib/tools/tools";
3
+
4
+ @include test-module('@mixin token-utility-generator') {
5
+ $map: (
6
+ background-color-brand-primary: #FF00AA,
7
+ text-color-grey-light: #CCCCCC,
8
+ );
9
+
10
+ @include test('generates background color') {
11
+ @include assert {
12
+
13
+ @include output {
14
+
15
+ @include token-utility-generator(
16
+ 'background-color',
17
+ (
18
+ background-color-brand-primary,
19
+ ),
20
+ $map,
21
+ );
22
+ }
23
+
24
+ @include expect {
25
+ .u-background-color-brand-primary {
26
+ background-color: #FF00AA;
27
+ background-color: var( --background-color-brand-primary, #FF00AA );
28
+ }
29
+ }
30
+ }
31
+ }
32
+
33
+ }
@@ -1,46 +1,41 @@
1
1
  @import '../lib/tools/tools';
2
2
 
3
3
  // -----------
4
- // Algorithms
4
+ // Algorithms
5
5
  // -----------
6
6
 
7
- @mixin pmc-a-grid( $grids ) {
8
- @include _grid-class-generator( $grids );
7
+ @mixin a-grid( $grids, $NAMESPACE: '' ) {
8
+ @include _a-grid-generator( $grids, $NAMESPACE );
9
9
  };
10
10
 
11
- @mixin pmc-a-crop( $aspect-ratios ) {
12
- @include _crop-class-generator( $aspect-ratios );
11
+ @mixin a-crop( $aspect-ratios, $NAMESPACE: '' ) {
12
+ @include _a-crop-generator( $aspect-ratios, $NAMESPACE );
13
13
  }
14
14
 
15
-
16
15
  // -----------
17
- // Utilities
16
+ // Utilities
18
17
  // -----------
19
18
 
20
- @mixin pmc-u-padding( $paddings ) {
21
- @include _spacing-class-generator( 'padding', $paddings );
22
- }
23
-
24
- @mixin pmc-u-margin( $margins ) {
25
- @include _spacing-class-generator( 'margin', $margins );
19
+ @mixin u-padding( $paddings, $NAMESPACE: '' ) {
20
+ @include _spacing-class-generator( 'padding', $paddings, $NAMESPACE );
26
21
  }
27
22
 
28
- @mixin pmc-u-background( $colors, $color_list ) {
29
- @include _color-class-generator( 'background-color', $colors, $color_list );
23
+ @mixin u-margin( $margins, $NAMESPACE: '' ) {
24
+ @include _spacing-class-generator( 'margin', $margins, $NAMESPACE );
30
25
  }
31
26
 
32
- @mixin pmc-u-font-family( $tokens, $available_tokens ) {
33
- @include _text-class-generator('font-family', $tokens, $available_tokens);
27
+ @mixin u-font-family( $tokens, $available_tokens, $NAMESPACE: '' ) {
28
+ @include _text-class-generator('font-family', $tokens, $NAMESPACE, $available_tokens );
34
29
  }
35
30
 
36
- @mixin pmc-u-line-height( $tokens, $available_tokens ) {
37
- @include _text-class-generator('line-height', $tokens, $available_tokens);
31
+ @mixin u-line-height( $tokens, $available_tokens, $NAMESPACE: '' ) {
32
+ @include _text-class-generator('line-height', $tokens, $NAMESPACE, $available_tokens );
38
33
  }
39
34
 
40
- @mixin pmc-u-font-size( $tokens ) {
41
- @include _text-class-generator('font-size', $tokens);
35
+ @mixin u-font-size( $tokens, $NAMESPACE: '' ) {
36
+ @include _text-class-generator( 'font-size', $tokens, $NAMESPACE );
42
37
  }
43
38
 
44
- @mixin pmc-u-font-weight( $tokens, $available_tokens ) {
45
- @include _text-class-generator('font-weight', $tokens, $available_tokens);
39
+ @mixin u-font-weight( $tokens, $available_tokens, $NAMESPACE: '' ) {
40
+ @include _text-class-generator('font-weight', $tokens, $NAMESPACE, $available_tokens );
46
41
  }
package/dist/_tokens.scss CHANGED
@@ -2,5 +2,5 @@
2
2
  @import '../lib/tokens/typography';
3
3
  @import '../lib/tokens/sizing';
4
4
  @import '../lib/tokens/z-index';
5
- // @import '../lib/tokens/shadows';
5
+ @import '../lib/tokens/shadows';
6
6
  @import '../lib/tokens/transition';
package/dist/_tools.scss CHANGED
@@ -1,2 +1 @@
1
- // Mixins & Functions
2
- @import '../lib/tools/tools';
1
+ @import './generators';
@@ -27,7 +27,7 @@ $color-geyser-85: #D3DDE2;
27
27
 
28
28
  // Greys
29
29
  $color-grey-100:#FFFFFF; // white
30
- $color-grey-98: #FAFAFA; // grey-lightest
30
+ $color-grey-98: #F7F7F7; // grey-lightest
31
31
  $color-grey-90: #E6E6E6; // grey-light
32
32
  $color-grey-80: #CCCCCC; // grey-medium-light
33
33
  $color-grey-50: #8C8C8C;
@@ -35,7 +35,7 @@ $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
38
- $color-grey-0: #000000; // white
38
+ $color-grey-0: #000000; // black
39
39
 
40
40
  // Semantic Color Names
41
41
  $color-white: $color-grey-100;
@@ -52,29 +52,3 @@ $color-whatsapp: #23c100;
52
52
  $color-email: $color-grey-20;
53
53
  $color-print: $color-grey-20;
54
54
  $color-comment: $color-grey-20;
55
-
56
- $semantic-color-list: (
57
- white: $color-grey-100,
58
- black: $color-grey-0,
59
- red: $color-red-49,
60
- orange: $color-orange-50,
61
- yellow: $color-yellow-50,
62
- brand-primary: $color-red-31,
63
- blue: $color-blue-50,
64
- blue-medium-light: $color-blue-65,
65
- blue-light: $color-blue-96,
66
- blue-lightest: $color-blue-92,
67
- exclusive: $color-yellow-50,
68
- grey: $color-grey-50,
69
- grey-lightest: $color-grey-98,
70
- grey-light: $color-grey-90,
71
- grey-medium-light: $color-grey-80,
72
- grey-medium: $color-grey-70,
73
- grey-medium-dark: $color-grey-35,
74
- grey-dark: $color-grey-20,
75
- grey-darkest: $color-grey-10,
76
- green: $color-green-28,
77
- green-light: $color-green-93,
78
- geyser: $color-geyser-85,
79
- twitter: $color-twitter,
80
- );
@@ -1,11 +1,6 @@
1
- // Shadows
2
- //
3
- // Style Guide: Settings.Shadows
4
-
5
- // stylelint-disable unit-blacklist
1
+ // stylelint-disable unit-disallowed-list
6
2
  $shadow-light: 0 2px 4px 0 rgba(0,0,0,0.08); // Used on sticky menu.
7
3
  $shadow-medium: 0 -2px 9px 0 rgba(0,0,0,0.1);
8
4
  $shadow-dark: 0 14px 8px -8px rgba(0,0,0,0.18); // Button.
9
5
  $shadow-inset: inset 0 3px 6px 0 rgba(0,0,0,0.5); // Input inset.
10
- $shadow-green: inset 0 5px 0 0 map-get( $semantic-color-list, green ), 0 2px 4px 0 rgba(0,0,0,0.15);
11
- // stylelint-enable unit-blacklist
6
+ // stylelint-enable unit-disallowed-list
@@ -1,6 +1,6 @@
1
1
  // Sizing
2
2
  //
3
- // Deadline Sizing Tokens. These are to be filled in as needed.
3
+ // Sizing Tokens. These are to be filled in as needed.
4
4
  //
5
5
  // Markup: sizing.html
6
6
  //
@@ -14,14 +14,19 @@ $spacer-075: 0.75rem;
14
14
  $spacer-1: 1rem;
15
15
  $spacer-125: 1.25rem;
16
16
  $spacer-150: 1.5rem;
17
+ $spacer-175: 1.75rem;
17
18
  $spacer-1875: 1.875rem;
18
19
  $spacer-2: 2rem;
19
20
  $spacer-250: 2.5rem;
20
21
  $spacer-3: 3rem;
22
+ $spacer-350: 3.5rem;
21
23
  $spacer-4: 4rem;
24
+ $spacer-5: 5rem;
22
25
 
23
- $screen-desktop-xxl: 87.5rem; // 1400
24
- $screen-desktop-xl: 78.75rem; // 1260
25
- $screen-desktop: 62.5rem; // 1000
26
- $screen-tablet: 48rem; // 768
27
- $screen-mobile-max: 47.999rem;
26
+ $screen-desktop-xxl: 87.5rem; // 1400
27
+ $screen-desktop-xl: 78.75rem; // 1260
28
+ $screen-desktop-xl-max: 78.7499rem; // 1260
29
+ $screen-desktop: 62.5rem; // 1000
30
+ $screen-desktop-max: 62.499rem; // 999
31
+ $screen-tablet: 48rem; // 768
32
+ $screen-mobile-max: 47.999rem;
@@ -6,7 +6,7 @@ $ease-out-cubic: cubic-bezier( 0.215, 0.610, 0.355, 1.000 );
6
6
  $ease-in-out-sine: cubic-bezier( 0.445, 0.050, 0.550, 0.950 );
7
7
  $ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
8
8
 
9
- $transition-fade: $transition-duration-300 $ease-in-out-quad;
10
- $transition-transform: $transition-duration-300 $ease-out-cubic;
11
- $transition-button: $transition-duration-300 $ease-out-cubic;
12
- $transition-thumbnail-hover: $transition-duration-300 $ease-out-expo;
9
+ $transition-fade: $transition-duration-300 $ease-in-out-quad;
10
+ $transition-transform: $transition-duration-300 $ease-out-cubic;
11
+ $transition-button: $transition-duration-300 $ease-out-cubic;
12
+ $transition-hover: $transition-duration-300 $ease-out-expo;
@@ -1,13 +1,17 @@
1
1
  // Functions
2
2
  @import './functions/helpers';
3
3
  @import './functions/pmc-rem';
4
+ @import './functions/pmc-inline-svg';
4
5
 
5
6
  // Mixins
6
7
  @import './mixins/pmc-breakpoint';
8
+ @import './mixins/pmc-font-family';
7
9
 
8
10
  // Generators
9
- @import './generators/crop-class-generator';
10
- @import './generators/spacing-class-generator';
11
- @import './generators/text-class-generator';
12
- @import './generators/grid-class-generator';
13
- @import './generators/color-class-generator';
11
+ @import './generators/a-grid-generator';
12
+ @import './generators/a-crop-generator';
13
+ @import './generators/spacing-utility-generator';
14
+ @import './generators/text-utility-generator';
15
+ @import './generators/token-utility-generator';
16
+ @import './generators/basic-utility-generator';
17
+