@stackoverflow/stacks 1.10.3 → 2.0.0-rc.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 (90) hide show
  1. package/README.md +15 -0
  2. package/dist/css/stacks.css +7428 -4429
  3. package/dist/css/stacks.min.css +1 -1
  4. package/dist/js/stacks.js +110 -265
  5. package/dist/js/stacks.min.js +1 -1
  6. package/lib/atomic/__snapshots__/color-new.less.test.ts.snap +3015 -0
  7. package/lib/atomic/__snapshots__/color.less.test.ts.snap +2886 -0
  8. package/lib/atomic/border.less +0 -258
  9. package/lib/atomic/color.less +26 -200
  10. package/lib/atomic/color.less.test.ts +12 -0
  11. package/lib/atomic/misc.less +7 -6
  12. package/lib/atomic/typography.less +0 -7
  13. package/lib/atomic/v1/__snapshots__/border.less.test.ts.snap +552 -0
  14. package/lib/atomic/v1/__snapshots__/color.less.test.ts.snap +6756 -0
  15. package/lib/atomic/v1/__snapshots__/typography.less.test.ts.snap +22 -0
  16. package/lib/atomic/v1/border.less +210 -0
  17. package/lib/atomic/v1/border.less.test.ts +14 -0
  18. package/lib/atomic/v1/color.less +183 -0
  19. package/lib/atomic/v1/color.less.test.ts +14 -0
  20. package/lib/atomic/v1/typography.less +8 -0
  21. package/lib/atomic/v1/typography.less.test.ts +14 -0
  22. package/lib/components/activity-indicator/activity-indicator.a11y.test.ts +1 -10
  23. package/lib/components/activity-indicator/activity-indicator.less +4 -4
  24. package/lib/components/anchor/anchor.a11y.test.ts +0 -12
  25. package/lib/components/anchor/anchor.less +4 -4
  26. package/lib/components/anchor/anchor.visual.test.ts +1 -1
  27. package/lib/components/avatar/avatar.less +2 -2
  28. package/lib/components/award-bling/award-bling.less +3 -3
  29. package/lib/components/badge/badge.a11y.test.ts +2 -51
  30. package/lib/components/badge/badge.less +40 -40
  31. package/lib/components/banner/banner.a11y.test.ts +0 -14
  32. package/lib/components/block-link/block-link.a11y.test.ts +0 -14
  33. package/lib/components/block-link/block-link.less +8 -8
  34. package/lib/components/breadcrumbs/breadcrumbs.a11y.test.ts +0 -2
  35. package/lib/components/breadcrumbs/breadcrumbs.less +1 -1
  36. package/lib/components/button/button.a11y.test.ts +0 -134
  37. package/lib/components/button/button.less +40 -40
  38. package/lib/components/button/button.visual.test.ts +1 -1
  39. package/lib/components/card/card.a11y.test.ts +0 -6
  40. package/lib/components/check-control/check-control.a11y.test.ts +0 -13
  41. package/lib/components/check-control/check-control.visual.test.ts +1 -1
  42. package/lib/components/checkbox_radio/checkbox_radio.less +5 -5
  43. package/lib/components/checkbox_radio/checkbox_radio.visual.test.ts +1 -1
  44. package/lib/components/code-block/code-block.less +3 -3
  45. package/lib/components/description/description.a11y.test.ts +0 -5
  46. package/lib/components/description/description.visual.test.ts +1 -1
  47. package/lib/components/input-fill/input-fill.less +2 -2
  48. package/lib/components/input-icon/input-icon.less +2 -2
  49. package/lib/components/input-message/input-message.less +8 -8
  50. package/lib/components/input_textarea/input_textarea.less +6 -6
  51. package/lib/components/label/label.less +11 -11
  52. package/lib/components/link/link.a11y.test.ts +0 -21
  53. package/lib/components/link/link.less +8 -8
  54. package/lib/components/link-preview/link-preview.less +9 -9
  55. package/lib/components/menu/menu.less +3 -3
  56. package/lib/components/modal/modal.less +5 -4
  57. package/lib/components/navigation/navigation.less +11 -11
  58. package/lib/components/notice/notice.less +48 -48
  59. package/lib/components/pagination/pagination.less +3 -3
  60. package/lib/components/popover/popover.less +2 -2
  61. package/lib/components/popover/tooltip.test.ts +1 -1
  62. package/lib/components/post-summary/post-summary.less +40 -40
  63. package/lib/components/progress-bar/progress-bar.less +15 -15
  64. package/lib/components/prose/prose.less +15 -15
  65. package/lib/components/select/select.less +5 -5
  66. package/lib/components/sidebar-widget/sidebar-widget.less +12 -12
  67. package/lib/components/table/table.less +7 -7
  68. package/lib/components/tag/tag.less +25 -25
  69. package/lib/components/toggle-switch/toggle-switch.a11y.test.ts +0 -7
  70. package/lib/components/toggle-switch/toggle-switch.less +4 -4
  71. package/lib/components/topbar/topbar.less +34 -34
  72. package/lib/components/uploader/uploader.less +15 -15
  73. package/lib/components/user-card/user-card.less +7 -7
  74. package/lib/exports/__snapshots__/color-mixins.less.test.ts.snap +539 -0
  75. package/lib/exports/__snapshots__/color.less.test.ts.snap +762 -0
  76. package/lib/exports/color-mixins.less +280 -0
  77. package/lib/exports/color-mixins.less.test.ts +150 -0
  78. package/lib/exports/color-sets.less +620 -0
  79. package/lib/exports/color.less +57 -0
  80. package/lib/exports/color.less.test.ts +12 -0
  81. package/lib/exports/exports.less +2 -1
  82. package/lib/exports/mixins.less +17 -5
  83. package/lib/exports/theme.less +85 -0
  84. package/lib/exports/v1/__snapshots__/constants-colors.less.test.ts.snap +902 -0
  85. package/lib/exports/v1/constants-colors.less +893 -0
  86. package/lib/exports/v1/constants-colors.less.test.ts +12 -0
  87. package/lib/stacks-static.less +5 -0
  88. package/lib/test/less-test-utils.ts +28 -0
  89. package/package.json +13 -7
  90. package/lib/exports/constants-colors.less +0 -1100
@@ -9,11 +9,5 @@ describe("card", () => {
9
9
  children: {
10
10
  default: `<p>This is a description of the card’s content.</p>`,
11
11
  },
12
- // TODO: Most of those skipped tests should be fixed by the new Stacks 2.0 palette
13
- skippedTestids: [
14
- "s-card-dark-muted",
15
- "s-card-light-muted",
16
- "s-card-highcontrast-light-muted",
17
- ],
18
12
  });
19
13
  });
@@ -29,19 +29,6 @@ import "../../index";
29
29
  ...defaultOptions,
30
30
  testidSuffix: `${state}-${type}`,
31
31
  },
32
- // TODO: Most of those skipped tests should be fixed by the new Stacks 2.0 palette
33
- skippedTestids: [
34
- /^s-check-control-dark-has-error-(checked|unchecked)-(checkbox|radio)$/,
35
- /^s-check-control-light-has-(success|warning)-(checked|unchecked)-(checkbox|radio)$/,
36
- "s-check-control-dark-has-success-checked-checkbox",
37
- "s-check-control-light-has-error-checked-checkbox",
38
- "s-check-control-dark-has-success-unchecked-checkbox",
39
- "s-check-control-light-has-error-unchecked-checkbox",
40
- "s-check-control-dark-has-success-checked-radio",
41
- "s-check-control-light-has-error-checked-radio",
42
- "s-check-control-dark-has-success-unchecked-radio",
43
- "s-check-control-light-has-error-unchecked-radio",
44
- ],
45
32
  });
46
33
  });
47
34
  });
@@ -12,7 +12,7 @@ import "../../index";
12
12
  global: ["has-warning", "has-error", "has-success"],
13
13
  },
14
14
  attributes: {
15
- class: "bg-black-100 hs1 ws2 p8",
15
+ class: "bg-black-225 hs1 ws2 p8",
16
16
  },
17
17
  children: {
18
18
  default: `
@@ -1,8 +1,8 @@
1
1
  .s-checkbox,
2
2
  .s-radio {
3
3
  --_ch-baw: var(--su-static1);
4
- --_ch-bc: var(--bc-darker);
5
- --_ch-bc-focus: var(--theme-secondary-300);
4
+ --_ch-bc: var(--bc-dark);
5
+ --_ch-bc-focus: var(--theme-secondary-400);
6
6
  --_ch-bg: var(--white);
7
7
  --_ch-bg-image: unset;
8
8
  --_ch-bs-focus: 0 0 0 var(--su-static4) var(--focus-ring);
@@ -51,9 +51,9 @@
51
51
  // CONTEXTUAL STYLES
52
52
  .highcontrast-dark-mode({
53
53
  &:checked, &:indeterminate {
54
- --_ch-bc: var(--blue-700) !important;
54
+ --_ch-bc: var(--blue-500) !important;
55
55
  --_ch-bc-focus: var(--_ch-bc);
56
- --_ch-bg: var(--blue-300);
56
+ --_ch-bg: var(--blue-400);
57
57
  }
58
58
  });
59
59
 
@@ -93,7 +93,7 @@
93
93
  // CONTEXTUAL STYLES
94
94
  .highcontrast-dark-mode({
95
95
  &:checked {
96
- --_ch-bc: var(--blue-300);
96
+ --_ch-bc: var(--blue-400);
97
97
  outline: var(--su-static1) solid var(--black);
98
98
  }
99
99
  });
@@ -5,7 +5,7 @@ import "../../index";
5
5
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6
6
  const checkboxTemplate = ({ component, testid }: any) =>
7
7
  html`<div
8
- class="d-inline-flex ai-center jc-center bg-black-100 hs1 ws1 p8"
8
+ class="d-inline-flex ai-center jc-center bg-black-225 hs1 ws1 p8"
9
9
  data-testid="${testid}"
10
10
  >
11
11
  ${component}
@@ -1,9 +1,9 @@
1
1
  .s-code-block {
2
- --_cb-line-numbers-bg: var(--black-050);
2
+ --_cb-line-numbers-bg: var(--black-150);
3
3
 
4
4
  // CONTEXTUAL STYLES
5
5
  .dark-mode({
6
- --_cb-line-numbers-bg: var(--black-025);
6
+ --_cb-line-numbers-bg: var(--black-100);
7
7
  });
8
8
 
9
9
  // CHILD COMPONENTS
@@ -93,7 +93,7 @@
93
93
  border-color: var(--bc-medium);
94
94
  border-style: solid;
95
95
  border-width: 0 var(--su-static1) 0 0;
96
- color: var(--black-300);
96
+ color: var(--black-350);
97
97
  float: left;
98
98
  margin: calc(var(--su12) * -1);
99
99
  margin-right: var(--su12);
@@ -24,11 +24,6 @@ import "../../index";
24
24
  ${component}
25
25
  </div>
26
26
  `,
27
- // TODO: Most of those skipped tests should be fixed by the new Stacks 2.0 palette
28
- skippedTestids: [
29
- /^.*-is-disabled$/, // TODO: should these the disabled tests be excluded all together instead of skipped?
30
- "s-description-dark",
31
- ],
32
27
  });
33
28
  });
34
29
  });
@@ -18,7 +18,7 @@ import "../../index";
18
18
  },
19
19
  template: ({ component, testid }) => html`
20
20
  <div
21
- class="bg-black-100 d-inline-flex ai-center jc-center hs1 ws2 p8
21
+ class="bg-black-225 d-inline-flex ai-center jc-center hs1 ws2 p8
22
22
  ${isDisabled ? "is-disabled" : ""}"
23
23
  data-testid="${testid}"
24
24
  >
@@ -1,6 +1,6 @@
1
1
  .s-input-fill {
2
- --_if-bc: var(--bc-darker);
3
- --_if-bg: var(--black-050);
2
+ --_if-bc: var(--bc-dark);
3
+ --_if-bg: var(--black-150);
4
4
  --_if-blw: 0;
5
5
  --_if-blr: 0;
6
6
  --_if-brr: 0;
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .has-warning & {
15
- --_ii-fc: var(--yellow-600);
15
+ --_ii-fc: var(--yellow-500);
16
16
  }
17
17
 
18
18
  .is-disabled & {
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  .is-readonly & {
23
- --_ii-fc: var(--black-200);
23
+ --_ii-fc: var(--black-300);
24
24
 
25
25
  .highcontrast-mode({
26
26
  --_ii-fc: var(--fc-light);
@@ -16,20 +16,20 @@
16
16
 
17
17
  // MODIFIERS
18
18
  .has-error & {
19
- --_im-fc: var(--red-500);
20
- --_im-a-fc: var(--red-800);
21
- --_im-a-fc-hover: var(--red-900);
19
+ --_im-fc: var(--red-400);
20
+ --_im-a-fc: var(--red-600);
21
+ --_im-a-fc-hover: var(--red-600);
22
22
  }
23
23
 
24
24
  .has-success & {
25
- --_im-fc: var(--green-500);
26
- --_im-a-fc: var(--green-800);
27
- --_im-a-fc-hover: var(--green-900);
25
+ --_im-fc: var(--green-400);
26
+ --_im-a-fc: var(--green-600);
27
+ --_im-a-fc-hover: var(--green-600);
28
28
  }
29
29
 
30
30
  .has-warning & {
31
- --_im-fc: var(--yellow-800);
32
- --_im-a-fc: var(--yellow-900);
31
+ --_im-fc: var(--yellow-600);
32
+ --_im-a-fc: var(--yellow-600);
33
33
  }
34
34
 
35
35
  // CHILD ELEMENTS
@@ -1,7 +1,7 @@
1
1
  .s-input,
2
2
  .s-textarea {
3
- --_in-bc: var(--bc-darker);
4
- --_in-bc-focus: var(--theme-secondary-300);
3
+ --_in-bc: var(--bc-dark);
4
+ --_in-bc-focus: var(--theme-secondary-400);
5
5
  --_in-bg: var(--white);
6
6
  --_in-br: var(--br-md);
7
7
  --_in-bs-focus: 0 0 0 var(--su-static4) var(--focus-ring);
@@ -12,7 +12,7 @@
12
12
  --_in-o: unset;
13
13
  --_in-px: 0.7em;
14
14
  --_in-py: 0.6em;
15
- --_in-placeholder-fc: var(--black-200);
15
+ --_in-placeholder-fc: var(--black-300);
16
16
 
17
17
  // CONTEXTUAL STYLES
18
18
  @supports (-webkit-overflow-scrolling: touch) {
@@ -49,9 +49,9 @@
49
49
  --_in-fc: var(--fc-light);
50
50
  });
51
51
 
52
- --_in-bg: var(--black-050);
52
+ --_in-bg: var(--black-150);
53
53
  --_in-bc: var(--bc-light);
54
- --_in-fc: var(--black-200);
54
+ --_in-fc: var(--black-300);
55
55
  --_in-fc-focus: var(--_in-fc);
56
56
  }
57
57
 
@@ -59,7 +59,7 @@
59
59
  in,
60
60
  { .highcontrast-mode({ --_in-bc: var(--red-400); }); },
61
61
  { .highcontrast-mode({ --_in-bc: var(--green-400); }); },
62
- { .highcontrast-mode({ --_in-bc: var(--yellow-600); }); }
62
+ { .highcontrast-mode({ --_in-bc: var(--yellow-500); }); }
63
63
  );
64
64
 
65
65
  // Sizes
@@ -44,7 +44,7 @@
44
44
  // Default styling is optional.
45
45
  &--status { // TODO convert to require parent class for styling [1]
46
46
  --_la-status-b: none;
47
- --_la-status-bg: var(--black-050);
47
+ --_la-status-bg: var(--black-150);
48
48
  --_la-status-fc: var(--fc-medium);
49
49
 
50
50
  .highcontrast-mode({
@@ -53,27 +53,27 @@
53
53
 
54
54
  // TODO: include child component class (without variant) on selector
55
55
  &__beta {
56
- --_la-status-bg: var(--blue-100);
57
- --_la-status-fc: var(--blue-700);
56
+ --_la-status-bg: var(--blue-300);
57
+ --_la-status-fc: var(--blue-500);
58
58
  }
59
59
 
60
60
  &__new {
61
- --_la-status-bg: var(--green-100);
62
- --_la-status-fc: var(--green-700);
61
+ --_la-status-bg: var(--green-300);
62
+ --_la-status-fc: var(--green-500);
63
63
 
64
64
  .dark-mode({
65
- --_la-status-bg: var(--green-050);
66
- --_la-status-fc: var(--green-800);
65
+ --_la-status-bg: var(--green-200);
66
+ --_la-status-fc: var(--green-600);
67
67
  });
68
68
  }
69
69
 
70
70
  &__required {
71
- --_la-status-bg: var(--red-100);
72
- --_la-status-fc: var(--red-700);
71
+ --_la-status-bg: var(--red-300);
72
+ --_la-status-fc: var(--red-500);
73
73
 
74
74
  .dark-mode({
75
- --_la-status-bg: var(--red-050);
76
- --_la-status-fc: var(--red-800);
75
+ --_la-status-bg: var(--red-200);
76
+ --_la-status-fc: var(--red-600);
77
77
  });
78
78
  }
79
79
 
@@ -24,26 +24,5 @@ describe("link", () => {
24
24
  attributes: {
25
25
  href: "#",
26
26
  },
27
- // TODO: Most of those skipped tests should be fixed by the new Stacks 2.0 palette
28
- skippedTestids: [
29
- "s-link-dark",
30
- "s-link-dark-dropdown",
31
- "s-link-dark-danger",
32
- "s-link-dark-danger-dropdown",
33
- "s-link-dark-underlined",
34
- "s-link-dark-underlined-dropdown",
35
- "s-link-dark-muted",
36
- "s-link-dark-muted-dropdown",
37
- "s-link-dark-visited",
38
- "s-link-dark-visited-dropdown",
39
- "s-link-light",
40
- "s-link-light-danger",
41
- "s-link-light-danger-dropdown",
42
- "s-link-light-dropdown",
43
- "s-link-light-muted",
44
- "s-link-light-muted-dropdown",
45
- "s-link-light-underlined",
46
- "s-link-light-underlined-dropdown",
47
- ],
48
27
  });
49
28
  });
@@ -60,15 +60,15 @@ a,
60
60
 
61
61
  // VARIANTS
62
62
  &__danger {
63
- --_li-fc: var(--red-500);
63
+ --_li-fc: var(--red-400);
64
64
  --_li-fc-hover: var(--red-400);
65
- --_li-fc-visited: var(--red-600);
65
+ --_li-fc-visited: var(--red-500);
66
66
  }
67
67
 
68
68
  &__grayscale {
69
- --_li-fc: var(--black-800);
70
- --_li-fc-hover: var(--black-900);
71
- --_li-fc-visited: var(--black-700);
69
+ --_li-fc: var(--black-600);
70
+ --_li-fc-hover: var(--black-600);
71
+ --_li-fc-visited: var(--black-500);
72
72
  }
73
73
 
74
74
  &__inherit {
@@ -78,9 +78,9 @@ a,
78
78
  }
79
79
 
80
80
  &__muted {
81
- --_li-fc: var(--black-500);
82
- --_li-fc-hover: var(--black-600);
83
- --_li-fc-visited: var(--black-700);
81
+ --_li-fc: var(--black-400);
82
+ --_li-fc-hover: var(--black-500);
83
+ --_li-fc-visited: var(--black-500);
84
84
  }
85
85
  }
86
86
 
@@ -17,15 +17,15 @@
17
17
  & &--footer {
18
18
  a {
19
19
  &:visited {
20
- color: var(--black-700);
20
+ color: var(--black-500);
21
21
  }
22
22
  &:hover,
23
23
  &:active,
24
24
  &:focus {
25
- color: var(--black-600);
25
+ color: var(--black-500);
26
26
  }
27
27
 
28
- color: var(--black-500);
28
+ color: var(--black-400);
29
29
  cursor: pointer;
30
30
  text-decoration: none;
31
31
  }
@@ -51,14 +51,14 @@
51
51
  & &--details {
52
52
  margin-top: var(--_lp-details-mt);
53
53
 
54
- color: var(--black-500);
54
+ color: var(--black-400);
55
55
  font-size: var(--fs-caption);
56
56
  }
57
57
 
58
58
  & &--footer {
59
59
  flex-direction: var(--_lp-footer-fd);
60
60
 
61
- background: var(--black-025);
61
+ background: var(--black-100);
62
62
  border-bottom-left-radius: var(--br-sm);
63
63
  border-bottom-right-radius: var(--br-sm);
64
64
  border-top: var(--su-static1) solid var(--bc-medium);
@@ -69,7 +69,7 @@
69
69
  }
70
70
 
71
71
  & &--header {
72
- background: var(--black-025);
72
+ background: var(--black-100);
73
73
  border-bottom: var(--su-static1) solid var(--bc-medium);
74
74
  border-top-left-radius: var(--br-sm);
75
75
  border-top-right-radius: var(--br-sm);
@@ -78,7 +78,7 @@
78
78
  }
79
79
 
80
80
  & &--icon {
81
- color: var(--black-800); // Set the default color of the integration's icon. Most likely this will be overridden by the integration icon's native colors.
81
+ color: var(--black-600); // Set the default color of the integration's icon. Most likely this will be overridden by the integration icon's native colors.
82
82
  margin-right: var(--su8);
83
83
  }
84
84
 
@@ -86,11 +86,11 @@
86
86
  padding-left: var(--_lp-misc-pl);
87
87
  padding-top: var(--_lp-misc-pt);
88
88
 
89
- color: var(--black-500);
89
+ color: var(--black-400);
90
90
  }
91
91
 
92
92
  & &--title {
93
- color: var(--black-900);
93
+ color: var(--black-600);
94
94
  font-size: var(--fs-body3);
95
95
  font-weight: bold;
96
96
  }
@@ -5,8 +5,8 @@
5
5
 
6
6
  // CONTEXTUAL STYLES
7
7
  .dark-mode({
8
- --_me-divider-bg: var(--bc-lightest);
9
- --_me-label-btc: var(--bc-lightest);
8
+ --_me-divider-bg: var(--bc-light);
9
+ --_me-label-btc: var(--bc-light);
10
10
  });
11
11
 
12
12
  // CHILD ELEMENTS
@@ -27,7 +27,7 @@
27
27
  }
28
28
 
29
29
  & &--title {
30
- color: var(--black-600);
30
+ color: var(--black-500);
31
31
  font-size: var(--fs-fine);
32
32
  padding: var(--su8) var(--su12);
33
33
  text-transform: uppercase;
@@ -1,5 +1,6 @@
1
1
  .s-modal {
2
- --_mo-bg: fade(@black-900, 50%); // Background remains fixed
2
+ // TODO Replace this Less variable with a CSS variable or other solution
3
+ --_mo-bg: fade(.set-black()[600], 50%); // Background remains fixed
3
4
  --_mo-hmx: unset;
4
5
  --_mo-wmx: unset;
5
6
  --_mo-close-t: var(--su8);
@@ -37,8 +38,8 @@
37
38
  // VARIANTS
38
39
  &.has-danger,
39
40
  &&__danger {
40
- --_mo-bg: darken(fade(@red-900, 50%), 23%);
41
- --_mo-header-fc: var(--red-600);
41
+ --_mo-bg: darken(fade(.set-red()[600], 50%), 18%);
42
+ --_mo-header-fc: var(--red-500);
42
43
  }
43
44
 
44
45
  // CHILD ELEMENTS
@@ -61,7 +62,7 @@
61
62
 
62
63
  & &--dialog {
63
64
  .dark-mode({
64
- --_mo-dialog-bg: var(--black-100);
65
+ --_mo-dialog-bg: var(--black-225);
65
66
  });
66
67
 
67
68
  padding: var(--_mo-dialog-pt) var(--su24) var(--su24);
@@ -4,22 +4,22 @@
4
4
  --_na-p: var(--su2) 0;
5
5
  --_na-gap: var(--su4);
6
6
  --_na-item-bg: none;
7
- --_na-item-fc: var(--black-600);
7
+ --_na-item-fc: var(--black-500);
8
8
  --_na-item-fs: unset;
9
9
  --_na-item-p: var(--su6) var(--su12);
10
10
  --_na-item-py: var(--su12);
11
11
  --_na-item-ws: nowrap;
12
- --_na-item-bg-hover: var(--black-075);
12
+ --_na-item-bg-hover: var(--black-200);
13
13
  --_na-item-fc-hover: var(--_na-item-fc);
14
- --_na-item-selected-bg: var(--theme-primary-color);
14
+ --_na-item-selected-bg: var(--theme-primary);
15
15
  --_na-item-selected-fc: var(--white);
16
- --_na-item-selected-bg-hover: var(--theme-primary-600);
16
+ --_na-item-selected-bg-hover: var(--theme-primary-500);
17
17
  --_na-title-mt: var(--su16);
18
18
 
19
19
  // CONTEXTUAL STYLES
20
20
  .highcontrast-mode({
21
- --_na-item-bg-hover: var(--black-600);
22
- --_na-item-fc-hover: var(--black-100);
21
+ --_na-item-bg-hover: var(--black-500);
22
+ --_na-item-fc-hover: var(--black-225);
23
23
  });
24
24
 
25
25
  // MODIFIERS
@@ -44,14 +44,14 @@
44
44
 
45
45
  // VARIANTS
46
46
  &&__muted {
47
- --_na-item-selected-bg: var(--black-050);
48
- --_na-item-selected-fc: var(--black-800);
47
+ --_na-item-selected-bg: var(--black-150);
48
+ --_na-item-selected-fc: var(--black-600);
49
49
  --_na-item-selected-bg-hover: var(--_na-item-bg);
50
50
 
51
51
  .highcontrast-mode({
52
- --_na-item-selected-bg: var(--black-800);
53
- --_na-item-selected-fc: var(--black-050);
54
- --_na-item-selected-bg-hover: var(--black-900);
52
+ --_na-item-selected-bg: var(--black-600);
53
+ --_na-item-selected-fc: var(--black-150);
54
+ --_na-item-selected-bg-hover: var(--black-600);
55
55
  });
56
56
  }
57
57