@rypen-dev/shared-components 3.0.1 → 3.0.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
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
$contrast-warnings: false;
|
|
71
71
|
|
|
72
72
|
$global-font-size: 100%;
|
|
73
|
-
$global-width: rem-calc(
|
|
73
|
+
$global-width: rem-calc(1430);
|
|
74
74
|
$global-lineheight: 1.5;
|
|
75
75
|
$foundation-palette: (
|
|
76
76
|
"primary": $primary,
|
|
@@ -94,7 +94,7 @@ $global-padding: 1rem;
|
|
|
94
94
|
$global-position: 1rem;
|
|
95
95
|
$global-weight-normal: normal;
|
|
96
96
|
$global-weight-bold: bold;
|
|
97
|
-
$global-radius:
|
|
97
|
+
$global-radius: 5px;
|
|
98
98
|
$global-menu-padding: 0.7rem 1rem;
|
|
99
99
|
$global-menu-nested-margin: 1rem;
|
|
100
100
|
$global-text-direction: ltr;
|
|
@@ -102,7 +102,7 @@ $global-flexbox: true;
|
|
|
102
102
|
$global-prototype-breakpoints: false;
|
|
103
103
|
$global-button-cursor: auto;
|
|
104
104
|
$global-color-pick-contrast-tolerance: 0;
|
|
105
|
-
$print-transparent-backgrounds:
|
|
105
|
+
$print-transparent-backgrounds: false;
|
|
106
106
|
$print-hrefs: false;
|
|
107
107
|
|
|
108
108
|
@include add-foundation-colors;
|
|
@@ -111,11 +111,11 @@ $print-hrefs: false;
|
|
|
111
111
|
// --------------
|
|
112
112
|
|
|
113
113
|
$breakpoints: (
|
|
114
|
-
"small":
|
|
115
|
-
"medium":
|
|
116
|
-
"large":
|
|
117
|
-
"xlarge":
|
|
118
|
-
"xxlarge":
|
|
114
|
+
"small": $breakpoint-small,
|
|
115
|
+
"medium": $breakpoint-medium,
|
|
116
|
+
"large": $breakpoint-large,
|
|
117
|
+
"xlarge": $breakpoint-xlarge,
|
|
118
|
+
"xxlarge": $breakpoint-xxlarge,
|
|
119
119
|
);
|
|
120
120
|
$breakpoints-hidpi: (
|
|
121
121
|
"hidpi-1": 1,
|
|
@@ -175,10 +175,10 @@ $paragraph-lineheight: 1.6;
|
|
|
175
175
|
$paragraph-margin-bottom: 1rem;
|
|
176
176
|
$paragraph-text-rendering: optimizeLegibility;
|
|
177
177
|
$enable-code-inline: true;
|
|
178
|
-
$anchor-color: $
|
|
179
|
-
$anchor-color-hover: $
|
|
180
|
-
$anchor-text-decoration:
|
|
181
|
-
$anchor-text-decoration-hover:
|
|
178
|
+
$anchor-color: $primary-color;
|
|
179
|
+
$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
|
|
180
|
+
$anchor-text-decoration: none;
|
|
181
|
+
$anchor-text-decoration-hover: none;
|
|
182
182
|
$hr-width: $global-width;
|
|
183
183
|
$hr-border: 1px solid $medium-gray;
|
|
184
184
|
$hr-margin: rem-calc(20) auto;
|
|
@@ -297,17 +297,16 @@ $breadcrumbs-item-separator-color: $medium-gray;
|
|
|
297
297
|
// 11. Button
|
|
298
298
|
// ----------
|
|
299
299
|
|
|
300
|
-
$button-font-family:
|
|
300
|
+
$button-font-family: $button-font-family;
|
|
301
301
|
$button-font-weight: null;
|
|
302
302
|
$button-padding: 0.85em 1em;
|
|
303
303
|
$button-margin: 0 0 $global-margin 0;
|
|
304
304
|
$button-fill: solid;
|
|
305
|
-
$button-background: $
|
|
306
|
-
$button-background-hover: $button-
|
|
305
|
+
$button-background: $primary-color;
|
|
306
|
+
$button-background-hover: scale-color($button-background, $lightness: -15%);
|
|
307
307
|
$button-color: $white;
|
|
308
308
|
$button-color-alt: $white;
|
|
309
|
-
$button-radius: $
|
|
310
|
-
$button-border: 1px solid transparent;
|
|
309
|
+
$button-radius: $dealer-button-radius;
|
|
311
310
|
$button-hollow-border-width: 1px;
|
|
312
311
|
$button-sizes: (
|
|
313
312
|
"tiny": 0.6rem,
|
|
@@ -440,40 +439,40 @@ $fieldset-border: 1px solid $medium-gray;
|
|
|
440
439
|
$fieldset-padding: rem-calc(20);
|
|
441
440
|
$fieldset-margin: rem-calc(18 0);
|
|
442
441
|
$legend-padding: rem-calc(0 3);
|
|
443
|
-
$form-spacing:
|
|
442
|
+
$form-spacing: rem-calc(16);
|
|
444
443
|
$helptext-color: $black;
|
|
445
444
|
$helptext-font-size: rem-calc(13);
|
|
446
445
|
$helptext-font-style: italic;
|
|
447
|
-
$input-prefix-color: $
|
|
448
|
-
$input-prefix-background: $
|
|
449
|
-
$input-prefix-border: 1px solid $
|
|
450
|
-
$input-prefix-padding:
|
|
451
|
-
$form-label-color: $form-label-color;
|
|
452
|
-
$form-label-font-size:
|
|
446
|
+
$input-prefix-color: $black;
|
|
447
|
+
$input-prefix-background: $light-gray;
|
|
448
|
+
$input-prefix-border: 1px solid $medium-gray;
|
|
449
|
+
$input-prefix-padding: 1rem;
|
|
450
|
+
$form-label-color: $dealer-form-label-color;
|
|
451
|
+
$form-label-font-size: rem-calc(14);
|
|
453
452
|
$form-label-font-weight: $global-weight-normal;
|
|
454
453
|
$form-label-line-height: 1.8;
|
|
455
|
-
$select-background: $
|
|
456
|
-
$select-triangle-color: $
|
|
457
|
-
$select-radius: $
|
|
458
|
-
$input-color: $
|
|
459
|
-
$input-placeholder-color: $
|
|
454
|
+
$select-background: $white;
|
|
455
|
+
$select-triangle-color: $dark-gray;
|
|
456
|
+
$select-radius: $global-radius;
|
|
457
|
+
$input-color: $black;
|
|
458
|
+
$input-placeholder-color: $text-gray;
|
|
460
459
|
$input-font-family: inherit;
|
|
461
|
-
$input-font-size:
|
|
460
|
+
$input-font-size: rem-calc(16);
|
|
462
461
|
$input-font-weight: $global-weight-normal;
|
|
463
462
|
$input-line-height: $global-lineheight;
|
|
464
|
-
$input-background: $
|
|
465
|
-
$input-background-focus: $
|
|
466
|
-
$input-background-disabled: $
|
|
467
|
-
$input-border: 1px solid $
|
|
468
|
-
$input-border-focus: 1px solid $
|
|
469
|
-
$input-padding: $form-
|
|
470
|
-
$input-shadow: $
|
|
471
|
-
$input-shadow-focus: $
|
|
463
|
+
$input-background: $white;
|
|
464
|
+
$input-background-focus: $white;
|
|
465
|
+
$input-background-disabled: $light-gray;
|
|
466
|
+
$input-border: 1px solid $medium-gray;
|
|
467
|
+
$input-border-focus: 1px solid $dark-gray;
|
|
468
|
+
$input-padding: $form-spacing * 0.5;
|
|
469
|
+
$input-shadow: inset 0 1px 2px rgba($black, 0.1);
|
|
470
|
+
$input-shadow-focus: 0 0 5px $medium-gray;
|
|
472
471
|
$input-cursor-disabled: not-allowed;
|
|
473
472
|
$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
|
|
474
473
|
$input-number-spinners: true;
|
|
475
|
-
$input-radius: $
|
|
476
|
-
$form-button-radius: $
|
|
474
|
+
$input-radius: $global-radius;
|
|
475
|
+
$form-button-radius: $global-radius;
|
|
477
476
|
|
|
478
477
|
// 21. Label
|
|
479
478
|
// ---------
|
|
@@ -484,7 +483,7 @@ $label-color-alt: $white;
|
|
|
484
483
|
$label-palette: $foundation-palette;
|
|
485
484
|
$label-font-size: 0.8rem;
|
|
486
485
|
$label-padding: 0.33333rem 0.5rem;
|
|
487
|
-
$label-radius: $
|
|
486
|
+
$label-radius: $dealer-badge-radius;
|
|
488
487
|
|
|
489
488
|
// 22. Media Object
|
|
490
489
|
// ----------------
|
|
@@ -757,14 +756,14 @@ $responsive-embed-ratios: (
|
|
|
757
756
|
// 47. Reveal
|
|
758
757
|
// ----------
|
|
759
758
|
|
|
760
|
-
$reveal-background: $
|
|
759
|
+
$reveal-background: $white;
|
|
761
760
|
$reveal-width: 600px;
|
|
762
761
|
$reveal-max-width: $global-width;
|
|
763
762
|
$reveal-padding: $global-padding;
|
|
764
|
-
$reveal-border: 1px solid $
|
|
765
|
-
$reveal-radius: $
|
|
763
|
+
$reveal-border: 1px solid $medium-gray;
|
|
764
|
+
$reveal-radius: $global-radius;
|
|
766
765
|
$reveal-zindex: 1005;
|
|
767
|
-
$reveal-overlay-background: $
|
|
766
|
+
$reveal-overlay-background: rgba($black, 0.45);
|
|
768
767
|
|
|
769
768
|
// 48. Slider
|
|
770
769
|
// ----------
|