@rypen-dev/shared-components 5.0.20 → 5.1.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.
package/package.json
CHANGED
package/scss/_variables.scss
CHANGED
|
@@ -50,7 +50,7 @@ $body-bg-color: $white !default;
|
|
|
50
50
|
$body-font-color: $rypen-black !default;
|
|
51
51
|
$headline-font-color: $primary !default;
|
|
52
52
|
$headline-font-color-secondary: $secondary-alt !default;
|
|
53
|
-
$
|
|
53
|
+
$global-form-label-color: $primary !default;
|
|
54
54
|
$link-color: $primary !default;
|
|
55
55
|
$link-color-alt: $secondary-alt !default;
|
|
56
56
|
$price-color: $secondary-alt !default;
|
|
@@ -183,15 +183,18 @@ $grid-cell-padding-medium: 0.9375rem !default;
|
|
|
183
183
|
|
|
184
184
|
$true-max-width: 1920px !default;
|
|
185
185
|
|
|
186
|
-
$dealer-base-radius: 5px !default;
|
|
187
|
-
|
|
188
186
|
$single-space: 20px !default;
|
|
189
187
|
|
|
188
|
+
$global-base-radius: 5px !default;
|
|
189
|
+
|
|
190
190
|
// Buttons
|
|
191
|
-
$
|
|
191
|
+
$global-button-radius: $global-base-radius !default;
|
|
192
192
|
|
|
193
193
|
// Labels/Badges
|
|
194
|
-
$
|
|
194
|
+
$global-badge-radius: $global-base-radius !default;
|
|
195
195
|
|
|
196
196
|
// Forms
|
|
197
|
-
$
|
|
197
|
+
$global-form-input-radius: $global-base-radius !default;
|
|
198
|
+
|
|
199
|
+
// Modals
|
|
200
|
+
$modal-window-radius: $global-base-radius !default;
|
|
@@ -468,7 +468,7 @@ label {
|
|
|
468
468
|
display: block;
|
|
469
469
|
margin-bottom: 0.5rem;
|
|
470
470
|
font-size: 1rem;
|
|
471
|
-
color: $
|
|
471
|
+
color: $gloabl-form-label-color;
|
|
472
472
|
font-family: $headline-font-family;
|
|
473
473
|
letter-spacing: 2px;
|
|
474
474
|
font-weight: $body-weight-normal;
|
|
@@ -2206,7 +2206,7 @@ input:checked ~ .switch-paddle {
|
|
|
2206
2206
|
color: $body-font-color;
|
|
2207
2207
|
background-color: $input-background-color;
|
|
2208
2208
|
border: solid 1px $input-border-color;
|
|
2209
|
-
border-radius: $
|
|
2209
|
+
border-radius: $global-form-input-radius;
|
|
2210
2210
|
line-height: 1.5rem;
|
|
2211
2211
|
height: 44px;
|
|
2212
2212
|
}
|
|
@@ -2219,7 +2219,7 @@ input:checked ~ .switch-paddle {
|
|
|
2219
2219
|
padding: 0 5px 5px;
|
|
2220
2220
|
background-color: $input-background-color;
|
|
2221
2221
|
border: solid 1px $input-border-color;
|
|
2222
|
-
border-radius: 0 0 $
|
|
2222
|
+
border-radius: 0 0 $global-form-input-radius $global-form-input-radius;
|
|
2223
2223
|
border-top: 0;
|
|
2224
2224
|
|
|
2225
2225
|
.input-container.search {
|
|
@@ -2309,7 +2309,7 @@ input:checked ~ .switch-paddle {
|
|
|
2309
2309
|
|
|
2310
2310
|
&.open {
|
|
2311
2311
|
.value {
|
|
2312
|
-
border-radius: $
|
|
2312
|
+
border-radius: $global-form-input-radius $global-form-input-radius 0 0;
|
|
2313
2313
|
border-bottom: 0 !important;
|
|
2314
2314
|
}
|
|
2315
2315
|
|
|
@@ -306,7 +306,7 @@ $button-background: $primary-color;
|
|
|
306
306
|
$button-background-hover: scale-color($button-background, $lightness: -15%);
|
|
307
307
|
$button-color: $white;
|
|
308
308
|
$button-color-alt: $white;
|
|
309
|
-
$button-radius: $
|
|
309
|
+
$button-radius: $global-button-radius;
|
|
310
310
|
$button-hollow-border-width: 1px;
|
|
311
311
|
$button-sizes: (
|
|
312
312
|
"tiny": 0.6rem,
|
|
@@ -447,13 +447,13 @@ $input-prefix-color: $black;
|
|
|
447
447
|
$input-prefix-background: $light-gray;
|
|
448
448
|
$input-prefix-border: 1px solid $medium-gray;
|
|
449
449
|
$input-prefix-padding: 1rem;
|
|
450
|
-
$form-label-color: $
|
|
450
|
+
$form-label-color: $global-form-label-color;
|
|
451
451
|
$form-label-font-size: rem-calc(14);
|
|
452
452
|
$form-label-font-weight: $global-weight-normal;
|
|
453
453
|
$form-label-line-height: 1.8;
|
|
454
454
|
$select-background: $white;
|
|
455
455
|
$select-triangle-color: $dark-gray;
|
|
456
|
-
$select-radius: $global-radius;
|
|
456
|
+
$select-radius: $global-form-input-radius;
|
|
457
457
|
$input-color: $black;
|
|
458
458
|
$input-placeholder-color: $text-gray;
|
|
459
459
|
$input-font-family: inherit;
|
|
@@ -471,8 +471,8 @@ $input-shadow-focus: 0 0 5px $medium-gray;
|
|
|
471
471
|
$input-cursor-disabled: not-allowed;
|
|
472
472
|
$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
|
|
473
473
|
$input-number-spinners: true;
|
|
474
|
-
$input-radius: $global-radius;
|
|
475
|
-
$form-button-radius: $global-radius;
|
|
474
|
+
$input-radius: $global-form-input-radius;
|
|
475
|
+
$form-button-radius: $global-button-radius;
|
|
476
476
|
|
|
477
477
|
// 21. Label
|
|
478
478
|
// ---------
|
|
@@ -483,7 +483,7 @@ $label-color-alt: $white;
|
|
|
483
483
|
$label-palette: $foundation-palette;
|
|
484
484
|
$label-font-size: 0.8rem;
|
|
485
485
|
$label-padding: 0.33333rem 0.5rem;
|
|
486
|
-
$label-radius: $
|
|
486
|
+
$label-radius: $gloabl-badge-radius;
|
|
487
487
|
|
|
488
488
|
// 22. Media Object
|
|
489
489
|
// ----------------
|