@ongov/ontario-design-system-complete-styles 6.0.0-alpha.8 → 6.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.
@@ -36,37 +36,37 @@
36
36
  text-transform: uppercase;
37
37
  }
38
38
 
39
- .ontario-badge--default-light {
39
+ .ontario-badge--light-teal {
40
40
  background-color: colours.$ontario-colour-information-light;
41
41
  color: colours.$ontario-greyscale-70;
42
42
  }
43
43
 
44
- .ontario-badge--default-heavy {
44
+ .ontario-badge--teal {
45
45
  background-color: colours.$ontario-colour-information;
46
46
  color: colours.$ontario-colour-white;
47
47
  }
48
48
 
49
- .ontario-badge--neutral-light {
49
+ .ontario-badge--grey {
50
50
  background-color: colours.$ontario-greyscale-5;
51
51
  color: colours.$ontario-greyscale-70;
52
52
  }
53
53
 
54
- .ontario-badge--neutral-heavy {
54
+ .ontario-badge--black {
55
55
  background-color: colours.$ontario-colour-black;
56
56
  color: colours.$ontario-colour-white;
57
57
  }
58
58
 
59
- .ontario-badge--alert-heavy {
59
+ .ontario-badge--red {
60
60
  background-color: colours.$ontario-colour-alert;
61
61
  color: colours.$ontario-colour-white;
62
62
  }
63
63
 
64
- .ontario-badge--warning-heavy {
64
+ .ontario-badge--yellow {
65
65
  background-color: colours.$ontario-colour-warning;
66
66
  color: colours.$ontario-colour-black;
67
67
  }
68
68
 
69
- .ontario-badge--success-heavy {
69
+ .ontario-badge--green {
70
70
  background-color: colours.$ontario-colour-success;
71
71
  color: colours.$ontario-colour-white;
72
72
  }
@@ -77,7 +77,7 @@
77
77
  border: globalFunctions.px-to-rem(1) solid colours.$ontario-greyscale-70;
78
78
  }
79
79
 
80
- .ontario-badge--grey {
80
+ .ontario-badge--dark-grey {
81
81
  background-color: colours.$ontario-greyscale-20;
82
82
  color: colours.$ontario-colour-black;
83
83
  }
@@ -231,12 +231,15 @@ $ontario-icon-size--social-small: 32px;
231
231
  }
232
232
  }
233
233
 
234
+ // Use CSS variable for optional background override.
235
+ // Default to `none`, since the actual image is set via component logic.
236
+ // Avoid using `url("")`, which triggers build warnings.
234
237
  .ontario-footer--default:before {
235
- background-image: var(--imagePath, url(''));
238
+ background-image: var(--imagePath, none);
236
239
  }
237
240
 
238
241
  .ontario-footer__expanded-top-section:before {
239
- background-image: var(--imagePath, url(''));
242
+ background-image: var(--imagePath, none);
240
243
  }
241
244
 
242
245
  //////////////////////////
@@ -41,12 +41,18 @@ $border-width-2: 2px;
41
41
  position: relative;
42
42
  width: globalVariables.$full-width;
43
43
  z-index: zIndex.$ontario-z-index-above-high;
44
+
45
+ .ontario-header__icon-container {
46
+ display: flex;
47
+ align-items: center;
48
+ width: spacing.$spacing-7;
49
+ height: spacing.$spacing-7;
50
+ }
44
51
  }
45
52
 
46
53
  /* Header Buttons */
47
54
  .ontario-header-button {
48
55
  @extend %ontario-header-button;
49
- border: $border-width-2 solid colours.$ontario-colour-white;
50
56
  padding: spacing.$spacing-2 spacing.$spacing-4;
51
57
 
52
58
  &:hover,
@@ -230,16 +236,6 @@ $border-width-2: 2px;
230
236
  padding-left: spacing.$spacing-2;
231
237
  padding-right: spacing.$spacing-2;
232
238
  }
233
-
234
- svg {
235
- margin-right: $menu-button-icon-margin-right;
236
- }
237
- }
238
-
239
- /* Icon Container */
240
- .ontario-header__icon-container {
241
- display: flex;
242
- align-items: center;
243
239
  }
244
240
 
245
241
  .ontario-application-header__lang-toggle {