@rypen-dev/shared-components 5.1.2 → 5.1.3
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.
package/package.json
CHANGED
package/scss/_variables.scss
CHANGED
|
@@ -61,10 +61,13 @@ $headline-accent-color-reversed: $white !default;
|
|
|
61
61
|
|
|
62
62
|
$headline-divider-border-color: $medium-gray !default;
|
|
63
63
|
$headline-divider-bg-color: transparent !default;
|
|
64
|
-
$headline-divider-color: $text-gray !default;
|
|
65
64
|
$headline-divider-reversed-color: $white !default;
|
|
65
|
+
$headline-divider-color: $text-gray !default;
|
|
66
66
|
$headline-divider-padding: 0 !default;
|
|
67
67
|
|
|
68
|
+
$headline-divider-lite-color: $text-gray !default;
|
|
69
|
+
$headline-divider-lite-border-color: $text-gray !default;
|
|
70
|
+
|
|
68
71
|
$headline-small-color: $text-gray !default;
|
|
69
72
|
|
|
70
73
|
$navigation-link-color: $primary !default;
|
|
@@ -171,6 +174,11 @@ $button-font-family: $body-font-family !default;
|
|
|
171
174
|
$button-large-font-family: $headline-font-family !default;
|
|
172
175
|
$button-font-weight: 600 !default;
|
|
173
176
|
$button-large-font-weight: $body-weight-normal !default;
|
|
177
|
+
$button-font-size: 0.75rem !default;
|
|
178
|
+
$button-letter-spacing: 1px !default;
|
|
179
|
+
$button-font-size-medium: 1.0625rem !default;
|
|
180
|
+
$button-letter-spacing-medium: 2px !default;
|
|
181
|
+
$button-small-font-size: 0.8125rem !default;
|
|
174
182
|
|
|
175
183
|
// Measurements
|
|
176
184
|
$form-field-padding: 0.625rem 1rem !default;
|
|
@@ -194,13 +202,12 @@ $button-height: 3.5rem !default;
|
|
|
194
202
|
$button-height-medium: 5rem !default;
|
|
195
203
|
|
|
196
204
|
$button-tiny-height: 2.75rem !default;
|
|
197
|
-
$button-tiny-height-medium: 2.75re !default;
|
|
198
205
|
|
|
199
206
|
$button-small-height: 3.5rem !default;
|
|
200
207
|
$button-small-height-medium: 4rem !default;
|
|
201
208
|
|
|
202
209
|
$button-large-height: 4.5rem !default;
|
|
203
|
-
$button-large-height-medium:
|
|
210
|
+
$button-large-height-medium: 6.875rem !default;
|
|
204
211
|
|
|
205
212
|
// Labels/Badges
|
|
206
213
|
$global-badge-radius: $global-base-radius !default;
|
|
@@ -623,7 +623,7 @@ button,
|
|
|
623
623
|
cursor: pointer;
|
|
624
624
|
color: $primary;
|
|
625
625
|
text-transform: uppercase;
|
|
626
|
-
letter-spacing:
|
|
626
|
+
letter-spacing: $button-letter-spacing;
|
|
627
627
|
transition: box-shadow $button-transition-time ease-out, background-color $button-transition-time ease-out, color $button-transition-time ease-out;
|
|
628
628
|
box-shadow: 0 4px 13px 1px $button-shadow-color;
|
|
629
629
|
font-size: 0.75rem;
|
|
@@ -938,15 +938,15 @@ button,
|
|
|
938
938
|
@media print, screen and (min-width: map-get($breakpoints, medium)) {
|
|
939
939
|
line-height: $button-height-medium;
|
|
940
940
|
margin-bottom: 1rem;
|
|
941
|
-
letter-spacing:
|
|
942
|
-
font-size:
|
|
941
|
+
letter-spacing: $button-letter-spacing-medium;
|
|
942
|
+
font-size: $button-font-size-medium;
|
|
943
943
|
width: 388px;
|
|
944
944
|
box-shadow: 0 12px 22px 0 $button-shadow-color;
|
|
945
945
|
|
|
946
946
|
&.small,
|
|
947
947
|
&.tiny {
|
|
948
948
|
width: 220px;
|
|
949
|
-
font-size:
|
|
949
|
+
font-size: $button-small-font-size;
|
|
950
950
|
line-height: $button-small-height-medium;
|
|
951
951
|
box-shadow: $button-shadow-color 0 7px 12px;
|
|
952
952
|
|
|
@@ -242,8 +242,10 @@ h5 {
|
|
|
242
242
|
|
|
243
243
|
&.lite {
|
|
244
244
|
font-size: 0.875rem;
|
|
245
|
-
padding
|
|
246
|
-
border-bottom: solid 2px $headline-divider-color;
|
|
245
|
+
padding: 0 0 0.25rem;
|
|
246
|
+
border-bottom: solid 2px $headline-divider-lite-border-color;
|
|
247
|
+
color: $headline-divider-lite-color;
|
|
248
|
+
background-color: transparent;
|
|
247
249
|
margin-bottom: 0.25rem;
|
|
248
250
|
}
|
|
249
251
|
|