@dialpad/dialtone 6.21.0 → 6.23.1

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/lib/build/less/components/badge.less +3 -1
  3. package/lib/build/less/components/button.less +55 -20
  4. package/lib/build/svg/brand/facebook.svg +1 -0
  5. package/lib/build/svg/system/back-to-listen.svg +4 -0
  6. package/lib/build/svg/system/barge.svg +4 -0
  7. package/lib/build/svg/system/emoticon-frown.svg +1 -0
  8. package/lib/build/svg/system/emoticon-neutral.svg +1 -0
  9. package/lib/build/svg/system/reply.svg +1 -0
  10. package/lib/build/svg/system/takeover.svg +11 -0
  11. package/lib/build/svg/system/whisper.svg +4 -0
  12. package/lib/dist/css/dialtone.css +50 -14
  13. package/lib/dist/css/dialtone.min.css +1 -1
  14. package/lib/dist/svg/brand/facebook.svg +1 -0
  15. package/lib/dist/svg/system/back-to-listen.svg +1 -0
  16. package/lib/dist/svg/system/barge.svg +1 -0
  17. package/lib/dist/svg/system/emoticon-frown.svg +1 -0
  18. package/lib/dist/svg/system/emoticon-neutral.svg +1 -0
  19. package/lib/dist/svg/system/reply.svg +1 -0
  20. package/lib/dist/svg/system/takeover.svg +1 -0
  21. package/lib/dist/svg/system/whisper.svg +1 -0
  22. package/lib/dist/vue/icons/IconBackToListen.vue +3 -0
  23. package/lib/dist/vue/icons/IconBarge.vue +3 -0
  24. package/lib/dist/vue/icons/IconEmoticonFrown.vue +3 -0
  25. package/lib/dist/vue/icons/IconEmoticonNeutral.vue +3 -0
  26. package/lib/dist/vue/icons/IconFacebook.vue +3 -0
  27. package/lib/dist/vue/icons/IconReply.vue +3 -0
  28. package/lib/dist/vue/icons/IconTakeover.vue +3 -0
  29. package/lib/dist/vue/icons/IconWhisper.vue +3 -0
  30. package/package.json +1 -1
  31. package/lib/build/svg/brand/dialogflow.svg +0 -1
  32. package/lib/dist/svg/brand/dialogflow.svg +0 -1
  33. package/lib/dist/vue/icons/IconDialogflow.vue +0 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ ## [6.23.1](https://github.com/dialpad/dialtone/compare/v6.23.0...v6.23.1) (2022-04-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * internal links not working after page switch ([8ff76cd](https://github.com/dialpad/dialtone/commit/8ff76cda55185bc662df8007725713fc23a2b75f))
7
+
8
+ # [6.23.0](https://github.com/dialpad/dialtone/compare/v6.22.0...v6.23.0) (2022-04-18)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * internal links when using <base> tag ([24b65fa](https://github.com/dialpad/dialtone/commit/24b65fa69a29c6cd7bb5264f70a78c3e508fa81d))
14
+
15
+
16
+ ### Features
17
+
18
+ * add facebook, sentiment, reply icons ([#568](https://github.com/dialpad/dialtone/issues/568)) ([ff185d5](https://github.com/dialpad/dialtone/commit/ff185d51322adc630bbe8ffaeaead9275ce6b0c4))
19
+ * add icons for new call workflow (Phase 2) ([#569](https://github.com/dialpad/dialtone/issues/569)) ([599852b](https://github.com/dialpad/dialtone/commit/599852b8b436a935df0cf7db2d8bb03c0723021c))
20
+
21
+ # [6.22.0](https://github.com/dialpad/dialtone/compare/v6.21.0...v6.22.0) (2022-04-08)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * badge alignment (min-width and vertical alignment) ([#566](https://github.com/dialpad/dialtone/issues/566)) ([946186c](https://github.com/dialpad/dialtone/commit/946186cc7e6a38c5d5e8986acd284cffe9b100ce))
27
+ * typo in spacing ([#565](https://github.com/dialpad/dialtone/issues/565)) ([729be23](https://github.com/dialpad/dialtone/commit/729be23e5d5c197e3c868b2ae5e65aecb25442b6))
28
+
29
+
30
+ ### Features
31
+
32
+ * **button:** add active styles ([#564](https://github.com/dialpad/dialtone/issues/564)) ([1d4a962](https://github.com/dialpad/dialtone/commit/1d4a962833e2031daf9f9fa1a23092b244fbc34e))
33
+ * **button:** add d-btn--active class ([#567](https://github.com/dialpad/dialtone/issues/567)) ([2a89e25](https://github.com/dialpad/dialtone/commit/2a89e253ddd7f7c15d6de7af0ef13c293dba0a86))
34
+
1
35
  # [6.21.0](https://github.com/dialpad/dialtone/compare/v6.20.3...v6.21.0) (2022-04-04)
2
36
 
3
37
 
@@ -19,11 +19,13 @@
19
19
  --badge--bgc: var(--black-050);
20
20
 
21
21
  display: inline-block;
22
- padding: var(--su2) var(--su6) var(--su1);
22
+ min-width: calc(var(--su6) + var(--su1));
23
+ padding: calc(var(--su6) / 4) var(--su6);
23
24
  color: var(--badge--fc);
24
25
  font-weight: bold;
25
26
  font-size: var(--fs10);
26
27
  line-height: var(--lh6);
28
+ text-align: center;
27
29
  text-transform: uppercase;
28
30
  background-color: var(--badge--bgc);
29
31
  border-radius: var(--su4);
@@ -51,13 +51,19 @@
51
51
 
52
52
  // -- STATES
53
53
  // ------------------------------------------------------------------------
54
+ &:hover {
55
+ --button--fc: var(--primary-color-hover);
56
+ --button--bgc: hsla(var(--primary-color-hsl) ~' / ' 3%);
57
+ }
54
58
 
55
59
  &:active,
56
- &:hover {
60
+ &.d-btn--active,
61
+ &.d-btn--active:active {
57
62
  --button--fc: var(--primary-color-hover);
58
- --button--bgc: hsla(var(--primary-color-hsl) ~' / ' 10%);
63
+ --button--bgc: hsla(var(--primary-color-hsl) ~' / ' 9%);
59
64
  }
60
65
 
66
+
61
67
  &:focus-visible {
62
68
  outline: none;
63
69
  box-shadow: var(--bs-focus-ring);
@@ -213,11 +219,6 @@
213
219
  padding: calc(var(--su8) + var(--su1));
214
220
  transition-duration: 150ms;
215
221
 
216
- &:hover {
217
- --button--fc: var(--black-800);
218
- --button--bgc: var(--black-100);
219
- }
220
-
221
222
  &:focus-visible {
222
223
  box-shadow: var(--bs-focus-ring-circle);
223
224
  }
@@ -234,11 +235,6 @@
234
235
  --button--bc: var(--black-700);
235
236
  }
236
237
 
237
- // &:active {
238
- // border-color: hsla(var(--black-700-h) var(--black-700-s) var(--black-700-l) ~" / " 50%);
239
- // background-color: hsla(var(--black-700-h) var(--black-700-s) var(--black-700-l) ~" / " 10%);
240
- // }
241
-
242
238
  // Adjust padding based on sizes
243
239
  &.d-btn--xs {
244
240
  padding: calc(var(--su8) - var(--su1));
@@ -278,8 +274,15 @@
278
274
  --button--bgc: var(--primary-color);
279
275
 
280
276
  &:hover {
281
- --button--fc: var(--white);
282
- --button--bgc: var(--primary-color-hover);
277
+ --button--fc: var(--white);
278
+ --button--bgc: hsl(var(--primary-color-h), var(--primary-color-s), 65%);
279
+ }
280
+
281
+ &:active,
282
+ &.d-btn--active,
283
+ &.d-btn--active:active {
284
+ --button--fc: var(--white);
285
+ --button--bgc: hsl(var(--primary-color-h), var(--primary-color-s), 42%);
283
286
  }
284
287
  }
285
288
 
@@ -288,9 +291,14 @@
288
291
  .d-btn--muted {
289
292
  --button--fc: var(--muted-color);
290
293
 
291
- &:hover {
294
+ &:hover,
295
+ &:active {
292
296
  --button--fc: var(--muted-color-hover);
293
- --button--bgc: hsla(var(--muted-color-hsl) ~' / ' 7.5%);
297
+ --button--bgc: hsla(var(--black-800-hsl) ~' / ' 3%);
298
+ }
299
+
300
+ &:active {
301
+ --button--bgc: hsla(var(--black-800-hsl) ~' / ' 9%);
294
302
  }
295
303
 
296
304
  &:focus-visible {
@@ -308,8 +316,15 @@
308
316
  --button--fc: var(--error-color);
309
317
 
310
318
  &:hover {
311
- --button--bgc: hsla(var(--error-color-hsl) ~' / ' 10%);
312
319
  --button--fc: var(--error-color-hover);
320
+ --button--bgc: hsla(var(--error-color-hsl) ~' / ' 6%);
321
+ }
322
+
323
+ &:active,
324
+ &.d-btn--active,
325
+ &.d-btn--active:active {
326
+ --button--fc: var(--error-color-hover);
327
+ --button--bgc: hsla(var(--error-color-hsl) ~' / ' 20%);
313
328
  }
314
329
 
315
330
  &:focus-visible {
@@ -325,8 +340,14 @@
325
340
  --button--bgc: var(--error-color);
326
341
 
327
342
  &:hover {
343
+ --button--bgc: hsl(var(--red-500-h), var(--red-500-s), 40%);
344
+ }
345
+
346
+ &:active,
347
+ &.d-btn--active,
348
+ &.d-btn--active:active {
328
349
  --button--fc: var(--white);
329
- --button--bgc: var(--error-color-hover);
350
+ --button--bgc: hsl(var(--red-500-h), var(--red-500-s), 27%);
330
351
  }
331
352
  }
332
353
  }
@@ -343,6 +364,13 @@
343
364
  --button--bgc: hsla(var(--white-hsl) ~' / ' 15%);
344
365
  }
345
366
 
367
+ &:active,
368
+ &.d-btn--active,
369
+ &.d-btn--active:active {
370
+ --button--fc: var(--white);
371
+ --button--bgc: hsla(var(--white-hsl) ~' / ' 30%);
372
+ }
373
+
346
374
  &:focus-visible {
347
375
  box-shadow: var(--bs-focus-ring-inverted);
348
376
  }
@@ -355,11 +383,18 @@
355
383
  // -- PRIMARY
356
384
  &.d-btn--primary {
357
385
  --button--fc: var(--primary-color);
358
- --button--bgc: var(--white);
386
+ --button--bgc: hsl(var(--purple-100-h), var(--purple-100-s), 100%);
359
387
 
360
388
  &:hover {
361
389
  --button--fc: var(--primary-color-hover);
362
- --button--bgc: hsla(var(--white-hsl) ~' / ' 90%);
390
+ --button--bgc: hsl(var(--purple-100-h), var(--purple-100-s), 94%);
391
+ }
392
+
393
+ &:active,
394
+ &.d-btn--active,
395
+ &.d-btn--active:active {
396
+ --button--fc: var(--primary-color-hover);
397
+ --button--bgc: hsl(var(--purple-100-h), var(--purple-100-s), 91%);
363
398
  }
364
399
  }
365
400
  }
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.9776 11.9888C20.9776 7.02441 16.9531 3 11.9888 3C7.02441 3 3 7.02441 3 11.9888C3 16.4753 6.28706 20.194 10.5843 20.8684V14.5871H8.30198V11.9888H10.5843V10.0084C10.5843 7.75562 11.9262 6.51125 13.9795 6.51125C14.9629 6.51125 15.9916 6.6868 15.9916 6.6868V8.89889H14.8581C13.7415 8.89889 13.3933 9.59178 13.3933 10.3026V11.9888H15.8863L15.4877 14.5871H13.3933V20.8684C17.6905 20.194 20.9776 16.4753 20.9776 11.9888" fill="#1877F2"/><path d="M15.4877 14.5871L15.8862 11.9888H13.3932V10.3026C13.3932 9.59177 13.7415 8.89887 14.8581 8.89887H15.9916V6.68679C15.9916 6.68679 14.9629 6.51123 13.9794 6.51123C11.9262 6.51123 10.5843 7.75561 10.5843 10.0084V11.9888H8.30197V14.5871H10.5843V20.8683C11.0489 20.9412 11.5185 20.9777 11.9888 20.9775C12.4666 20.9775 12.9356 20.9401 13.3932 20.8683V14.5871H15.4877Z" fill="#fff"/></svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13 20C13.29 20 13.56 19.94 13.76 19.85C14.47 19.48 14.97 18.97 15.47 17.47C15.98 15.91 16.94 15.18 17.86 14.47C18.65 13.86 19.47 13.23 20.18 11.94C20.71 10.98 21 9.93 21 9C21 6.2 18.8 4 16 4C13.2 4 11 6.2 11 9H9C9 5.07 12.07 2 16 2C19.93 2 23 5.07 23 9C23 10.26 22.62 11.65 21.93 12.9C21.02 14.55 19.95 15.38 19.08 16.05C18.27 16.67 17.69 17.12 17.37 18.1C16.77 19.92 16 20.94 14.64 21.65C14.13 21.88 13.57 22 13 22C10.79 22 9 20.21 9 18H11C11 19.1 11.9 20 13 20Z" fill="#0D0C0F"/>
3
+ <path d="M6.4 9.4L5 8L0 13L5 18L6.4 16.6L3.8 14H12V12H3.8L6.4 9.4Z" fill="black"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="3" y="3" width="18" height="18" rx="2" fill="#0D0C0F"/>
3
+ <path d="M9.01818 7.68L10.5455 6L16 12L10.5455 18L9.01818 16.32L11.8545 13.2H3V10.8H11.8545L9.01818 7.68Z" fill="#E5E5E5"/>
4
+ </svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.88 17.5C7.68 15.45 9.67 14 12 14C14.33 14 16.32 15.45 17.12 17.5H15.45C14.75 16.31 13.48 15.5 12 15.5C10.52 15.5 9.24 16.31 8.55 17.5H6.88ZM2 12C2 6.48 6.47 2 11.99 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 11.99 22C6.47 22 2 17.52 2 12ZM4 12C4 16.42 7.58 20 12 20C16.42 20 20 16.42 20 12C20 7.58 16.42 4 12 4C7.58 4 4 7.58 4 12ZM8.5 11C9.32843 11 10 10.3284 10 9.5C10 8.67157 9.32843 8 8.5 8C7.67157 8 7 8.67157 7 9.5C7 10.3284 7.67157 11 8.5 11ZM15.5 11C16.3284 11 17 10.3284 17 9.5C17 8.67157 16.3284 8 15.5 8C14.6716 8 14 8.67157 14 9.5C14 10.3284 14.6716 11 15.5 11Z" fill="#000"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 12C2 6.48 6.47 2 11.99 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 11.99 22C6.47 22 2 17.52 2 12ZM4 12C4 16.42 7.58 20 12 20C16.42 20 20 16.42 20 12C20 7.58 16.42 4 12 4C7.58 4 4 7.58 4 12ZM8.5 11C9.32843 11 10 10.3284 10 9.5C10 8.67157 9.32843 8 8.5 8C7.67157 8 7 8.67157 7 9.5C7 10.3284 7.67157 11 8.5 11ZM17 9.5C17 10.3284 16.3284 11 15.5 11C14.6716 11 14 10.3284 14 9.5C14 8.67157 14.6716 8 15.5 8C16.3284 8 17 8.67157 17 9.5ZM15 15.5V14H9V15.5H15Z" fill="#000"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 9V5L3 12L10 19V14.9C15 14.9 18.5 16.5 21 20C20 15 17 10 10 9Z" fill="#000"/></svg>
@@ -0,0 +1,11 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2848_38)">
3
+ <path d="M6.6 15.6L8 17L13 12L8 7L6.6 8.4L9.2 11L0.999999 11L0.999999 13L9.2 13L6.6 15.6Z" fill="black"/>
4
+ <path d="M17.4011 15.7461C16.5769 13.2317 16.5772 10.5034 17.3852 7.97974L19.9779 7.97444C20.2961 7.97378 20.5845 7.79052 20.7195 7.5133C21.1596 6.6344 21.753 5.80234 22.4822 5.07017C22.8057 4.74541 22.8046 4.21508 22.4798 3.89166L20.4191 1.83937C20.0944 1.51594 19.564 1.51703 19.2406 1.84178C13.7188 7.38621 13.7372 16.3547 19.2816 21.8764C19.6064 22.1999 20.1367 22.1988 20.4601 21.874L22.5183 19.8074C22.8417 19.4827 22.8406 18.9523 22.5159 18.6289C21.7778 17.8938 21.1869 17.0701 20.7431 16.193C20.6011 15.9222 20.3238 15.7401 19.9938 15.7408L17.4011 15.7461Z" fill="#0D0C0F"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_2848_38">
8
+ <rect width="24" height="24" fill="white" transform="translate(0 24) rotate(-90)"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9 13C11.2091 13 13 11.2091 13 9C13 6.79086 11.2091 5 9 5C6.79086 5 5 6.79086 5 9C5 11.2091 6.79086 13 9 13Z" fill="#0D0C0F"/>
3
+ <path d="M9 15C6.33 15 1 16.34 1 19V21H17V19C17 16.34 11.67 15 9 15ZM16.76 5.36L15.08 7.05C15.92 8.23 15.92 9.76 15.08 10.94L16.76 12.63C18.78 10.61 18.78 7.56 16.76 5.36ZM20.07 2L18.44 3.63C21.21 6.65 21.21 11.19 18.44 14.37L20.07 16C23.97 12.11 23.98 6.05 20.07 2Z" fill="#0D0C0F"/>
4
+ </svg>
@@ -480,11 +480,13 @@ body {
480
480
  --badge--fc: var(--fc-dark);
481
481
  --badge--bgc: var(--black-050);
482
482
  display: inline-block;
483
- padding: var(--su2) var(--su6) var(--su1);
483
+ min-width: calc(var(--su6) + var(--su1));
484
+ padding: calc(var(--su6) / 4) var(--su6);
484
485
  color: var(--badge--fc);
485
486
  font-weight: bold;
486
487
  font-size: var(--fs10);
487
488
  line-height: var(--lh6);
489
+ text-align: center;
488
490
  text-transform: uppercase;
489
491
  background-color: var(--badge--bgc);
490
492
  border-radius: var(--su4);
@@ -690,10 +692,15 @@ body {
690
692
  user-select: none;
691
693
  fill: currentColor;
692
694
  }
693
- .d-btn:active,
694
695
  .d-btn:hover {
695
696
  --button--fc: var(--primary-color-hover);
696
- --button--bgc: hsla(var(--primary-color-hsl) / 10%);
697
+ --button--bgc: hsla(var(--primary-color-hsl) / 3%);
698
+ }
699
+ .d-btn:active,
700
+ .d-btn.d-btn--active,
701
+ .d-btn.d-btn--active:active {
702
+ --button--fc: var(--primary-color-hover);
703
+ --button--bgc: hsla(var(--primary-color-hsl) / 9%);
697
704
  }
698
705
  .d-btn.focus-visible {
699
706
  outline: none;
@@ -806,10 +813,6 @@ body {
806
813
  padding: calc(var(--su8) + var(--su1));
807
814
  transition-duration: 150ms;
808
815
  }
809
- .d-btn--circle:hover {
810
- --button--fc: var(--black-800);
811
- --button--bgc: var(--black-100);
812
- }
813
816
  .d-btn--circle.focus-visible {
814
817
  box-shadow: var(--bs-focus-ring-circle);
815
818
  }
@@ -850,14 +853,24 @@ body {
850
853
  }
851
854
  .d-btn--primary:hover {
852
855
  --button--fc: var(--white);
853
- --button--bgc: var(--primary-color-hover);
856
+ --button--bgc: hsl(var(--primary-color-h), var(--primary-color-s), 65%);
857
+ }
858
+ .d-btn--primary:active,
859
+ .d-btn--primary.d-btn--active,
860
+ .d-btn--primary.d-btn--active:active {
861
+ --button--fc: var(--white);
862
+ --button--bgc: hsl(var(--primary-color-h), var(--primary-color-s), 42%);
854
863
  }
855
864
  .d-btn--muted {
856
865
  --button--fc: var(--muted-color);
857
866
  }
858
- .d-btn--muted:hover {
867
+ .d-btn--muted:hover,
868
+ .d-btn--muted:active {
859
869
  --button--fc: var(--muted-color-hover);
860
- --button--bgc: hsla(var(--muted-color-hsl) / 7.5%);
870
+ --button--bgc: hsla(var(--black-800-hsl) / 3%);
871
+ }
872
+ .d-btn--muted:active {
873
+ --button--bgc: hsla(var(--black-800-hsl) / 9%);
861
874
  }
862
875
  .d-btn--muted.focus-visible {
863
876
  box-shadow: var(--bs-focus-ring-muted);
@@ -872,8 +885,14 @@ body {
872
885
  --button--fc: var(--error-color);
873
886
  }
874
887
  .d-btn--danger:hover {
875
- --button--bgc: hsla(var(--error-color-hsl) / 10%);
876
888
  --button--fc: var(--error-color-hover);
889
+ --button--bgc: hsla(var(--error-color-hsl) / 6%);
890
+ }
891
+ .d-btn--danger:active,
892
+ .d-btn--danger.d-btn--active,
893
+ .d-btn--danger.d-btn--active:active {
894
+ --button--fc: var(--error-color-hover);
895
+ --button--bgc: hsla(var(--error-color-hsl) / 20%);
877
896
  }
878
897
  .d-btn--danger.focus-visible {
879
898
  box-shadow: var(--bs-focus-ring-error);
@@ -889,8 +908,13 @@ body {
889
908
  --button--bgc: var(--error-color);
890
909
  }
891
910
  .d-btn--danger.d-btn--primary:hover {
911
+ --button--bgc: hsl(var(--red-500-h), var(--red-500-s), 40%);
912
+ }
913
+ .d-btn--danger.d-btn--primary:active,
914
+ .d-btn--danger.d-btn--primary.d-btn--active,
915
+ .d-btn--danger.d-btn--primary.d-btn--active:active {
892
916
  --button--fc: var(--white);
893
- --button--bgc: var(--error-color-hover);
917
+ --button--bgc: hsl(var(--red-500-h), var(--red-500-s), 27%);
894
918
  }
895
919
  .d-btn--inverted {
896
920
  --button--fc: var(--white);
@@ -900,6 +924,12 @@ body {
900
924
  --button--fc: var(--white);
901
925
  --button--bgc: hsla(var(--white-hsl) / 15%);
902
926
  }
927
+ .d-btn--inverted:active,
928
+ .d-btn--inverted.d-btn--active,
929
+ .d-btn--inverted.d-btn--active:active {
930
+ --button--fc: var(--white);
931
+ --button--bgc: hsla(var(--white-hsl) / 30%);
932
+ }
903
933
  .d-btn--inverted.focus-visible {
904
934
  box-shadow: var(--bs-focus-ring-inverted);
905
935
  }
@@ -911,11 +941,17 @@ body {
911
941
  }
912
942
  .d-btn--inverted.d-btn--primary {
913
943
  --button--fc: var(--primary-color);
914
- --button--bgc: var(--white);
944
+ --button--bgc: hsl(var(--purple-100-h), var(--purple-100-s), 100%);
915
945
  }
916
946
  .d-btn--inverted.d-btn--primary:hover {
917
947
  --button--fc: var(--primary-color-hover);
918
- --button--bgc: hsla(var(--white-hsl) / 90%);
948
+ --button--bgc: hsl(var(--purple-100-h), var(--purple-100-s), 94%);
949
+ }
950
+ .d-btn--inverted.d-btn--primary:active,
951
+ .d-btn--inverted.d-btn--primary.d-btn--active,
952
+ .d-btn--inverted.d-btn--primary.d-btn--active:active {
953
+ --button--fc: var(--primary-color-hover);
954
+ --button--bgc: hsl(var(--purple-100-h), var(--purple-100-s), 91%);
919
955
  }
920
956
  .d-btn--icon-only {
921
957
  padding: calc(var(--su8) + var(--su1));