uswds-jekyll 5.0.1 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +52 -93
  3. data/_includes/components/banner.html +11 -9
  4. data/_sass/uswds/components/_header.scss +1 -1
  5. data/_sass/uswds/components/_nav-buttons.scss +4 -4
  6. data/_sass/uswds/src/components/_alerts.scss +8 -9
  7. data/_sass/uswds/src/components/_banner.scss +102 -31
  8. data/_sass/uswds/src/components/_breadcrumb.scss +168 -0
  9. data/_sass/uswds/src/components/_footer.scss +14 -4
  10. data/_sass/uswds/src/components/_header.scss +1 -1
  11. data/_sass/uswds/src/components/_identifier.scss +146 -0
  12. data/_sass/uswds/src/components/_media-block.scss +6 -1
  13. data/_sass/uswds/src/components/_megamenu.scss +4 -1
  14. data/_sass/uswds/src/components/_section.scss +6 -2
  15. data/_sass/uswds/src/components/_skipnav.scss +2 -2
  16. data/_sass/uswds/src/components/_step-indicator.scss +444 -0
  17. data/_sass/uswds/src/components/_tooltip.scss +114 -0
  18. data/_sass/uswds/src/core/_functions.scss +631 -0
  19. data/_sass/uswds/src/core/_notifications.scss +14 -0
  20. data/_sass/uswds/src/core/_properties.scss +120 -108
  21. data/_sass/uswds/src/core/_system-tokens.scss +140 -155
  22. data/_sass/uswds/src/core/_variables.scss +134 -32
  23. data/_sass/uswds/src/core/mixins/_add-link-styles.scss +20 -0
  24. data/_sass/uswds/src/core/mixins/_all.scss +4 -0
  25. data/_sass/uswds/src/core/mixins/_font-face.scss +1 -1
  26. data/_sass/uswds/src/core/mixins/_icon.scss +119 -0
  27. data/_sass/uswds/src/core/mixins/_media-block-img.scss +1 -1
  28. data/_sass/uswds/src/core/mixins/_set-link-from-bg.scss +30 -0
  29. data/_sass/uswds/src/core/mixins/_set-text-from-bg.scss +28 -0
  30. data/_sass/uswds/src/core/mixins/utilities/_align-self.scss +11 -0
  31. data/_sass/uswds/src/core/mixins/utilities/_border.scss +1 -1
  32. data/_sass/uswds/src/core/mixins/utilities/_flex.scss +6 -1
  33. data/_sass/uswds/src/core/mixins/utilities/_text.scss +6 -1
  34. data/_sass/uswds/src/core/placeholders/_list.scss +5 -0
  35. data/_sass/uswds/src/core/system-tokens/_blue-cool.scss +3 -3
  36. data/_sass/uswds/src/core/system-tokens/_blue-warm.scss +3 -3
  37. data/_sass/uswds/src/core/system-tokens/_blue.scss +3 -3
  38. data/_sass/uswds/src/core/system-tokens/_cyan.scss +3 -3
  39. data/_sass/uswds/src/core/system-tokens/_gold.scss +3 -3
  40. data/_sass/uswds/src/core/system-tokens/_gray-cool.scss +2 -2
  41. data/_sass/uswds/src/core/system-tokens/_gray-warm.scss +2 -2
  42. data/_sass/uswds/src/core/system-tokens/_gray.scss +2 -2
  43. data/_sass/uswds/src/core/system-tokens/_green-cool.scss +3 -3
  44. data/_sass/uswds/src/core/system-tokens/_green-warm.scss +3 -3
  45. data/_sass/uswds/src/core/system-tokens/_green.scss +3 -3
  46. data/_sass/uswds/src/core/system-tokens/_indigo-cool.scss +6 -6
  47. data/_sass/uswds/src/core/system-tokens/_indigo-warm.scss +3 -3
  48. data/_sass/uswds/src/core/system-tokens/_indigo.scss +3 -3
  49. data/_sass/uswds/src/core/system-tokens/_magenta.scss +3 -3
  50. data/_sass/uswds/src/core/system-tokens/_mint-cool.scss +3 -3
  51. data/_sass/uswds/src/core/system-tokens/_mint.scss +3 -3
  52. data/_sass/uswds/src/core/system-tokens/_orange-warm.scss +3 -3
  53. data/_sass/uswds/src/core/system-tokens/_orange.scss +3 -3
  54. data/_sass/uswds/src/core/system-tokens/_red-cool.scss +3 -3
  55. data/_sass/uswds/src/core/system-tokens/_red-warm.scss +3 -3
  56. data/_sass/uswds/src/core/system-tokens/_red.scss +3 -3
  57. data/_sass/uswds/src/core/system-tokens/_violet-warm.scss +3 -3
  58. data/_sass/uswds/src/core/system-tokens/_violet.scss +3 -3
  59. data/_sass/uswds/src/core/system-tokens/_yellow.scss +3 -3
  60. data/_sass/uswds/src/elements/_buttons.scss +31 -24
  61. data/_sass/uswds/src/elements/form-controls/_all.scss +2 -0
  62. data/_sass/uswds/src/elements/form-controls/_checkbox-and-radio.scss +4 -2
  63. data/_sass/uswds/src/elements/form-controls/_combo-box.scss +80 -9
  64. data/_sass/uswds/src/elements/form-controls/_date-picker.scss +325 -0
  65. data/_sass/uswds/src/elements/form-controls/_file-input.scss +195 -0
  66. data/_sass/uswds/src/elements/form-controls/_global.scss +10 -3
  67. data/_sass/uswds/src/elements/form-controls/_time-picker.scss +3 -0
  68. data/_sass/uswds/src/packages/_usa-breadcrumb.scss +4 -0
  69. data/_sass/uswds/src/packages/_usa-identifier.scss +1 -0
  70. data/_sass/uswds/src/packages/_usa-step-indicator.scss +2 -0
  71. data/_sass/uswds/src/packages/_usa-tooltip.scss +2 -0
  72. data/_sass/uswds/src/packages/_uswds-components.scss +4 -0
  73. data/_sass/uswds/src/settings/_settings-color.scss +6 -1
  74. data/_sass/uswds/src/settings/_settings-components.scss +45 -1
  75. data/_sass/uswds/src/settings/_settings-general.scss +4 -4
  76. data/_sass/uswds/src/settings/_settings-typography.scss +5 -5
  77. data/_sass/uswds/src/settings/_settings-utilities.scss +89 -75
  78. data/_sass/uswds/src/theme/_uswds-theme-color.scss +4 -1
  79. data/_sass/uswds/src/theme/_uswds-theme-components.scss +45 -1
  80. data/_sass/uswds/src/theme/_uswds-theme-general.scss +4 -4
  81. data/_sass/uswds/src/theme/_uswds-theme-typography.scss +5 -5
  82. data/_sass/uswds/src/theme/_uswds-theme-utilities.scss +90 -77
  83. data/_sass/uswds/src/theme/styles.scss +5 -1
  84. data/_sass/uswds/src/utilities/palettes/_default-palettes.scss +2 -1
  85. data/_sass/uswds/src/utilities/palettes/_font-palettes.scss +478 -478
  86. data/_sass/uswds/src/utilities/palettes/_spacing-palettes.scss +7 -7
  87. data/_sass/uswds/src/utilities/palettes/colors/_all-colors-palettes.scss +2 -2
  88. data/_sass/uswds/src/utilities/palettes/colors/_black-transparent-palettes.scss +2 -2
  89. data/_sass/uswds/src/utilities/palettes/colors/_blue-cool-palettes.scss +7 -7
  90. data/_sass/uswds/src/utilities/palettes/colors/_blue-palettes.scss +7 -7
  91. data/_sass/uswds/src/utilities/palettes/colors/_blue-warm-palettes.scss +7 -7
  92. data/_sass/uswds/src/utilities/palettes/colors/_cyan-palettes.scss +7 -7
  93. data/_sass/uswds/src/utilities/palettes/colors/_gold-palettes.scss +7 -7
  94. data/_sass/uswds/src/utilities/palettes/colors/_gray-cool-palettes.scss +5 -5
  95. data/_sass/uswds/src/utilities/palettes/colors/_gray-palettes.scss +5 -5
  96. data/_sass/uswds/src/utilities/palettes/colors/_gray-warm-palettes.scss +5 -5
  97. data/_sass/uswds/src/utilities/palettes/colors/_green-cool-palettes.scss +7 -7
  98. data/_sass/uswds/src/utilities/palettes/colors/_green-palettes.scss +7 -7
  99. data/_sass/uswds/src/utilities/palettes/colors/_green-warm-palettes.scss +7 -7
  100. data/_sass/uswds/src/utilities/palettes/colors/_indigo-cool-palettes.scss +7 -7
  101. data/_sass/uswds/src/utilities/palettes/colors/_indigo-palettes.scss +7 -7
  102. data/_sass/uswds/src/utilities/palettes/colors/_indigo-warm-palettes.scss +7 -7
  103. data/_sass/uswds/src/utilities/palettes/colors/_magenta-palettes.scss +7 -7
  104. data/_sass/uswds/src/utilities/palettes/colors/_mint-cool-palettes.scss +7 -7
  105. data/_sass/uswds/src/utilities/palettes/colors/_mint-palettes.scss +7 -7
  106. data/_sass/uswds/src/utilities/palettes/colors/_orange-palettes.scss +7 -7
  107. data/_sass/uswds/src/utilities/palettes/colors/_orange-warm-palettes.scss +7 -7
  108. data/_sass/uswds/src/utilities/palettes/colors/_red-cool-palettes.scss +7 -7
  109. data/_sass/uswds/src/utilities/palettes/colors/_red-palettes.scss +7 -7
  110. data/_sass/uswds/src/utilities/palettes/colors/_red-warm-palettes.scss +7 -7
  111. data/_sass/uswds/src/utilities/palettes/colors/_violet-palettes.scss +7 -7
  112. data/_sass/uswds/src/utilities/palettes/colors/_violet-warm-palettes.scss +7 -7
  113. data/_sass/uswds/src/utilities/palettes/colors/_white-transparent-palettes.scss +2 -2
  114. data/_sass/uswds/src/utilities/palettes/colors/_yellow-palettes.scss +7 -7
  115. data/_sass/uswds/src/utilities/rules/_all.scss +1 -0
  116. data/_sass/uswds/src/utilities/rules/_package.scss +1 -0
  117. data/_sass/uswds/src/utilities/rules/add-aspect.scss +13 -13
  118. data/_sass/uswds/src/utilities/rules/add-list-reset.scss +5 -5
  119. data/_sass/uswds/src/utilities/rules/align-items.scss +2 -2
  120. data/_sass/uswds/src/utilities/rules/align-self.scss +27 -0
  121. data/_sass/uswds/src/utilities/rules/background-color.scss +2 -2
  122. data/_sass/uswds/src/utilities/rules/border-color.scss +2 -2
  123. data/_sass/uswds/src/utilities/rules/border-radius.scss +7 -7
  124. data/_sass/uswds/src/utilities/rules/border-style.scss +2 -2
  125. data/_sass/uswds/src/utilities/rules/border-width.scss +5 -5
  126. data/_sass/uswds/src/utilities/rules/border.scss +5 -5
  127. data/_sass/uswds/src/utilities/rules/bottom.scss +2 -2
  128. data/_sass/uswds/src/utilities/rules/box-shadow.scss +2 -2
  129. data/_sass/uswds/src/utilities/rules/circle.scss +4 -4
  130. data/_sass/uswds/src/utilities/rules/clearfix.scss +5 -5
  131. data/_sass/uswds/src/utilities/rules/color.scss +2 -2
  132. data/_sass/uswds/src/utilities/rules/cursor.scss +2 -2
  133. data/_sass/uswds/src/utilities/rules/display.scss +2 -2
  134. data/_sass/uswds/src/utilities/rules/flex-direction.scss +2 -2
  135. data/_sass/uswds/src/utilities/rules/flex-wrap.scss +2 -2
  136. data/_sass/uswds/src/utilities/rules/flex.scss +2 -2
  137. data/_sass/uswds/src/utilities/rules/float.scss +2 -2
  138. data/_sass/uswds/src/utilities/rules/font-family.scss +2 -2
  139. data/_sass/uswds/src/utilities/rules/font-feature.scss +2 -2
  140. data/_sass/uswds/src/utilities/rules/font-style.scss +2 -2
  141. data/_sass/uswds/src/utilities/rules/font-weight.scss +2 -2
  142. data/_sass/uswds/src/utilities/rules/font.scss +2 -2
  143. data/_sass/uswds/src/utilities/rules/height.scss +2 -2
  144. data/_sass/uswds/src/utilities/rules/justify-content.scss +2 -2
  145. data/_sass/uswds/src/utilities/rules/left.scss +2 -2
  146. data/_sass/uswds/src/utilities/rules/letter-spacing.scss +2 -2
  147. data/_sass/uswds/src/utilities/rules/line-height.scss +2 -2
  148. data/_sass/uswds/src/utilities/rules/margin.scss +9 -9
  149. data/_sass/uswds/src/utilities/rules/max-height.scss +2 -2
  150. data/_sass/uswds/src/utilities/rules/max-width.scss +2 -2
  151. data/_sass/uswds/src/utilities/rules/measure.scss +2 -2
  152. data/_sass/uswds/src/utilities/rules/min-height.scss +2 -2
  153. data/_sass/uswds/src/utilities/rules/min-width.scss +2 -2
  154. data/_sass/uswds/src/utilities/rules/opacity.scss +3 -5
  155. data/_sass/uswds/src/utilities/rules/order.scss +2 -2
  156. data/_sass/uswds/src/utilities/rules/outline-color.scss +2 -2
  157. data/_sass/uswds/src/utilities/rules/outline.scss +2 -2
  158. data/_sass/uswds/src/utilities/rules/overflow.scss +3 -3
  159. data/_sass/uswds/src/utilities/rules/padding.scss +5 -5
  160. data/_sass/uswds/src/utilities/rules/pin.scss +19 -19
  161. data/_sass/uswds/src/utilities/rules/position.scss +2 -2
  162. data/_sass/uswds/src/utilities/rules/right.scss +2 -2
  163. data/_sass/uswds/src/utilities/rules/square.scss +4 -4
  164. data/_sass/uswds/src/utilities/rules/text-align.scss +2 -2
  165. data/_sass/uswds/src/utilities/rules/text-decoration-color.scss +2 -2
  166. data/_sass/uswds/src/utilities/rules/text-decoration.scss +2 -2
  167. data/_sass/uswds/src/utilities/rules/text-indent.scss +2 -2
  168. data/_sass/uswds/src/utilities/rules/text-transform.scss +2 -2
  169. data/_sass/uswds/src/utilities/rules/top.scss +2 -2
  170. data/_sass/uswds/src/utilities/rules/vertical-align.scss +2 -2
  171. data/_sass/uswds/src/utilities/rules/whitespace.scss +2 -2
  172. data/_sass/uswds/src/utilities/rules/width.scss +2 -2
  173. data/_sass/uswds/src/utilities/rules/z-index.scss +2 -2
  174. data/assets/uswds/img/angle-arrow-down-gray-90.svg +1 -0
  175. data/assets/uswds/img/angle-arrow-right-white.svg +1 -0
  176. data/assets/uswds/img/angle-arrow-right.svg +1 -0
  177. data/assets/uswds/img/angle-double-left-solid.svg +1 -0
  178. data/assets/uswds/img/angle-double-right-solid.svg +1 -0
  179. data/assets/uswds/img/angle-left-solid.svg +1 -0
  180. data/assets/uswds/img/angle-right-solid.svg +1 -0
  181. data/assets/uswds/img/arrow-down-gray-60.svg +1 -0
  182. data/assets/uswds/img/arrow-left-indigo-cool-50v.svg +1 -0
  183. data/assets/uswds/img/arrow-left-white.svg +1 -0
  184. data/assets/uswds/img/arrow-left.svg +1 -0
  185. data/assets/uswds/img/calendar-alt-solid.svg +1 -0
  186. data/assets/uswds/img/chevron-right-white.svg +1 -0
  187. data/assets/uswds/img/chevron-right.svg +1 -0
  188. data/assets/uswds/img/chevron-white.svg +1 -0
  189. data/assets/uswds/img/chevron.svg +1 -0
  190. data/assets/uswds/img/circle-gray-20.svg +1 -0
  191. data/assets/uswds/img/close-alt-blue-60v.svg +3 -0
  192. data/assets/uswds/img/close-alt.svg +3 -0
  193. data/assets/uswds/img/close-gray-60.svg +1 -0
  194. data/assets/uswds/img/file-excel.svg +1 -0
  195. data/assets/uswds/img/file-pdf.svg +1 -0
  196. data/assets/uswds/img/file-video.svg +1 -0
  197. data/assets/uswds/img/file-word.svg +1 -0
  198. data/assets/uswds/img/file.svg +1 -0
  199. data/assets/uswds/img/loader.gif +0 -0
  200. data/assets/uswds/img/loader.svg +1 -0
  201. data/assets/uswds/img/lock.svg +1 -0
  202. data/assets/uswds/js/uswds.js +3570 -216
  203. data/assets/uswds/js/uswds.min.js +1 -1
  204. data/assets/uswds/js/uswds.min.js.map +1 -1
  205. metadata +59 -2
@@ -32,104 +32,67 @@ $neg-prefix: "neg";
32
32
  $system-spacing: (
33
33
  smaller: (
34
34
  "1px": 1px,
35
- "2px": 2px
35
+ "2px": 2px,
36
36
  ),
37
37
  small: (
38
38
  "05": spacing-multiple(0.5),
39
- // 4px
40
- 1: spacing-multiple(1),
41
- // 8px
42
- "105": spacing-multiple(1.5),
43
- // 12px
44
- 2: spacing-multiple(2),
45
- // 16px
46
- "205": spacing-multiple(2.5),
47
- // 20px
48
- 3: spacing-multiple(3),
49
- // 24px
39
+ 1: spacing-multiple(1),
40
+ "105": spacing-multiple(1.5),
41
+ 2: spacing-multiple(2),
42
+ "205": spacing-multiple(2.5),
43
+ 3: spacing-multiple(3),
50
44
  ),
51
45
  smaller-negative: (
52
46
  "#{$neg-prefix}-1px": -1px,
53
- "#{$neg-prefix}-2px": -2px
47
+ "#{$neg-prefix}-2px": -2px,
54
48
  ),
55
49
  small-negative: (
56
50
  "#{$neg-prefix}-05": spacing-multiple(-0.5),
57
- // -4px
58
- "#{$neg-prefix}-1": spacing-multiple(-1),
59
- // -8px
60
- "#{$neg-prefix}-105": spacing-multiple(-1.5),
61
- // -12px
62
- "#{$neg-prefix}-2": spacing-multiple(-2),
63
- // -16px
64
- "#{$neg-prefix}-205": spacing-multiple(-2.5),
65
- // -20px
66
- "#{$neg-prefix}-3": spacing-multiple(-3),
67
- // -24px
51
+ "#{$neg-prefix}-1": spacing-multiple(-1),
52
+ "#{$neg-prefix}-105": spacing-multiple(-1.5),
53
+ "#{$neg-prefix}-2": spacing-multiple(-2),
54
+ "#{$neg-prefix}-205": spacing-multiple(-2.5),
55
+ "#{$neg-prefix}-3": spacing-multiple(-3),
68
56
  ),
69
57
  medium: (
70
58
  4: spacing-multiple(4),
71
- // 32px
72
- 5: spacing-multiple(5),
73
- // 40px
74
- 6: spacing-multiple(6),
75
- // 48px
76
- 7: spacing-multiple(7),
77
- // 56px
78
- 8: spacing-multiple(8),
79
- // 64px
80
- 9: spacing-multiple(9),
81
- // 72px
82
- 10: spacing-multiple(10),
83
- // 80px
84
- 15: spacing-multiple(15),
85
- // 120px
59
+ 5: spacing-multiple(5),
60
+ 6: spacing-multiple(6),
61
+ 7: spacing-multiple(7),
62
+ 8: spacing-multiple(8),
63
+ 9: spacing-multiple(9),
64
+ 10: spacing-multiple(10),
65
+ 15: spacing-multiple(15),
86
66
  ),
87
67
  medium-negative: (
88
68
  "#{$neg-prefix}-4": spacing-multiple(-4),
89
- // -32px
90
- "#{$neg-prefix}-5": spacing-multiple(-5),
91
- // -40px
92
- "#{$neg-prefix}-6": spacing-multiple(-6),
93
- // -48px
94
- "#{$neg-prefix}-7": spacing-multiple(-7),
95
- // -56px
96
- "#{$neg-prefix}-8": spacing-multiple(-8),
97
- // -64px
98
- "#{$neg-prefix}-9": spacing-multiple(-9),
99
- // -72px
100
- "#{$neg-prefix}-10": spacing-multiple(-10),
101
- // -80px
102
- "#{$neg-prefix}-15": spacing-multiple(-15),
103
- // -120px
69
+ "#{$neg-prefix}-5": spacing-multiple(-5),
70
+ "#{$neg-prefix}-6": spacing-multiple(-6),
71
+ "#{$neg-prefix}-7": spacing-multiple(-7),
72
+ "#{$neg-prefix}-8": spacing-multiple(-8),
73
+ "#{$neg-prefix}-9": spacing-multiple(-9),
74
+ "#{$neg-prefix}-10": spacing-multiple(-10),
75
+ "#{$neg-prefix}-15": spacing-multiple(-15),
104
76
  ),
105
77
  large: (
106
78
  "card": spacing-multiple(20),
107
- // 160px
108
- "card-lg": spacing-multiple(30),
109
- // 240px
110
- "mobile": spacing-multiple(40),
111
- // 320px
79
+ "card-lg": spacing-multiple(30),
80
+ "mobile": spacing-multiple(40),
112
81
  ),
113
82
  larger: (
114
83
  "mobile-lg": spacing-multiple(60),
115
- // 480px
116
- "tablet": spacing-multiple(80),
117
- // 640px
118
- "tablet-lg": spacing-multiple(110),
119
- // 880px
84
+ "tablet": spacing-multiple(80),
85
+ "tablet-lg": spacing-multiple(110),
120
86
  ),
121
87
  largest: (
122
88
  "desktop": spacing-multiple(128),
123
- // 1024px
124
- "desktop-lg": spacing-multiple(150),
125
- // 1200px
126
- "widescreen": spacing-multiple(175),
127
- // 1400px
89
+ "desktop-lg": spacing-multiple(150),
90
+ "widescreen": spacing-multiple(175),
128
91
  ),
129
92
  special: (
130
93
  0: 0,
131
- "auto": auto
132
- )
94
+ "auto": auto,
95
+ ),
133
96
  );
134
97
 
135
98
  $system-column-gaps: (
@@ -141,7 +104,7 @@ $system-column-gaps: (
141
104
  3: 3,
142
105
  4: 4,
143
106
  5: 5,
144
- 6: 6
107
+ 6: 6,
145
108
  );
146
109
 
147
110
  /*
@@ -167,8 +130,8 @@ $system-spacing-em: (
167
130
  "05em": 0.5em,
168
131
  1em: 1em,
169
132
  105em: 1.5em,
170
- 2em: 2em
171
- )
133
+ 2em: 2em,
134
+ ),
172
135
  );
173
136
 
174
137
  /*
@@ -177,55 +140,20 @@ Layout grid widths
177
140
  ----------------------------------------
178
141
  */
179
142
 
143
+ // prettier-ignore
180
144
  $system-layout-grid-widths: (
181
- 1: 100% *
182
- (
183
- 1 / 12
184
- ),
185
- 2: 100% *
186
- (
187
- 2 / 12
188
- ),
189
- 3: 100% *
190
- (
191
- 3 / 12
192
- ),
193
- 4: 100% *
194
- (
195
- 4 / 12
196
- ),
197
- 5: 100% *
198
- (
199
- 5 / 12
200
- ),
201
- 6: 100% *
202
- (
203
- 6 / 12
204
- ),
205
- 7: 100% *
206
- (
207
- 7 / 12
208
- ),
209
- 8: 100% *
210
- (
211
- 8 / 12
212
- ),
213
- 9: 100% *
214
- (
215
- 9 / 12
216
- ),
217
- 10: 100% *
218
- (
219
- 10 / 12
220
- ),
221
- 11: 100% *
222
- (
223
- 11 / 12
224
- ),
225
- 12: 100% *
226
- (
227
- 12 / 12
228
- )
145
+ 1: 100% * 1 / 12,
146
+ 2: 100% * 2 / 12,
147
+ 3: 100% * 3 / 12,
148
+ 4: 100% * 4 / 12,
149
+ 5: 100% * 5 / 12,
150
+ 6: 100% * 6 / 12,
151
+ 7: 100% * 7 / 12,
152
+ 8: 100% * 8 / 12,
153
+ 9: 100% * 9 / 12,
154
+ 10: 100% * 10 / 12,
155
+ 11: 100% * 11 / 12,
156
+ 12: 100% * 12 / 12,
229
157
  );
230
158
 
231
159
  /*
@@ -254,34 +182,34 @@ $system-typeface-tokens: (
254
182
  display-name: null,
255
183
  cap-height: 362px,
256
184
  stack: $font-stack-system,
257
- system-font: true
185
+ system-font: true,
258
186
  ),
259
187
  "georgia": (
260
188
  display-name: "Georgia",
261
189
  cap-height: 346px,
262
190
  stack: $font-stack-georgia,
263
- system-font: true
191
+ system-font: true,
264
192
  ),
265
193
  "helvetica": (
266
194
  display-name: "Helvetica Neue",
267
195
  cap-height: 357px,
268
196
  stack: $font-stack-helvetica,
269
- system-font: true
197
+ system-font: true,
270
198
  ),
271
199
  "tahoma": (
272
200
  display-name: "Tahoma",
273
201
  cap-height: 363px,
274
- stack: $font-stack-system
202
+ stack: $font-stack-system,
275
203
  ),
276
204
  "verdana": (
277
205
  display-name: "Verdana",
278
206
  cap-height: 364px,
279
- stack: $font-stack-system
207
+ stack: $font-stack-system,
280
208
  ),
281
209
  "open-sans": (
282
210
  display-name: "Open Sans",
283
211
  cap-height: 357px,
284
- stack: $font-stack-system
212
+ stack: $font-stack-system,
285
213
  ),
286
214
  "merriweather": (
287
215
  display-name: "Merriweather Web",
@@ -298,7 +226,7 @@ $system-typeface-tokens: (
298
226
  600: false,
299
227
  700: "Latin-Merriweather-Bold",
300
228
  800: false,
301
- 900: "Latin-Merriweather-Black"
229
+ 900: "Latin-Merriweather-Black",
302
230
  ),
303
231
  italic: (
304
232
  100: false,
@@ -309,9 +237,9 @@ $system-typeface-tokens: (
309
237
  600: false,
310
238
  700: "Latin-Merriweather-BoldItalic",
311
239
  800: false,
312
- 900: "Latin-Merriweather-BlackItalic"
313
- )
314
- )
240
+ 900: "Latin-Merriweather-BlackItalic",
241
+ ),
242
+ ),
315
243
  ),
316
244
  "roboto-mono": (
317
245
  display-name: "Roboto Mono Web",
@@ -328,7 +256,7 @@ $system-typeface-tokens: (
328
256
  600: false,
329
257
  700: "roboto-mono-v5-latin-700",
330
258
  800: false,
331
- 900: false
259
+ 900: false,
332
260
  ),
333
261
  italic: (
334
262
  100: "roboto-mono-v5-latin-100italic",
@@ -339,9 +267,9 @@ $system-typeface-tokens: (
339
267
  600: false,
340
268
  700: "roboto-mono-v5-latin-700italic",
341
269
  800: false,
342
- 900: false
343
- )
344
- )
270
+ 900: false,
271
+ ),
272
+ ),
345
273
  ),
346
274
  "source-sans-pro": (
347
275
  display-name: "Source Sans Pro Web",
@@ -358,7 +286,7 @@ $system-typeface-tokens: (
358
286
  600: "sourcesanspro-semibold-webfont",
359
287
  700: "sourcesanspro-bold-webfont",
360
288
  800: false,
361
- 900: "sourcesanspro-black-webfont"
289
+ 900: "sourcesanspro-black-webfont",
362
290
  ),
363
291
  italic: (
364
292
  100: false,
@@ -369,9 +297,9 @@ $system-typeface-tokens: (
369
297
  600: "sourcesanspro-semibolditalic-webfont",
370
298
  700: "sourcesanspro-bolditalic-webfont",
371
299
  800: false,
372
- 900: "sourcesanspro-blackitalic-webfont"
373
- )
374
- )
300
+ 900: "sourcesanspro-blackitalic-webfont",
301
+ ),
302
+ ),
375
303
  ),
376
304
  "public-sans": (
377
305
  display-name: "Public Sans Web",
@@ -388,7 +316,7 @@ $system-typeface-tokens: (
388
316
  600: "PublicSans-SemiBold",
389
317
  700: "PublicSans-Bold",
390
318
  800: "PublicSans-ExtraBold",
391
- 900: "PublicSans-Black"
319
+ 900: "PublicSans-Black",
392
320
  ),
393
321
  italic: (
394
322
  100: "PublicSans-ThinItalic",
@@ -399,10 +327,10 @@ $system-typeface-tokens: (
399
327
  600: "PublicSans-SemiBoldItalic",
400
328
  700: "PublicSans-BoldItalic",
401
329
  800: "PublicSans-ExtraBoldItalic",
402
- 900: "PublicSans-BlackItalic"
403
- )
404
- )
405
- )
330
+ 900: "PublicSans-BlackItalic",
331
+ ),
332
+ ),
333
+ ),
406
334
  );
407
335
 
408
336
  $all-typeface-tokens: map-merge(
@@ -437,7 +365,7 @@ $system-type-scale: (
437
365
  17: 64px,
438
366
  18: 80px,
439
367
  19: 120px,
440
- 20: 140px
368
+ 20: 140px,
441
369
  );
442
370
 
443
371
  /*
@@ -465,7 +393,7 @@ $system-line-height: (
465
393
  3: 1.35,
466
394
  4: 1.5,
467
395
  5: 1.62,
468
- 6: 1.75
396
+ 6: 1.75,
469
397
  );
470
398
 
471
399
  /*
@@ -481,6 +409,63 @@ fonts.
481
409
 
482
410
  $system-base-cap-height: 362px;
483
411
 
412
+ /*
413
+ ----------------------------------------
414
+ Luminance ranges
415
+ ----------------------------------------
416
+ */
417
+
418
+ $system-luminance-grade-ranges: (
419
+ 0: (
420
+ 1,
421
+ 1,
422
+ ),
423
+ 5: (
424
+ 0.85,
425
+ 0.93,
426
+ ),
427
+ 10: (
428
+ 0.75,
429
+ 0.82,
430
+ ),
431
+ 20: (
432
+ 0.5,
433
+ 0.65,
434
+ ),
435
+ 30: (
436
+ 0.35,
437
+ 0.45,
438
+ ),
439
+ 40: (
440
+ 0.25,
441
+ 0.3,
442
+ ),
443
+ 50: (
444
+ 0.175,
445
+ 0.183,
446
+ ),
447
+ 60: (
448
+ 0.1,
449
+ 0.125,
450
+ ),
451
+ 70: (
452
+ 0.05,
453
+ 0.07,
454
+ ),
455
+ 80: (
456
+ 0.02,
457
+ 0.04,
458
+ ),
459
+ 90: (
460
+ 0.005,
461
+ 0.015,
462
+ ),
463
+ 100: (
464
+ 0,
465
+ 0,
466
+ ),
467
+ );
468
+
484
469
  /*
485
470
  ----------------------------------------
486
471
  Colors
@@ -524,8 +509,8 @@ $system-color-black-transparent: (
524
509
  60: rgba(0, 0, 0, 0.6),
525
510
  70: rgba(0, 0, 0, 0.7),
526
511
  80: rgba(0, 0, 0, 0.8),
527
- 90: rgba(0, 0, 0, 0.9)
528
- )
512
+ 90: rgba(0, 0, 0, 0.9),
513
+ ),
529
514
  );
530
515
 
531
516
  $system-color-white-transparent: (
@@ -539,8 +524,8 @@ $system-color-white-transparent: (
539
524
  60: rgba(255, 255, 255, 0.6),
540
525
  70: rgba(255, 255, 255, 0.7),
541
526
  80: rgba(255, 255, 255, 0.8),
542
- 90: rgba(255, 255, 255, 0.9)
543
- )
527
+ 90: rgba(255, 255, 255, 0.9),
528
+ ),
544
529
  );
545
530
 
546
531
  $system-colors: map-collect(
@@ -576,7 +561,7 @@ $system-colors: map-collect(
576
561
  $tokens-color-required: (
577
562
  "transparent": transparent,
578
563
  "black": black,
579
- "white": white
564
+ "white": white,
580
565
  );
581
566
 
582
567
  $tokens-color-basic: (
@@ -604,7 +589,7 @@ $tokens-color-basic: (
604
589
  "gray": false,
605
590
  "gray-warm": false,
606
591
  "black-transparent": false,
607
- "white-transparent": false
592
+ "white-transparent": false,
608
593
  );
609
594
 
610
595
  //red-cool
@@ -1568,7 +1553,7 @@ $system-color-shortcodes: (
1568
1553
  "violet-70v": $color-violet-70v,
1569
1554
  "violet-80v": $color-violet-80v,
1570
1555
  "violet-90v": $color-violet-90v,
1571
- "violet-warm-5 ": $color-violet-warm-5,
1556
+ "violet-warm-5": $color-violet-warm-5,
1572
1557
  "violet-warm-10": $color-violet-warm-10,
1573
1558
  "violet-warm-20": $color-violet-warm-20,
1574
1559
  "violet-warm-30": $color-violet-warm-30,
@@ -1669,5 +1654,5 @@ $system-color-shortcodes: (
1669
1654
  "white-transparent-60": $color-white-transparent-60,
1670
1655
  "white-transparent-70": $color-white-transparent-70,
1671
1656
  "white-transparent-80": $color-white-transparent-80,
1672
- "white-transparent-90": $color-white-transparent-90
1657
+ "white-transparent-90": $color-white-transparent-90,
1673
1658
  );