@financial-times/n-conversion-forms 41.3.1 → 42.0.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 (113) hide show
  1. package/.storybook/preview-body.html +3 -0
  2. package/.storybook/preview.js +2 -2
  3. package/.toolkitstate/ci.json +3 -3
  4. package/.toolkitstate/install.json +1 -1
  5. package/components/__snapshots__/accept-terms.spec.js.snap +107 -150
  6. package/components/__snapshots__/b2c-partnership-confirmation.spec.js.snap +36 -72
  7. package/components/__snapshots__/confirmation.spec.js.snap +71 -127
  8. package/components/__snapshots__/continue-reading.spec.js.snap +3 -3
  9. package/components/__snapshots__/customer-care.spec.js.snap +16 -24
  10. package/components/__snapshots__/debug.spec.js.snap +13 -7
  11. package/components/__snapshots__/deferred-billing-terms.spec.js.snap +12 -18
  12. package/components/__snapshots__/error-page.spec.js.snap +12 -18
  13. package/components/__snapshots__/fieldset.spec.js.snap +1 -1
  14. package/components/__snapshots__/ft-edit-registration-confirmation.spec.js.snap +5 -5
  15. package/components/__snapshots__/graduation-date.spec.js.snap +4 -6
  16. package/components/__snapshots__/industry.spec.js.snap +8 -706
  17. package/components/__snapshots__/licence-confirmation.spec.js.snap +17 -28
  18. package/components/__snapshots__/licence-header.spec.js.snap +1 -1
  19. package/components/__snapshots__/licence-sign-in.spec.js.snap +1 -1
  20. package/components/__snapshots__/loader.spec.js.snap +1 -1
  21. package/components/__snapshots__/package-change.spec.js.snap +16 -11
  22. package/components/__snapshots__/payment-term.spec.js.snap +40 -60
  23. package/components/__snapshots__/position.spec.js.snap +8 -262
  24. package/components/__snapshots__/registration-confirmation.spec.js.snap +9 -7
  25. package/components/__snapshots__/responsibility.spec.js.snap +8 -442
  26. package/components/__snapshots__/submit.spec.js.snap +6 -6
  27. package/components/accept-terms-business.jsx +2 -3
  28. package/components/accept-terms-business.spec.jsx +3 -1
  29. package/components/accept-terms-privacy-policy.jsx +2 -5
  30. package/components/accept-terms-privacy-policy.spec.js +1 -1
  31. package/components/accept-terms-subscription.jsx +7 -12
  32. package/components/accept-terms-subscription.spec.js +1 -1
  33. package/components/accept-terms.jsx +12 -20
  34. package/components/b2c-partnership-confirmation.jsx +3 -5
  35. package/components/confirmation.jsx +5 -9
  36. package/components/confirmation.stories.js +4 -6
  37. package/components/continue-reading.jsx +1 -1
  38. package/components/customer-care.jsx +4 -4
  39. package/components/debug.jsx +12 -12
  40. package/components/deferred-billing-terms.jsx +3 -6
  41. package/components/error-page.jsx +4 -4
  42. package/components/fieldset.jsx +1 -1
  43. package/components/ft-edit-registration-confirmation.jsx +2 -2
  44. package/components/graduation-date.jsx +2 -4
  45. package/components/index.js +0 -1
  46. package/components/industry.jsx +1 -3
  47. package/components/industry.spec.js +7 -2
  48. package/components/licence-confirmation.jsx +2 -3
  49. package/components/licence-confirmation.stories.js +1 -1
  50. package/components/licence-sign-in.jsx +1 -1
  51. package/components/loader.jsx +4 -1
  52. package/components/package-change.jsx +4 -5
  53. package/components/payment-term.jsx +3 -5
  54. package/components/position.jsx +1 -2
  55. package/components/position.spec.js +7 -2
  56. package/components/proceed-with-payment-link.jsx +8 -2
  57. package/components/proceed-with-payment-link.stories.js +1 -1
  58. package/components/registration-confirmation.jsx +5 -3
  59. package/components/responsibility.jsx +1 -2
  60. package/components/responsibility.spec.js +7 -2
  61. package/components/submit.jsx +1 -1
  62. package/components/subscription-confirmation-with-payment-link.jsx +1 -1
  63. package/dist/accept-terms-business.jsx +2 -3
  64. package/dist/accept-terms-business.spec.jsx +1 -1
  65. package/dist/accept-terms-privacy-policy.jsx +2 -5
  66. package/dist/accept-terms-subscription.jsx +7 -12
  67. package/dist/accept-terms.jsx +10 -20
  68. package/dist/b2c-partnership-confirmation.jsx +5 -7
  69. package/dist/confirmation.jsx +4 -7
  70. package/dist/continue-reading.jsx +1 -1
  71. package/dist/customer-care.jsx +3 -4
  72. package/dist/debug.jsx +6 -6
  73. package/dist/deferred-billing-terms.jsx +3 -6
  74. package/dist/error-page.jsx +3 -4
  75. package/dist/fieldset.jsx +1 -1
  76. package/dist/ft-edit-registration-confirmation.jsx +2 -2
  77. package/dist/graduation-date.jsx +6 -4
  78. package/dist/index.js +0 -7
  79. package/dist/industry.jsx +1 -3
  80. package/dist/licence-confirmation.jsx +3 -4
  81. package/dist/licence-sign-in.jsx +1 -1
  82. package/dist/loader.jsx +1 -1
  83. package/dist/package-change.jsx +5 -4
  84. package/dist/payment-term.jsx +6 -4
  85. package/dist/position.jsx +1 -2
  86. package/dist/proceed-with-payment-link.jsx +2 -2
  87. package/dist/registration-confirmation.jsx +7 -5
  88. package/dist/responsibility.jsx +1 -2
  89. package/dist/submit.jsx +1 -1
  90. package/dist/subscription-confirmation-with-payment-link.jsx +1 -1
  91. package/main.scss +132 -167
  92. package/package.json +3 -6
  93. package/styles/_shared.scss +125 -100
  94. package/styles/accept-terms.scss +6 -5
  95. package/styles/banner.scss +66 -60
  96. package/styles/confirmation.scss +50 -55
  97. package/styles/continue-reading.scss +56 -39
  98. package/styles/error.scss +1 -1
  99. package/styles/forms-additional-field-information.scss +8 -4
  100. package/styles/ft-edit-registration-confirmation.scss +228 -224
  101. package/styles/loader.scss +40 -45
  102. package/styles/package-change.scss +1 -4
  103. package/styles/payment-term.scss +108 -89
  104. package/styles/payment-type.scss +117 -112
  105. package/styles/proceed-with-payment-link.scss +32 -18
  106. package/styles/subscription-confirmation-with-payment-link.scss +64 -24
  107. package/components/__snapshots__/google-sign-in.spec.js.snap +0 -13
  108. package/components/google-sign-in.jsx +0 -21
  109. package/components/google-sign-in.spec.js +0 -14
  110. package/components/google-sign-in.stories.js +0 -13
  111. package/dist/google-sign-in.jsx +0 -24
  112. package/helpers/demographics.js +0 -606
  113. package/styles/google-sign-in.scss +0 -26
@@ -1,101 +1,126 @@
1
1
  @mixin bigRadioButton($className) {
2
- // Overrides o-forms styling for round radio buttons
3
- .o-forms-input--radio-round {
4
- .o-forms-input__label {
5
- box-sizing: border-box;
6
- padding: 14px 20px;
7
- min-height: 110px;
8
- border: 2px solid oColorsByName('teal');
9
- text-align: left;
10
- width: 100%;
11
- position: relative;
12
-
13
- // radio button styling
14
- &::before {
15
- border: 1px solid oColorsByName('teal');
16
- left: auto;
17
- top: 43px;
18
- right: 14px;
19
- }
20
-
21
- &::after {
22
- left: auto;
23
- top: 43px;
24
- right: 14px;
25
- }
26
- }
27
- .ncf__delivery-option__label {
28
- background-color: oColorsByName('white');
29
- color: oColorsByName('black-80');;
30
- }
31
- .no-title__delivery-option__box {
32
- min-height: 80px;
33
- }
34
- .o-forms-input__address-type__label {
35
- padding: 2px 2px 2px 35px;
36
- min-height: 0;
37
- border: 0;
38
-
39
- // radio button styling
40
- &::before {
41
- border: 1px solid oColorsByName('black-80');
42
- left: 0;
43
- top: 0;
44
- }
45
-
46
- &::after {
47
- left: 0;
48
- top: 0;
49
- }
50
- }
51
- }
52
-
53
- // Overrides o-forms styling for round radio buttons in the checked state.
54
- /* stylelint-disable */
55
- /* prettier-ignore */
56
- .o-forms-input--radio-round input[type=radio]:checked {
57
- + .o-forms-input__label {
58
- background-color: oColorsByName('teal');
59
- color: oColorsByName('white');
60
-
61
- // radio button styling
62
- &::before {
63
- border: 1px solid oColorsByName('white');
64
- }
65
-
66
- &::after {
67
- background-color: oColorsByName('white');
68
- }
69
- }
70
- +.o-forms-input__address-type__label {
71
- background-color: oColorsByName('white');
72
- color: oColorsByName('black-80');
73
- // radio button styling
74
- &::before {
75
- border: 1px solid oColorsByName('teal');
76
- left: 0;
77
- top: 0;
78
- }
79
-
80
- &::after {
81
- background-color: oColorsByName('teal');
82
- left: 0;
83
- top: 0;
84
- }
85
- }
86
- }
87
- /* stylelint-enable */
88
-
89
- #{$className}__item--discount {
90
- margin-top: 26px;
91
- }
92
-
93
- #{$className}__title {
94
- font-weight: oFontsWeight('semibold');
95
- @include oTypographySans($scale: 2);
96
- }
97
-
98
- #{$className}__description {
99
- padding-top: 14px;
100
- }
101
- }
2
+
3
+ // Overrides o-forms styling for round radio buttons
4
+ .o-forms-input--radio-round {
5
+ .o-forms-input__label {
6
+ box-sizing: border-box;
7
+ padding: 14px 20px;
8
+ min-height: 110px;
9
+ border: 2px solid var(--o3-color-palette-teal);
10
+ text-align: left;
11
+ width: 100%;
12
+ position: relative;
13
+
14
+ // radio button styling
15
+ &::before {
16
+ border: 1px solid var(--o3-color-palette-teal);
17
+ left: auto;
18
+ top: 43px;
19
+ right: 14px;
20
+ }
21
+
22
+ &::after {
23
+ left: auto;
24
+ top: 43px;
25
+ right: 14px;
26
+ }
27
+ }
28
+
29
+ .ncf__delivery-option__label {
30
+ background-color: var(--o3-color-palette-white);
31
+ color: var(--o3-color-use-case-body-text);
32
+ }
33
+
34
+ .no-title__delivery-option__box {
35
+ min-height: 80px;
36
+ }
37
+
38
+ .o-forms-input__address-type__label {
39
+ padding: 2px 2px 2px 35px;
40
+ min-height: 0;
41
+ border: 0;
42
+
43
+ // radio button styling
44
+ &::before {
45
+ border: 1px solid var(--o3-color-use-case-body-text);
46
+ left: 0;
47
+ top: 0;
48
+ }
49
+
50
+ &::after {
51
+ left: 0;
52
+ top: 0;
53
+ }
54
+ }
55
+ }
56
+
57
+ // Overrides o-forms styling for round radio buttons in the checked state.
58
+ /* stylelint-disable */
59
+ /* prettier-ignore */
60
+ .o-forms-input--radio-round input[type=radio]:checked {
61
+ +.o-forms-input__label {
62
+ background-color: var(--o3-color-palette-teal);
63
+ color: var(--o3-color-palette-white);
64
+
65
+ // radio button styling
66
+ &::before {
67
+ border: 1px solid var(--o3-color-palette-white);
68
+ }
69
+
70
+ &::after {
71
+ background-color: var(--o3-color-palette-white);
72
+ }
73
+ }
74
+
75
+ +.o-forms-input__address-type__label {
76
+ background-color: var(--o3-color-palette-white);
77
+ color: var(--o3-color-use-case-body-text);
78
+
79
+ // radio button styling
80
+ &::before {
81
+ border: 1px solid var(--o3-color-palette-teal);
82
+ left: 0;
83
+ top: 0;
84
+ }
85
+
86
+ &::after {
87
+ background-color: var(--o3-color-palette-teal);
88
+ left: 0;
89
+ top: 0;
90
+ }
91
+ }
92
+ }
93
+
94
+ /* stylelint-enable */
95
+
96
+ .ncf__payment-term__item--discount {
97
+ margin-top: 26px;
98
+ }
99
+
100
+ .ncf__payment-term__title {
101
+ font-size: var(--o3-font-size-metric2-2);
102
+ line-height: var(--o3-font-lineheight-metric2-2);
103
+ font-weight: var(--o3-font-weight-semibold);
104
+
105
+ }
106
+
107
+ .ncf__payment-term__description {
108
+ padding-top: 14px;
109
+ }
110
+
111
+
112
+ .ncf__delivery-option__item--discount {
113
+ margin-top: 26px;
114
+ }
115
+
116
+ .ncf__delivery-option__title {
117
+ font-size: var(--o3-font-size-metric2-2);
118
+ line-height: var(--o3-font-lineheight-metric2-2);
119
+ font-weight: var(--o3-font-weight-semibold);
120
+
121
+ }
122
+
123
+ .ncf__delivery-option__description {
124
+ padding-top: 14px;
125
+ }
126
+ }
@@ -2,10 +2,11 @@
2
2
  // Overwrite the native Origami styles to create a list which is more visually consistent with the previous T&Cs paragraphs.
3
3
  &__accept-terms-list {
4
4
  list-style-type: none;
5
- margin: 0 0 oSpacingByName('s3') 0;
5
+ padding-left: 0;
6
+ margin: 0 0 var(--o3-spacing-3xs) 0;
6
7
 
7
8
  & > li {
8
- margin-bottom: oSpacingByName('s2');
9
+ margin-bottom: var(--o3-spacing-4xs);
9
10
  padding-left: 0;
10
11
  }
11
12
  }
@@ -26,11 +27,11 @@
26
27
  .consent-text {
27
28
  &--top {
28
29
  order: -1;
29
- margin-bottom: oSpacingByName('s4');
30
+ margin-bottom: var(--o3-spacing-2xs);
30
31
  }
31
32
 
32
33
  &--bottom {
33
- margin-top: oSpacingByName('s4');
34
+ margin-top: var(--o3-spacing-2xs);
34
35
  order: 99;
35
36
  }
36
37
  }
@@ -38,6 +39,6 @@
38
39
  .children-container {
39
40
  display: flex;
40
41
  flex-direction: column;
41
- margin-top: oSpacingByName('s4');
42
+ margin-top: var(--o3-spacing-2xs);
42
43
  }
43
44
  }
@@ -1,73 +1,79 @@
1
1
  @mixin ncfBanner() {
2
- &__trial-banner {
3
- @include oTypographySerif($scale: 0);
4
- background-color: #262a33;
5
- color: white;
6
- text-align: center;
7
- line-height: 40px;
2
+ &__trial-banner {
3
+ font-family: var(--o3-type-body-base-font-family);
4
+ font-size: var(--o3-type-body-base-font-size);
5
+ font-weight: var(--o3-type-body-base-font-weight);
6
+ line-height: var(--o3-type-body-base-line-height);
8
7
 
9
- &-img {
10
- vertical-align: middle;
11
- margin: 0 0 0 30px;
8
+ background-color: #262a33;
9
+ color: white;
10
+ text-align: center;
11
+ line-height: 40px;
12
12
 
13
- @include oGridRespondTo($until: S) {
14
- display: none;
15
- }
16
- }
13
+ &-img {
14
+ vertical-align: middle;
15
+ margin: 0 0 0 30px;
17
16
 
18
- &-content {
19
- margin: 0;
20
- }
21
- }
17
+ @include oGridRespondTo($until: S) {
18
+ display: none;
19
+ }
20
+ }
22
21
 
23
- &__app-banner {
24
- background: oColorsByName('wheat');
25
- border-top: 1px solid oColorsByName('black-10');
26
- border-bottom: 1px solid oColorsByName('black-10');
22
+ &-content {
23
+ margin: 0;
24
+ }
25
+ }
27
26
 
28
- &-inner {
29
- display: grid;
30
- grid-template-columns: 100px 1fr;
31
- grid-template-rows: 1fr 1fr;
32
- column-gap: 14px;
33
- overflow: hidden;
34
- max-width: 700px;
35
- align-items: center;
36
- margin: 0 auto;
37
- padding: 10px;
27
+ &__app-banner {
28
+ background: var(--o3-color-palette-wheat);
29
+ border-top: 1px solid var(--o3-color-palette-black-10);
30
+ border-bottom: 1px solid var(--o3-color-palette-black-10);
38
31
 
39
- @include oGridRespondTo($from: M) {
40
- grid-template-columns: 100px 1fr 240px;
41
- grid-template-rows: 140px;
42
- }
43
- }
32
+ &-inner {
33
+ display: grid;
34
+ grid-template-columns: 100px 1fr;
35
+ grid-template-rows: 1fr 1fr;
36
+ column-gap: 14px;
37
+ overflow: hidden;
38
+ max-width: 700px;
39
+ align-items: center;
40
+ margin: 0 auto;
41
+ padding: 10px;
44
42
 
45
- &-image {
46
- img {
47
- width: 100px;
48
- }
43
+ @include oGridRespondTo($from: M) {
44
+ grid-template-columns: 100px 1fr 240px;
45
+ grid-template-rows: 140px;
46
+ }
47
+ }
49
48
 
50
- @include oGridRespondTo($until: M) {
51
- grid-row: span 2;
52
- }
53
- }
49
+ &-image {
50
+ img {
51
+ width: 100px;
52
+ }
54
53
 
55
- &-strong {
56
- font-weight: oFontsWeight('semibold');
57
- }
54
+ @include oGridRespondTo($until: M) {
55
+ grid-row: span 2;
56
+ }
57
+ }
58
58
 
59
- &-header {
60
- @include oTypographySerif($scale: 0, $include-font-family: false);
61
- font-weight: oFontsWeight('semibold');
62
- margin: 0 0 4px;
63
- }
59
+ &-strong {
60
+ font-weight: var(--o3-font-weight-semibold);
61
+ }
64
62
 
65
- &-action {
66
- display: inline-block;
63
+ &-header {
64
+ font-family: var(--o3-type-body-highlight-font-family);
65
+ font-size: var(--o3-type-body-highlight-font-size);
66
+ font-weight: var(--o3-type-body-highlight-font-weight);
67
+ line-height: var(--o3-type-body-highlight-line-height);
68
+ margin: 0 0 4px;
69
+ }
67
70
 
68
- a {
69
- border: 0;
70
- }
71
- }
72
- }
73
- }
71
+ &-action {
72
+ display: inline-block;
73
+
74
+ a {
75
+ border: 0;
76
+ }
77
+ }
78
+ }
79
+ }
@@ -1,3 +1,4 @@
1
+ @import '@financial-times/o3-foundation/css/core.css';
1
2
  @import '@financial-times/o-social-follow/main';
2
3
  @import '@financial-times/o-grid/main';
3
4
 
@@ -35,17 +36,17 @@
35
36
  display: flex;
36
37
  flex-direction: column;
37
38
  align-items: flex-start;
38
- gap: oSpacingByName('s2');
39
- padding: oSpacingByName('s6') oSpacingByName('s4');
40
- padding-left: calc(oSpacingByName('m12') + oSpacingByName('s1'));
41
- background-color: oColorsByName('slate');
42
- color: oColorsByName('white');
43
- margin: oSpacingByName('s8') calc((oSpacingByName('m12') + oSpacingByName('s1')));
39
+ gap: var(--o3-spacing-4xs);
40
+ padding: var(--o3-spacing-s) var(--o3-spacing-2xs);
41
+ padding-left: calc(var(--o3-spacing-xl) + var(--o3-spacing-5xs));
42
+ background-color: var(--o3-color-use-case-page-inverse-background);
43
+ color: var(--o3-color-use-case-body-inverse-text);
44
+ margin: var(--o3-spacing-m) 52px; // Using hardcoded values to allow it align with icon since icon size has changed to 24px and using --o3-spacing-xl breaks the design
44
45
 
45
46
  @include oGridRespondTo($until: M) {
46
47
  align-items: stretch;
47
- padding: oSpacingByName('s4');
48
- margin: oSpacingByName('s8') 0px;
48
+ padding: var(--o3-spacing-2xs);
49
+ margin: var(--o3-spacing-m) 0px;
49
50
  }
50
51
 
51
52
  &-header {
@@ -53,56 +54,47 @@
53
54
  }
54
55
 
55
56
  &-title {
56
- text-indent: calc(-1 * (oSpacingByName('m12') + oSpacingByName('s1')));
57
+ text-indent: calc(-1 * (var(--o3-spacing-xl) + var(--o3-spacing-5xs)));
57
58
  margin: 0px;
58
59
 
59
- @include oTypographySans(
60
- $scale: 1,
61
- $weight: 'semibold',
62
- $include-font-family: false
63
- );
60
+
64
61
 
65
62
  @include oGridRespondTo($until: M) {
66
63
  display: flex;
67
64
  align-items: center;
68
65
  text-indent: 0px;
69
-
70
- @include oTypographySans(
71
- $scale: 0,
72
- $weight: 'semibold',
73
- $include-font-family: false
74
- );
75
66
  }
76
67
 
77
68
  &::before {
78
- @include oIconsContent(
79
- $icon-name: 'info',
80
- $color: oColorsByName('white'),
81
- $size: 32
82
- );
69
+ display: inline-block;
70
+ width: 26px;
71
+ height: 26px;
72
+ margin: 6px;
73
+ /* Set the icon colour, In this case match the
74
+ current foreground text colour. */
75
+ background-color: var(--o3-color-palette-white);
76
+ /* Mask the square with an Origami icon. */
77
+ mask-image: var(--o3-icon-info);
78
+ mask-repeat: no-repeat;
79
+ mask-size: contain;
83
80
  content: '';
84
- color: oColorsByName('white');
85
81
  vertical-align: middle;
86
- margin-right: oSpacingByName('s2');
87
- margin-left: oSpacingByName('s3');
82
+ margin-right: 10px;
83
+ margin-left: var(--o3-spacing-3xs);
88
84
 
89
85
  @include oGridRespondTo($until: M) {
90
86
  flex-shrink: 0;
91
- margin: 0px;
87
+ margin: 0 var(--o3-spacing-5xs) 0 0;
92
88
  }
93
89
  }
94
90
  }
95
91
 
96
92
  &-text {
97
- @include oTypographySans(
98
- $scale: -1,
99
- $weight: 'regular',
100
- $include-font-family: false
101
- );
102
- margin: oSpacingByName('s2') 0px 0px;
93
+
94
+ margin: var(--o3-spacing-4xs) 0px 0px;
103
95
 
104
96
  &--bold {
105
- font-weight: oFontsWeight('semibold');
97
+ font-weight: var(--o3-font-weight-semibold);
106
98
  }
107
99
  }
108
100
 
@@ -112,26 +104,29 @@
112
104
  padding: 0px;
113
105
  margin: 0px;
114
106
 
115
- @include oTypographySans(
116
- $scale: -1,
117
- $weight: 'regular',
118
- $include-font-family: false
119
- );
107
+
120
108
 
121
109
  &-item {
122
- margin: oSpacingByName('s1') 0px;
123
- border-bottom: 1px solid oColorsMix('white-80', 'slate', 20);
110
+ margin: var(--o3-spacing-5xs) 0px;
111
+ border-bottom: 1px solid #858b95; // Fallback for browsers that don’t support color-mix()
112
+ border-bottom: 1px solid color-mix(in srgb, var(--o3-color-palette-white-80) 20%, var(--o3-color-palette-slate));
124
113
 
125
114
  &:last-child {
126
115
  border-bottom: none;
127
116
  }
128
117
 
129
118
  &::before {
130
- @include oIconsContent(
131
- $icon-name: 'tick',
132
- $color: oColorsByName('mint'),
133
- $size: 32
134
- );
119
+ display: inline-block;
120
+ width: 26px;
121
+ height: 26px;
122
+ margin: 0 6px;
123
+ /* Set the icon colour, In this case match the
124
+ current foreground text colour. */
125
+ background-color: var(--o3-color-palette-mint);
126
+ /* Mask the square with an Origami icon. */
127
+ mask-image: var(--o3-icon-tick);
128
+ mask-repeat: no-repeat;
129
+ mask-size: contain;
135
130
  content: '';
136
131
  vertical-align: middle;
137
132
  }
@@ -142,19 +137,19 @@
142
137
  &--links {
143
138
  display: grid;
144
139
  grid-template-rows: 1fr 1fr;
145
- gap: oSpacingByName('s4');
146
- margin-top: oSpacingByName('s6');
140
+ gap: var(--o3-spacing-2xs);
141
+ margin-top: var(--o3-spacing-s);
147
142
 
148
143
  @include oGridRespondTo(M) {
149
144
  grid-template-rows: unset;
150
145
  grid-template-columns: 1fr 1fr;
151
- gap: oSpacingByName('s8');
146
+ gap: var(--o3-spacing-m);
152
147
  }
153
148
  }
154
149
 
155
150
  &--socials {
156
151
  @include oGridRespondTo(M) {
157
- padding: oSpacingByName('s6') oSpacingByName('s4');
152
+ padding: var(--o3-spacing-s) var(--o3-spacing-2xs);
158
153
  }
159
154
  }
160
155
 
@@ -162,7 +157,7 @@
162
157
  @include oGridRespondTo($until: M) {
163
158
  display: grid;
164
159
  grid-template-columns: 1fr 1fr;
165
- gap: oSpacingByName('s6');
160
+ gap: var(--o3-spacing-s);
166
161
  margin: auto;
167
162
  max-width: 256px;
168
163
  }
@@ -180,10 +175,10 @@
180
175
  display: flex;
181
176
  flex-direction: column;
182
177
  padding: 24px 20px;
183
- background-color: oColorsByName('white-60');
178
+ background-color: var(--o3-color-palette-white-60);
184
179
 
185
180
  a {
186
- color: oColorsByName('black-90');
181
+ color: var(--o3-color-palette-black-90);
187
182
  border-color: currentColor;
188
183
  position: sticky;
189
184
  top: 100vh;