gent_styleguide 7.0.3 → 7.0.4

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.
@@ -12,6 +12,7 @@ $themes: (
12
12
  'blue': (
13
13
  // Required colors!
14
14
  'color-zero': coloring('gray'),
15
+ 'color-zero-medium': coloring('gray-medium'),
15
16
  'color-zero-light': coloring('gray-light'),
16
17
  'color-zero-ultralight': coloring('gray-ultra-light'),
17
18
  'color-none': coloring('white'),
@@ -25,7 +25,7 @@ $field-icon-padding: 50px;
25
25
  /// @require svg-url
26
26
  ///
27
27
  @mixin field-base {
28
- @include theme("border-color", "color-zero--lighten-2", "fields-border-color");
28
+ @include theme("border-color", "color-zero-medium", "fields-border-color");
29
29
  @include theme("background", "color-none", "fields-background");
30
30
  @include theme("color", "color-zero", "fields-color");
31
31
 
@@ -39,7 +39,7 @@ $field-icon-padding: 50px;
39
39
  &:disabled {
40
40
  padding-right: $field-icon-padding;
41
41
  border: 0;
42
- background: coloring("gray", -5) $field-icon-position;
42
+ background: coloring("gray-light") $field-icon-position;
43
43
  background-image: svg-as-background(
44
44
  "lock-closed",
45
45
  coloring("gray", -2),
@@ -52,7 +52,7 @@ $field-icon-padding: 50px;
52
52
  &.success {
53
53
  padding-right: $field-icon-padding;
54
54
  border: 1px solid coloring("green");
55
- background: coloring("green-pastel", -4) $field-icon-position;
55
+ background: coloring("green-light") $field-icon-position;
56
56
  background-image: svg-as-background(
57
57
  "checkmark-circle",
58
58
  coloring("green"),
@@ -62,7 +62,7 @@ $field-icon-padding: 50px;
62
62
 
63
63
  &:focus {
64
64
  border-color: coloring("green");
65
- background: coloring("green-pastel", -4) $field-icon-position;
65
+ background: coloring("green-light") $field-icon-position;
66
66
  background-image: svg-as-background(
67
67
  "checkmark-circle",
68
68
  coloring("green"),
@@ -75,7 +75,7 @@ $field-icon-padding: 50px;
75
75
  &.error {
76
76
  padding-right: $field-icon-padding;
77
77
  border: 1px solid coloring("red");
78
- background: coloring("red", -6) $field-icon-position;
78
+ background: coloring("red-light") $field-icon-position;
79
79
  background-image: svg-as-background(
80
80
  "exclamation-circle",
81
81
  coloring("red"),
@@ -85,7 +85,7 @@ $field-icon-padding: 50px;
85
85
 
86
86
  &:focus {
87
87
  border-color: coloring("red");
88
- background: coloring("red", -6) $field-icon-position;
88
+ background: coloring("red-light") $field-icon-position;
89
89
  background-image: svg-as-background(
90
90
  "exclamation-circle",
91
91
  coloring("red"),
@@ -188,7 +188,7 @@ $field-icon-padding: 50px;
188
188
  );
189
189
  @include theme(
190
190
  "border-color",
191
- "color-zero--lighten-2",
191
+ "color-zero-medium",
192
192
  "checkbox-border-color"
193
193
  );
194
194
  }
@@ -212,7 +212,7 @@ $field-icon-padding: 50px;
212
212
  );
213
213
  @include theme(
214
214
  "border-color",
215
- "color-zero--lighten-2",
215
+ "color-zero-medium",
216
216
  "radio-border-color"
217
217
  );
218
218
 
@@ -19,7 +19,7 @@
19
19
  };
20
20
 
21
21
  & {
22
- border: 2px solid coloring('red', -2);
22
+ border: 2px solid coloring('red');
23
23
  background-color: coloring('white');
24
24
  color: coloring('red', 1);
25
25
  }
@@ -97,7 +97,7 @@
97
97
  }
98
98
 
99
99
  a {
100
- @include link-background('color-zero', 'color-success-light--darken-1', 'success-message-link-border-color', 'success-message-link-background');
100
+ @include link-background('color-zero', 'color-success-light', 'success-message-link-border-color', 'success-message-link-background');
101
101
  }
102
102
  }
103
103
 
@@ -115,7 +115,7 @@
115
115
  }
116
116
 
117
117
  a {
118
- @include link-background('color-zero', 'color-error-light--darken-1', 'error-message-link-border-color', 'error-message-link-background');
118
+ @include link-background('color-zero', 'color-error-light', 'error-message-link-border-color', 'error-message-link-background');
119
119
  }
120
120
  }
121
121
  }
@@ -55,7 +55,7 @@
55
55
  }
56
56
 
57
57
  a {
58
- @include link-background('color-zero', 'color-success-light--darken-1');
58
+ @include link-background('color-zero', 'color-success-light');
59
59
  }
60
60
  }
61
61
 
@@ -69,7 +69,7 @@
69
69
  }
70
70
 
71
71
  a {
72
- @include link-background('color-zero', 'color-error-light--darken-1');
72
+ @include link-background('color-zero', 'color-error-light');
73
73
  }
74
74
  }
75
75
 
@@ -22,7 +22,7 @@
22
22
  &[download]:not(.button),
23
23
  &[href^="http://"]:not(.button):not([href*="gent.be"]),
24
24
  &[href^="https://"]:not(.button):not([href*="gent.be"]) {
25
- @include theme('background-color', 'color-quaternary--lighten-2', 'button-secondary-background');
25
+ @include theme('background-color', 'color-tertiary-pastel', 'button-secondary-background');
26
26
  @include theme('color', 'color-zero', 'button-secondary-color');
27
27
 
28
28
  & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gent_styleguide",
3
- "version": "7.0.3",
3
+ "version": "7.0.4",
4
4
  "description": "Styleguide Stad.Gent",
5
5
  "devDependencies": {
6
6
  "@babel/core": "^7.20.12",