@patternfly/patternfly 6.3.0 → 6.4.0-prerelease.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 (140) hide show
  1. package/README.md +23 -15
  2. package/base/normalize.scss +4 -0
  3. package/base/patternfly-variables.css +1172 -1
  4. package/base/patternfly-variables.scss +10 -0
  5. package/base/tokens/tokens-charts-dark.scss +1 -1
  6. package/base/tokens/tokens-charts.scss +1 -1
  7. package/base/tokens/tokens-dark.scss +13 -1
  8. package/base/tokens/tokens-default.scss +60 -2
  9. package/base/tokens/tokens-highcontrast-dark.scss +396 -0
  10. package/base/tokens/tokens-highcontrast.scss +703 -0
  11. package/base/tokens/tokens-local.scss +1 -0
  12. package/base/tokens/tokens-palette.scss +9 -1
  13. package/components/Accordion/accordion.css +42 -15
  14. package/components/Accordion/accordion.scss +48 -18
  15. package/components/Alert/alert-group.css +17 -15
  16. package/components/Alert/alert-group.scss +22 -18
  17. package/components/Badge/badge.css +2 -0
  18. package/components/Badge/badge.scss +2 -0
  19. package/components/Banner/banner.css +4 -0
  20. package/components/Banner/banner.scss +4 -0
  21. package/components/Button/button.css +34 -4
  22. package/components/Button/button.scss +36 -6
  23. package/components/CalendarMonth/calendar-month.css +35 -4
  24. package/components/CalendarMonth/calendar-month.scss +38 -4
  25. package/components/Card/card.css +7 -4
  26. package/components/Card/card.scss +7 -4
  27. package/components/CodeBlock/code-block.css +3 -0
  28. package/components/CodeBlock/code-block.scss +3 -0
  29. package/components/CodeEditor/code-editor.css +23 -3
  30. package/components/CodeEditor/code-editor.scss +28 -5
  31. package/components/DatePicker/date-picker.css +3 -0
  32. package/components/DatePicker/date-picker.scss +4 -0
  33. package/components/Divider/divider.css +2 -0
  34. package/components/Divider/divider.scss +2 -0
  35. package/components/Drawer/drawer.css +46 -41
  36. package/components/Drawer/drawer.scss +45 -36
  37. package/components/DualListSelector/dual-list-selector.css +21 -4
  38. package/components/DualListSelector/dual-list-selector.scss +23 -4
  39. package/components/ExpandableSection/expandable-section.css +6 -2
  40. package/components/ExpandableSection/expandable-section.scss +7 -3
  41. package/components/FormControl/form-control.css +6 -7
  42. package/components/FormControl/form-control.scss +8 -10
  43. package/components/Label/label.css +20 -11
  44. package/components/Label/label.scss +21 -11
  45. package/components/Login/login.css +3 -0
  46. package/components/Login/login.scss +3 -0
  47. package/components/Menu/menu.css +18 -0
  48. package/components/Menu/menu.scss +19 -1
  49. package/components/MenuToggle/menu-toggle.css +13 -6
  50. package/components/MenuToggle/menu-toggle.scss +13 -6
  51. package/components/ModalBox/modal-box.css +3 -0
  52. package/components/ModalBox/modal-box.scss +3 -0
  53. package/components/Nav/nav.css +17 -0
  54. package/components/Nav/nav.scss +20 -0
  55. package/components/Page/page.css +73 -25
  56. package/components/Page/page.scss +60 -19
  57. package/components/Pagination/pagination.css +15 -2
  58. package/components/Pagination/pagination.scss +15 -2
  59. package/components/Panel/panel.css +14 -1
  60. package/components/Panel/panel.scss +14 -1
  61. package/components/Popover/popover.css +4 -0
  62. package/components/Popover/popover.scss +4 -0
  63. package/components/Progress/progress.css +19 -0
  64. package/components/Progress/progress.scss +22 -0
  65. package/components/Sidebar/sidebar.css +7 -0
  66. package/components/Sidebar/sidebar.scss +7 -0
  67. package/components/SimpleList/simple-list.css +15 -0
  68. package/components/SimpleList/simple-list.scss +17 -1
  69. package/components/Slider/slider.css +9 -0
  70. package/components/Slider/slider.scss +9 -0
  71. package/components/Switch/switch.css +7 -1
  72. package/components/Switch/switch.scss +7 -1
  73. package/components/Table/table.css +41 -1
  74. package/components/Table/table.scss +48 -2
  75. package/components/Tabs/tabs.css +18 -7
  76. package/components/Tabs/tabs.scss +19 -11
  77. package/components/TextInputGroup/text-input-group.css +7 -0
  78. package/components/TextInputGroup/text-input-group.scss +8 -1
  79. package/components/ToggleGroup/toggle-group.css +18 -9
  80. package/components/ToggleGroup/toggle-group.scss +24 -17
  81. package/components/Toolbar/toolbar.css +7 -0
  82. package/components/Toolbar/toolbar.scss +7 -0
  83. package/components/TreeView/tree-view.css +15 -0
  84. package/components/TreeView/tree-view.scss +17 -0
  85. package/components/Wizard/wizard.css +37 -6
  86. package/components/Wizard/wizard.scss +44 -10
  87. package/components/_index.css +631 -168
  88. package/docs/components/Alert/examples/Alert.md +3 -4
  89. package/docs/components/Button/examples/Button.md +1 -3
  90. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +25 -33
  91. package/docs/components/CodeBlock/examples/CodeBlock.md +13 -7
  92. package/docs/components/CodeEditor/examples/CodeEditor.md +20 -6
  93. package/docs/components/DataList/examples/DataList.md +66 -184
  94. package/docs/components/DatePicker/examples/DatePicker.md +4 -1
  95. package/docs/components/DescriptionList/examples/DescriptionList.md +78 -22
  96. package/docs/components/DualListSelector/examples/DualListSelector.md +0 -195
  97. package/docs/components/EmptyState/examples/EmptyState.md +6 -6
  98. package/docs/components/ExpandableSection/examples/ExpandableSection.md +92 -18
  99. package/docs/components/FileUpload/examples/FileUpload.md +4 -3
  100. package/docs/components/Form/examples/Form.md +19 -18
  101. package/docs/components/HelperText/examples/HelperText.md +65 -75
  102. package/docs/components/Hint/examples/Hint.md +3 -3
  103. package/docs/components/Icon/examples/Icon.md +0 -10
  104. package/docs/components/InlineEdit/examples/InlineEdit.md +0 -4
  105. package/docs/components/JumpLinks/examples/JumpLinks.md +164 -77
  106. package/docs/components/Label/examples/Label.md +2 -2
  107. package/docs/components/Login/examples/Login.md +42 -37
  108. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +32 -6
  109. package/docs/components/Pagination/examples/Pagination.md +111 -0
  110. package/docs/components/Popover/examples/Popover.md +0 -4
  111. package/docs/components/Progress/examples/Progress.md +223 -210
  112. package/docs/components/Skeleton/examples/Skeleton.md +21 -7
  113. package/docs/components/Table/examples/Table.md +947 -1423
  114. package/docs/components/TextInputGroup/examples/TextInputGroup.md +126 -47
  115. package/docs/components/Title/examples/Title.md +8 -8
  116. package/docs/components/Truncate/examples/Truncate.md +8 -6
  117. package/docs/components/Wizard/examples/Wizard.md +583 -0
  118. package/docs/demos/Alert/examples/Alert.md +28 -19
  119. package/docs/demos/Card/examples/Card.md +8 -5
  120. package/docs/demos/CardView/examples/CardView.md +81 -85
  121. package/docs/demos/Dashboard/examples/Dashboard.md +10 -22
  122. package/docs/demos/DataList/examples/DataList.md +528 -168
  123. package/docs/demos/DescriptionList/examples/DescriptionList.md +13 -3
  124. package/docs/demos/Drawer/examples/Drawer.md +0 -2
  125. package/docs/demos/Form/examples/BasicForms.md +93 -62
  126. package/docs/demos/HelperText/examples/HelperText.md +31 -23
  127. package/docs/demos/JumpLinks/examples/JumpLinks.md +0 -5
  128. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +4 -4
  129. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +56 -38
  130. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +726 -312
  131. package/docs/demos/Skeleton/examples/Skeleton.md +3 -1
  132. package/docs/demos/Table/examples/Table.md +5 -20
  133. package/docs/demos/Tabs/examples/Tabs.md +2 -1
  134. package/package.json +12 -7
  135. package/patternfly-base-no-globals.css +1172 -1
  136. package/patternfly-base.css +1176 -1
  137. package/patternfly-no-globals.css +1803 -169
  138. package/patternfly.css +1838 -200
  139. package/patternfly.min.css +1 -1
  140. package/patternfly.min.css.map +1 -1
@@ -123,4 +123,5 @@
123
123
 
124
124
  // stylelint-disable custom-property-pattern
125
125
  --pf-t--temp--dev--tbd: #BC11E0;
126
+
126
127
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 23 Sep 2024 22:48:17 GMT
3
+ // Generated on Wed, 10 Sep 2025 19:58:14 GMT
4
4
 
5
5
  @mixin pf-v6-tokens {
6
6
  --pf-t--color--black: #000000;
@@ -11,6 +11,7 @@
11
11
  --pf-t--color--blue--50: #0066cc;
12
12
  --pf-t--color--blue--60: #004d99;
13
13
  --pf-t--color--blue--70: #003366;
14
+ --pf-t--color--blue--80: #032142;
14
15
  --pf-t--color--gray--10: #f2f2f2;
15
16
  --pf-t--color--gray--20: #e0e0e0;
16
17
  --pf-t--color--gray--30: #c7c7c7;
@@ -28,6 +29,7 @@
28
29
  --pf-t--color--green--50: #63993d;
29
30
  --pf-t--color--green--60: #3d7317;
30
31
  --pf-t--color--green--70: #204d00;
32
+ --pf-t--color--green--80: #183301;
31
33
  --pf-t--color--orange--10: #ffe8cc;
32
34
  --pf-t--color--orange--20: #fccb8f;
33
35
  --pf-t--color--orange--30: #f8ae54;
@@ -35,6 +37,7 @@
35
37
  --pf-t--color--orange--50: #ca6c0f;
36
38
  --pf-t--color--orange--60: #9e4a06;
37
39
  --pf-t--color--orange--70: #732e00;
40
+ --pf-t--color--orange--80: #4d1f00;
38
41
  --pf-t--color--purple--10: #ece6ff;
39
42
  --pf-t--color--purple--20: #d0c5f4;
40
43
  --pf-t--color--purple--30: #b6a6e9;
@@ -42,6 +45,7 @@
42
45
  --pf-t--color--purple--50: #5e40be;
43
46
  --pf-t--color--purple--60: #3d2785;
44
47
  --pf-t--color--purple--70: #21134d;
48
+ --pf-t--color--purple--80: #1b0d33;
45
49
  --pf-t--color--red--10: #fce3e3;
46
50
  --pf-t--color--red--20: #fbc5c5;
47
51
  --pf-t--color--red--30: #f9a8a8;
@@ -49,6 +53,7 @@
49
53
  --pf-t--color--red--50: #ee0000;
50
54
  --pf-t--color--red--60: #a60000;
51
55
  --pf-t--color--red--70: #5f0000;
56
+ --pf-t--color--red--80: #3f0000;
52
57
  --pf-t--color--red-orange--10: #ffe3d9;
53
58
  --pf-t--color--red-orange--20: #fbbea8;
54
59
  --pf-t--color--red-orange--30: #f89b78;
@@ -56,6 +61,7 @@
56
61
  --pf-t--color--red-orange--50: #f0561d;
57
62
  --pf-t--color--red-orange--60: #b1380b;
58
63
  --pf-t--color--red-orange--70: #731f00;
64
+ --pf-t--color--red-orange--80: #4c1405;
59
65
  --pf-t--color--teal--10: #daf2f2;
60
66
  --pf-t--color--teal--20: #b9e5e5;
61
67
  --pf-t--color--teal--30: #9ad8d8;
@@ -63,6 +69,7 @@
63
69
  --pf-t--color--teal--50: #37a3a3;
64
70
  --pf-t--color--teal--60: #147878;
65
71
  --pf-t--color--teal--70: #004d4d;
72
+ --pf-t--color--teal--80: #003333;
66
73
  --pf-t--color--white: #ffffff;
67
74
  --pf-t--color--yellow--10: #fff4cc;
68
75
  --pf-t--color--yellow--20: #ffe072;
@@ -71,4 +78,5 @@
71
78
  --pf-t--color--yellow--50: #b98412;
72
79
  --pf-t--color--yellow--60: #96640f;
73
80
  --pf-t--color--yellow--70: #73480b;
81
+ --pf-t--color--yellow--80: #54330b;
74
82
  }
@@ -13,6 +13,9 @@
13
13
  --pf-v6-c-accordion__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
14
14
  --pf-v6-c-accordion__toggle--BorderRadius: var(--pf-t--global--border--radius--small);
15
15
  --pf-v6-c-accordion__toggle--ZIndex: var(--pf-t--global--z-index--xs);
16
+ --pf-v6-c-accordion__toggle--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
17
+ --pf-v6-c-accordion__toggle--BorderColor: var(--pf-t--global--border--color--high-contrast);
18
+ --pf-v6-c-accordion__toggle--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
16
19
  --pf-v6-c-accordion--m-toggle-start__toggle--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
17
20
  --pf-v6-c-accordion__toggle-text--Color: var(--pf-t--global--text--color--regular);
18
21
  --pf-v6-c-accordion__toggle-text--FontWeight: var(--pf-t--global--font--weight--body--default);
@@ -21,15 +24,22 @@
21
24
  --pf-v6-c-accordion__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
22
25
  --pf-v6-c-accordion__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
23
26
  --pf-v6-c-accordion__toggle-icon--Transition: transform var(--pf-v6-c-accordion__toggle-icon--TransitionDuration) var(--pf-v6-c-accordion__toggle-icon--TransitionTimingFunction);
27
+ --pf-v6-c-accordion__toggle-icon--Rotate: 0;
24
28
  --pf-v6-c-accordion__toggle--m-expanded__toggle-icon--Rotate: 90deg;
25
29
  --pf-v6-c-accordion__expandable-content--MarginInlineEnd: var(--pf-t--global--spacer--md);
26
- --pf-v6-c-accordion__expandable-content--MarginBlockEnd: var(--pf-t--global--spacer--md);
30
+ --pf-v6-c-accordion__expandable-content--MarginBlockEnd: 0;
27
31
  --pf-v6-c-accordion__expandable-content--MarginInlineStart: var(--pf-t--global--spacer--md);
28
32
  --pf-v6-c-accordion__expandable-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
29
33
  --pf-v6-c-accordion__expandable-content--BorderRadius: var(--pf-t--global--border--radius--small);
30
34
  --pf-v6-c-accordion__expandable-content--Color: var(--pf-t--global--text--color--regular);
31
35
  --pf-v6-c-accordion__expandable-content--FontSize: var(--pf-t--global--font--size--body--default);
36
+ --pf-v6-c-accordion__expandable-content--m-fixed--MaxHeight--base: 0;
32
37
  --pf-v6-c-accordion__expandable-content--m-fixed--MaxHeight: 9.375rem;
38
+ --pf-v6-c-accordion__expandable-content--MaxHeight: 0;
39
+ --pf-v6-c-accordion__expandable-content--Visibility: hidden;
40
+ --pf-v6-c-accordion__item--m-expanded__expandable-content--Visibility: visible;
41
+ --pf-v6-c-accordion__item--m-expanded__expandable-content--MaxHeight: 99999px;
42
+ --pf-v6-c-accordion__item--m-expanded__expandable-content--MarginBlockEnd: var(--pf-t--global--spacer--md);
33
43
  --pf-v6-c-accordion__item--before--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
34
44
  --pf-v6-c-accordion__item--before--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
35
45
  --pf-v6-c-accordion__item--before--TransitionDuration--fade: var(--pf-v6-c-accordion__item--before--TransitionDuration--collapse--fade);
@@ -66,6 +76,12 @@
66
76
  --pf-v6-c-accordion--m-bordered--RowGap: 0;
67
77
  --pf-v6-c-accordion__item--m-bordered--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
68
78
  --pf-v6-c-accordion__item--m-bordered--BorderBlockEndColor: var(--pf-t--global--border--color--default);
79
+ --pf-v6-c-accordion__item--BorderWidth: 0;
80
+ --pf-v6-c-accordion__item--BorderColor: var(--pf-t--global--border--color--high-contrast);
81
+ --pf-v6-c-accordion__item--m-expanded--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
82
+ --pf-v6-c-accordion__expandable-content--BorderWidth: 0;
83
+ --pf-v6-c-accordion__expandable-content--BorderColor: var(--pf-t--global--border--color--high-contrast);
84
+ --pf-v6-c-accordion__item--m-expanded__expandable-content--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
69
85
  }
70
86
  @media screen and (prefers-reduced-motion: no-preference) {
71
87
  .pf-v6-c-accordion {
@@ -104,6 +120,7 @@
104
120
  --pf-v6-c-accordion--RowGap: var(--pf-v6-c-accordion--m-bordered--RowGap);
105
121
  --pf-v6-c-accordion__item--BorderRadius: 0;
106
122
  --pf-v6-c-accordion__toggle--BorderRadius: 0;
123
+ --pf-v6-c-accordion__item--BorderWidth: 0;
107
124
  }
108
125
  .pf-v6-c-accordion.pf-m-bordered .pf-v6-c-accordion__item {
109
126
  border-block-end: var(--pf-v6-c-accordion__item--m-bordered--BorderBlockEndWidth) solid var(--pf-v6-c-accordion__item--m-bordered--BorderBlockEndColor);
@@ -118,6 +135,7 @@
118
135
  pointer-events: none;
119
136
  content: "";
120
137
  background-color: var(--pf-v6-c-accordion__item--m-expanded--BackgroundColor);
138
+ border: var(--pf-v6-c-accordion__item--BorderWidth) solid var(--pf-v6-c-accordion__item--BorderColor);
121
139
  border-radius: var(--pf-v6-c-accordion__item--BorderRadius);
122
140
  opacity: var(--pf-v6-c-accordion__item--before--Opacity);
123
141
  transition-timing-function: var(--pf-v6-c-accordion__item--before--TransitionTimingFunction);
@@ -127,17 +145,22 @@
127
145
  .pf-v6-c-accordion__item.pf-m-expanded {
128
146
  --pf-v6-c-accordion__toggle--PaddingBlockEnd: var(--pf-v6-c-accordion__toggle--m-expanded--PaddingBlockEnd);
129
147
  --pf-v6-c-accordion__toggle-text--FontWeight: var(--pf-v6-c-accordion__toggle--m-expanded__toggle-text--FontWeight);
148
+ --pf-v6-c-accordion__toggle-icon--Rotate: var(--pf-v6-c-accordion__toggle--m-expanded__toggle-icon--Rotate);
130
149
  --pf-v6-c-accordion__item--before--TransitionDuration--slide: var(--pf-v6-c-accordion__item--before--TransitionDuration--expand--slide);
131
150
  --pf-v6-c-accordion__item--before--TransitionDuration--fade: var(--pf-v6-c-accordion__item--before--TransitionDuration--expand--fade);
132
151
  --pf-v6-c-accordion__item--before--Opacity: var(--pf-v6-c-accordion__item--m-expanded--before--Opacity);
133
152
  --pf-v6-c-accordion__item--before--TranslateY: var(--pf-v6-c-accordion__item--m-expanded--before--TranslateY);
153
+ --pf-v6-c-accordion__item--BorderWidth: var(--pf-v6-c-accordion__item--m-expanded--BorderWidth);
134
154
  --pf-v6-c-accordion__expandable-content--TransitionDuration--slide: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--expand--slide);
135
155
  --pf-v6-c-accordion__expandable-content--TransitionDuration--fade: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--expand--fade);
136
156
  --pf-v6-c-accordion__expandable-content--Opacity: var(--pf-v6-c-accordion__item--m-expanded__expandable-content--Opacity);
137
157
  --pf-v6-c-accordion__expandable-content--TranslateY: var(--pf-v6-c-accordion__item--m-expanded__expandable-content--TranslateY);
138
- }
139
- .pf-v6-c-accordion__item.pf-m-expanded .pf-v6-c-accordion__toggle-icon {
140
- transform: rotate(var(--pf-v6-c-accordion__toggle--m-expanded__toggle-icon--Rotate));
158
+ --pf-v6-c-accordion__expandable-content--MarginBlockEnd: var(--pf-v6-c-accordion__item--m-expanded__expandable-content--MarginBlockEnd);
159
+ --pf-v6-c-accordion__expandable-content--MaxHeight: var(--pf-v6-c-accordion__item--m-expanded__expandable-content--MaxHeight);
160
+ --pf-v6-c-accordion__expandable-content--Visibility: var(--pf-v6-c-accordion__item--m-expanded__expandable-content--Visibility);
161
+ --pf-v6-c-accordion__expandable-content--TransitionDuration--fade: 0s;
162
+ --pf-v6-c-accordion__expandable-content--m-fixed--MaxHeight--base: var(--pf-v6-c-accordion__expandable-content--m-fixed--MaxHeight);
163
+ --pf-v6-c-accordion__expandable-content--BorderWidth: var(--pf-v6-c-accordion__item--m-expanded__expandable-content--BorderWidth);
141
164
  }
142
165
 
143
166
  .pf-v6-c-accordion__toggle {
@@ -158,8 +181,17 @@
158
181
  border: 0;
159
182
  border-radius: var(--pf-v6-c-accordion__toggle--BorderRadius);
160
183
  }
184
+ .pf-v6-c-accordion__toggle::after {
185
+ position: absolute;
186
+ inset: 0;
187
+ pointer-events: none;
188
+ content: "";
189
+ border: var(--pf-v6-c-accordion__toggle--BorderWidth) solid var(--pf-v6-c-accordion__toggle--BorderColor);
190
+ border-radius: inherit;
191
+ }
161
192
  .pf-v6-c-accordion__toggle:is(:hover, :focus) {
162
193
  --pf-v6-c-accordion__toggle--BackgroundColor: var(--pf-v6-c-accordion__toggle--hover--BackgroundColor);
194
+ --pf-v6-c-accordion__toggle--BorderWidth: var(--pf-v6-c-accordion__toggle--hover--BorderWidth);
163
195
  }
164
196
 
165
197
  .pf-v6-c-accordion__toggle-text {
@@ -173,6 +205,7 @@
173
205
 
174
206
  .pf-v6-c-accordion__toggle-icon {
175
207
  transition: var(--pf-v6-c-accordion__toggle-icon--Transition);
208
+ transform: rotate(var(--pf-v6-c-accordion__toggle-icon--Rotate));
176
209
  }
177
210
  :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-accordion__toggle-icon {
178
211
  scale: -1 1;
@@ -183,13 +216,15 @@
183
216
  }
184
217
 
185
218
  .pf-v6-c-accordion__expandable-content {
186
- max-height: 0;
219
+ max-height: var(--pf-v6-c-accordion__expandable-content--MaxHeight);
220
+ margin-block-end: var(--pf-v6-c-accordion__expandable-content--MarginBlockEnd);
187
221
  margin-inline-start: var(--pf-v6-c-accordion__expandable-content--MarginInlineStart);
188
222
  margin-inline-end: var(--pf-v6-c-accordion__expandable-content--MarginInlineEnd);
189
223
  font-size: var(--pf-v6-c-accordion__expandable-content--FontSize);
190
224
  color: var(--pf-v6-c-accordion__expandable-content--Color);
191
- visibility: hidden;
225
+ visibility: var(--pf-v6-c-accordion__expandable-content--Visibility);
192
226
  background-color: var(--pf-v6-c-accordion__expandable-content--BackgroundColor);
227
+ border: var(--pf-v6-c-accordion__expandable-content--BorderWidth) solid var(--pf-v6-c-accordion__expandable-content--BorderColor);
193
228
  border-radius: var(--pf-v6-c-accordion__expandable-content--BorderRadius);
194
229
  opacity: var(--pf-v6-c-accordion__expandable-content--Opacity);
195
230
  transition-delay: 0s, 0s, var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade);
@@ -199,17 +234,9 @@
199
234
  translate: 0 var(--pf-v6-c-accordion__expandable-content--TranslateY);
200
235
  }
201
236
  .pf-v6-c-accordion__expandable-content.pf-m-fixed {
237
+ max-height: var(--pf-v6-c-accordion__expandable-content--m-fixed--MaxHeight--base);
202
238
  overflow-y: auto;
203
239
  }
204
- .pf-v6-c-accordion__item.pf-m-expanded .pf-v6-c-accordion__expandable-content {
205
- max-height: 99999px;
206
- margin-block-end: var(--pf-v6-c-accordion__expandable-content--MarginBlockEnd);
207
- visibility: revert;
208
- transition-delay: 0s;
209
- }
210
- .pf-v6-c-accordion__item.pf-m-expanded .pf-v6-c-accordion__expandable-content.pf-m-fixed {
211
- max-height: var(--pf-v6-c-accordion__expandable-content--m-fixed--MaxHeight);
212
- }
213
240
 
214
241
  .pf-v6-c-accordion__expandable-content-body {
215
242
  padding-block-start: var(--pf-v6-c-accordion__expandable-content-body--PaddingBlockStart);
@@ -20,6 +20,9 @@
20
20
  --#{$accordion}__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
21
21
  --#{$accordion}__toggle--BorderRadius: var(--pf-t--global--border--radius--small);
22
22
  --#{$accordion}__toggle--ZIndex: var(--pf-t--global--z-index--xs);
23
+ --#{$accordion}__toggle--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
24
+ --#{$accordion}__toggle--BorderColor: var(--pf-t--global--border--color--high-contrast);
25
+ --#{$accordion}__toggle--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
23
26
 
24
27
  // Accordion toggle toggle-start modifier
25
28
  // This decreases the gap between icon and text, alternative is calc it to * 2 the token or create a new token
@@ -35,17 +38,24 @@
35
38
  --#{$accordion}__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
36
39
  --#{$accordion}__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
37
40
  --#{$accordion}__toggle-icon--Transition: transform var(--#{$accordion}__toggle-icon--TransitionDuration) var(--#{$accordion}__toggle-icon--TransitionTimingFunction); // TODO remove in breaking change along with shorthand property
41
+ --#{$accordion}__toggle-icon--Rotate: 0;
38
42
  --#{$accordion}__toggle--m-expanded__toggle-icon--Rotate: 90deg;
39
43
 
40
44
  // accordion expandable content
41
45
  --#{$accordion}__expandable-content--MarginInlineEnd: var(--pf-t--global--spacer--md);
42
- --#{$accordion}__expandable-content--MarginBlockEnd: var(--pf-t--global--spacer--md);
46
+ --#{$accordion}__expandable-content--MarginBlockEnd: 0;
43
47
  --#{$accordion}__expandable-content--MarginInlineStart: var(--pf-t--global--spacer--md);
44
48
  --#{$accordion}__expandable-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
45
49
  --#{$accordion}__expandable-content--BorderRadius: var(--pf-t--global--border--radius--small);
46
50
  --#{$accordion}__expandable-content--Color: var(--pf-t--global--text--color--regular);
47
51
  --#{$accordion}__expandable-content--FontSize: var(--pf-t--global--font--size--body--default);
52
+ --#{$accordion}__expandable-content--m-fixed--MaxHeight--base: 0;
48
53
  --#{$accordion}__expandable-content--m-fixed--MaxHeight: #{pf-size-prem(150px)};
54
+ --#{$accordion}__expandable-content--MaxHeight: 0;
55
+ --#{$accordion}__expandable-content--Visibility: hidden;
56
+ --#{$accordion}__item--m-expanded__expandable-content--Visibility: visible;
57
+ --#{$accordion}__item--m-expanded__expandable-content--MaxHeight: 99999px;
58
+ --#{$accordion}__item--m-expanded__expandable-content--MarginBlockEnd: var(--pf-t--global--spacer--md);
49
59
 
50
60
  // expand animation
51
61
  --#{$accordion}__item--before--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
@@ -99,6 +109,16 @@
99
109
  --#{$accordion}--m-bordered--RowGap: 0;
100
110
  --#{$accordion}__item--m-bordered--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
101
111
  --#{$accordion}__item--m-bordered--BorderBlockEndColor: var(--pf-t--global--border--color--default);
112
+
113
+ // accordion item border for high contrast
114
+ --#{$accordion}__item--BorderWidth: 0;
115
+ --#{$accordion}__item--BorderColor: var(--pf-t--global--border--color--high-contrast);
116
+ --#{$accordion}__item--m-expanded--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
117
+
118
+ // expandable content border for high contrast
119
+ --#{$accordion}__expandable-content--BorderWidth: 0;
120
+ --#{$accordion}__expandable-content--BorderColor: var(--pf-t--global--border--color--high-contrast);
121
+ --#{$accordion}__item--m-expanded__expandable-content--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
102
122
  }
103
123
 
104
124
  .#{$accordion} {
@@ -129,7 +149,8 @@
129
149
  --#{$accordion}--RowGap: var(--#{$accordion}--m-bordered--RowGap);
130
150
  --#{$accordion}__item--BorderRadius: 0;
131
151
  --#{$accordion}__toggle--BorderRadius: 0;
132
-
152
+ --#{$accordion}__item--BorderWidth: 0;
153
+
133
154
  .#{$accordion}__item {
134
155
  border-block-end: var(--#{$accordion}__item--m-bordered--BorderBlockEndWidth) solid var(--#{$accordion}__item--m-bordered--BorderBlockEndColor);
135
156
  }
@@ -145,6 +166,7 @@
145
166
  pointer-events: none;
146
167
  content: "";
147
168
  background-color: var(--#{$accordion}__item--m-expanded--BackgroundColor);
169
+ border: var(--#{$accordion}__item--BorderWidth) solid var(--#{$accordion}__item--BorderColor);
148
170
  border-radius: var(--#{$accordion}__item--BorderRadius);
149
171
  opacity: var(--#{$accordion}__item--before--Opacity);
150
172
  transition-timing-function: var(--#{$accordion}__item--before--TransitionTimingFunction);
@@ -155,18 +177,23 @@
155
177
  &.pf-m-expanded {
156
178
  --#{$accordion}__toggle--PaddingBlockEnd: var(--#{$accordion}__toggle--m-expanded--PaddingBlockEnd);
157
179
  --#{$accordion}__toggle-text--FontWeight: var(--#{$accordion}__toggle--m-expanded__toggle-text--FontWeight);
180
+ --#{$accordion}__toggle-icon--Rotate: var(--#{$accordion}__toggle--m-expanded__toggle-icon--Rotate);
158
181
  --#{$accordion}__item--before--TransitionDuration--slide: var(--#{$accordion}__item--before--TransitionDuration--expand--slide);
159
182
  --#{$accordion}__item--before--TransitionDuration--fade: var(--#{$accordion}__item--before--TransitionDuration--expand--fade);
160
183
  --#{$accordion}__item--before--Opacity: var(--#{$accordion}__item--m-expanded--before--Opacity);
161
184
  --#{$accordion}__item--before--TranslateY: var(--#{$accordion}__item--m-expanded--before--TranslateY);
185
+ --#{$accordion}__item--BorderWidth: var(--#{$accordion}__item--m-expanded--BorderWidth);
162
186
  --#{$accordion}__expandable-content--TransitionDuration--slide: var(--#{$accordion}__expandable-content--TransitionDuration--expand--slide);
163
187
  --#{$accordion}__expandable-content--TransitionDuration--fade: var(--#{$accordion}__expandable-content--TransitionDuration--expand--fade);
164
188
  --#{$accordion}__expandable-content--Opacity: var(--#{$accordion}__item--m-expanded__expandable-content--Opacity);
165
189
  --#{$accordion}__expandable-content--TranslateY: var(--#{$accordion}__item--m-expanded__expandable-content--TranslateY);
190
+ --#{$accordion}__expandable-content--MarginBlockEnd: var(--#{$accordion}__item--m-expanded__expandable-content--MarginBlockEnd);
191
+ --#{$accordion}__expandable-content--MaxHeight: var(--#{$accordion}__item--m-expanded__expandable-content--MaxHeight);
192
+ --#{$accordion}__expandable-content--Visibility: var(--#{$accordion}__item--m-expanded__expandable-content--Visibility);
193
+ --#{$accordion}__expandable-content--TransitionDuration--fade: 0s;
194
+ --#{$accordion}__expandable-content--m-fixed--MaxHeight--base: var(--#{$accordion}__expandable-content--m-fixed--MaxHeight);
195
+ --#{$accordion}__expandable-content--BorderWidth: var(--#{$accordion}__item--m-expanded__expandable-content--BorderWidth);
166
196
 
167
- .#{$accordion}__toggle-icon {
168
- transform: rotate(var(--#{$accordion}__toggle--m-expanded__toggle-icon--Rotate));
169
- }
170
197
  }
171
198
  }
172
199
 
@@ -188,8 +215,18 @@
188
215
  border: 0;
189
216
  border-radius: var(--#{$accordion}__toggle--BorderRadius);
190
217
 
218
+ &::after {
219
+ position: absolute;
220
+ inset: 0;
221
+ pointer-events: none;
222
+ content: "";
223
+ border: var(--#{$accordion}__toggle--BorderWidth) solid var(--#{$accordion}__toggle--BorderColor);
224
+ border-radius: inherit;
225
+ }
226
+
191
227
  &:is(:hover, :focus) {
192
228
  --#{$accordion}__toggle--BackgroundColor: var(--#{$accordion}__toggle--hover--BackgroundColor);
229
+ --#{$accordion}__toggle--BorderWidth: var(--#{$accordion}__toggle--hover--BorderWidth);
193
230
  }
194
231
  }
195
232
 
@@ -205,6 +242,7 @@
205
242
  @include pf-v6-mirror-inline-on-rtl;
206
243
 
207
244
  transition: var(--#{$accordion}__toggle-icon--Transition); // TODO remove shorthand property in breaking change
245
+ transform: rotate(var(--#{$accordion}__toggle-icon--Rotate));
208
246
  }
209
247
 
210
248
  .#{$accordion}__expandable-content:where([hidden]) {
@@ -212,13 +250,15 @@
212
250
  }
213
251
 
214
252
  .#{$accordion}__expandable-content {
215
- max-height: 0;
253
+ max-height: var(--#{$accordion}__expandable-content--MaxHeight);
254
+ margin-block-end: var(--#{$accordion}__expandable-content--MarginBlockEnd);
216
255
  margin-inline-start: var(--#{$accordion}__expandable-content--MarginInlineStart);
217
256
  margin-inline-end: var(--#{$accordion}__expandable-content--MarginInlineEnd);
218
257
  font-size: var(--#{$accordion}__expandable-content--FontSize);
219
258
  color: var(--#{$accordion}__expandable-content--Color);
220
- visibility: hidden;
259
+ visibility: var(--#{$accordion}__expandable-content--Visibility);
221
260
  background-color: var(--#{$accordion}__expandable-content--BackgroundColor);
261
+ border: var(--#{$accordion}__expandable-content--BorderWidth) solid var(--#{$accordion}__expandable-content--BorderColor);
222
262
  border-radius: var(--#{$accordion}__expandable-content--BorderRadius);
223
263
  opacity: var(--#{$accordion}__expandable-content--Opacity);
224
264
  transition-delay: 0s, 0s, var(--#{$accordion}__expandable-content--TransitionDuration--fade), var(--#{$accordion}__expandable-content--TransitionDuration--fade), var(--#{$accordion}__expandable-content--TransitionDuration--fade);
@@ -228,19 +268,9 @@
228
268
  translate: 0 var(--#{$accordion}__expandable-content--TranslateY);
229
269
 
230
270
  &.pf-m-fixed {
271
+ max-height: var(--#{$accordion}__expandable-content--m-fixed--MaxHeight--base);
231
272
  overflow-y: auto;
232
273
  }
233
-
234
- .#{$accordion}__item.pf-m-expanded & {
235
- max-height: 99999px;
236
- margin-block-end: var(--#{$accordion}__expandable-content--MarginBlockEnd);
237
- visibility: revert;
238
- transition-delay: 0s;
239
-
240
- &.pf-m-fixed {
241
- max-height: var(--#{$accordion}__expandable-content--m-fixed--MaxHeight);
242
- }
243
- }
244
274
  }
245
275
 
246
276
  .#{$accordion}__expandable-content-body {
@@ -64,7 +64,8 @@
64
64
  --pf-v6-c-alert-group--m-toast__item--m-offstage-right--c-alert--TransitionDuration: initial;
65
65
  --pf-v6-c-alert-group--m-toast__item--m-offstage-right--c-alert--TransitionTimingFunction: initial;
66
66
  --pf-v6-c-alert-group--m-toast__item--m-offstage-right--c-alert--Transition: initial;
67
- --pf-v6-c-alert-group__overflow-button--BorderWidth: 0;
67
+ --pf-v6-c-alert-group__overflow-button--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
68
+ --pf-v6-c-alert-group__overflow-button--BorderColor: var(--pf-t--global--border--color--high-contrast);
68
69
  --pf-v6-c-alert-group__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
69
70
  --pf-v6-c-alert-group__overflow-button--PaddingBlockStart: var(--pf-t--global--spacer--md);
70
71
  --pf-v6-c-alert-group__overflow-button--PaddingInlineEnd: var(--pf-t--global--spacer--md);
@@ -73,6 +74,7 @@
73
74
  --pf-v6-c-alert-group__overflow-button--Color: var(--pf-t--global--text--color--link--default);
74
75
  --pf-v6-c-alert-group__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
75
76
  --pf-v6-c-alert-group__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
77
+ --pf-v6-c-alert-group__overflow-button--hover--BorderWidth: var(--pf-t--global--border--width--high-contrast--strong);
76
78
  --pf-v6-c-alert-group__overflow-button--hover--Color: var(--pf-t--global--text--color--link--hover);
77
79
  --pf-v6-c-alert-group__overflow-button--hover--BackgroundColor: var(--pf-t--global--background--color--floating--hover);
78
80
  --pf-v6-c-alert-group__overflow-button--hover--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
@@ -103,10 +105,23 @@
103
105
  padding-inline-end: var(--pf-v6-c-alert-group__overflow-button--PaddingInlineEnd);
104
106
  color: var(--pf-v6-c-alert-group__overflow-button--Color);
105
107
  background-color: var(--pf-v6-c-alert-group__overflow-button--BackgroundColor);
106
- border-width: var(--pf-v6-c-alert-group__overflow-button--BorderWidth);
108
+ border: 0;
107
109
  border-radius: var(--pf-v6-c-alert-group__overflow-button--BorderRadius);
108
110
  box-shadow: var(--pf-v6-c-alert-group__overflow-button--BoxShadow);
109
111
  }
112
+ .pf-v6-c-alert-group__overflow-button::after {
113
+ position: absolute;
114
+ inset: 0;
115
+ pointer-events: none;
116
+ content: "";
117
+ border: var(--pf-v6-c-alert-group__overflow-button--BorderWidth) solid var(--pf-v6-c-alert-group__overflow-button--BorderColor);
118
+ border-radius: inherit;
119
+ }
120
+ .pf-v6-c-alert-group__overflow-button:hover, .pf-v6-c-alert-group__overflow-button:focus {
121
+ --pf-v6-c-alert-group__overflow-button--BorderWidth: var(--pf-v6-c-alert-group__overflow-button--hover--BorderWidth);
122
+ --pf-v6-c-alert-group__overflow-button--BackgroundColor: var(--pf-v6-c-alert-group__overflow-button--hover--BackgroundColor);
123
+ --pf-v6-c-alert-group__overflow-button--Color: var(--pf-v6-c-alert-group__overflow-button--hover--Color);
124
+ }
110
125
 
111
126
  .pf-v6-c-alert-group__item {
112
127
  display: grid;
@@ -161,17 +176,4 @@
161
176
  .pf-v6-c-alert-group__item.pf-m-offstage-right .pf-v6-c-alert, .pf-v6-c-alert-group__item.pf-m-outgoing .pf-v6-c-alert {
162
177
  transition: var(--pf-v6-c-alert-group--m-toast__item--m-offstage-right--c-alert--Transition, var(--pf-v6-c-alert-group--m-toast__item--m-outgoing--c-alert--Transition));
163
178
  }
164
- }
165
- .pf-v6-c-alert-group__item:hover {
166
- --pf-v6-c-alert-group__overflow-button--Color: var(--pf-v6-c-alert-group__overflow-button--hover--Color);
167
- --pf-v6-c-alert-group__overflow-button--BackgroundColor: var(--pf-v6-c-alert-group__overflow-button--hover--BackgroundColor);
168
- --pf-v6-c-alert-group__overflow-button--BoxShadow: var(--pf-v6-c-alert-group__overflow-button--hover--BoxShadow);
169
- }
170
- .pf-v6-c-alert-group__item:focus {
171
- --pf-v6-c-alert-group__overflow-button--Color: var(--pf-v6-c-alert-group__overflow-button--focus--Color);
172
- --pf-v6-c-alert-group__overflow-button--BoxShadow: var(--pf-v6-c-alert-group__overflow-button--focus--BoxShadow);
173
- }
174
- .pf-v6-c-alert-group__item:active {
175
- --pf-v6-c-alert-group__overflow-button--Color: var(--pf-v6-c-alert-group__overflow-button--active--Color);
176
- --pf-v6-c-alert-group__overflow-button--BoxShadow: var(--pf-v6-c-alert-group__overflow-button--active--BoxShadow);
177
179
  }
@@ -90,7 +90,8 @@
90
90
  --#{$alert-group}--m-toast__item--m-offstage-right--c-alert--Transition: initial;
91
91
 
92
92
  // Overflow button
93
- --#{$alert-group}__overflow-button--BorderWidth: 0;
93
+ --#{$alert-group}__overflow-button--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
94
+ --#{$alert-group}__overflow-button--BorderColor: var(--pf-t--global--border--color--high-contrast);
94
95
  --#{$alert-group}__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
95
96
  --#{$alert-group}__overflow-button--PaddingBlockStart: var(--pf-t--global--spacer--md);
96
97
  --#{$alert-group}__overflow-button--PaddingInlineEnd: var(--pf-t--global--spacer--md);
@@ -99,8 +100,11 @@
99
100
  --#{$alert-group}__overflow-button--Color: var(--pf-t--global--text--color--link--default);
100
101
  --#{$alert-group}__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
101
102
  --#{$alert-group}__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
103
+ --#{$alert-group}__overflow-button--hover--BorderWidth: var(--pf-t--global--border--width--high-contrast--strong);
102
104
  --#{$alert-group}__overflow-button--hover--Color: var(--pf-t--global--text--color--link--hover);
103
105
  --#{$alert-group}__overflow-button--hover--BackgroundColor: var(--pf-t--global--background--color--floating--hover);
106
+
107
+ // TODO - remove this block in breaking change, not used
104
108
  --#{$alert-group}__overflow-button--hover--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
105
109
  --#{$alert-group}__overflow-button--focus--Color: var(--pf-t--global--text--color--link--hover);
106
110
  --#{$alert-group}__overflow-button--focus--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
@@ -134,9 +138,25 @@
134
138
  padding-inline-end: var(--#{$alert-group}__overflow-button--PaddingInlineEnd);
135
139
  color: var(--#{$alert-group}__overflow-button--Color);
136
140
  background-color: var(--#{$alert-group}__overflow-button--BackgroundColor);
137
- border-width: var(--#{$alert-group}__overflow-button--BorderWidth);
141
+ border: 0;
138
142
  border-radius: var(--#{$alert-group}__overflow-button--BorderRadius);
139
143
  box-shadow: var(--#{$alert-group}__overflow-button--BoxShadow);
144
+
145
+ &::after {
146
+ position: absolute;
147
+ inset: 0;
148
+ pointer-events: none;
149
+ content: "";
150
+ border: var(--#{$alert-group}__overflow-button--BorderWidth) solid var(--#{$alert-group}__overflow-button--BorderColor);
151
+ border-radius: inherit;
152
+ }
153
+
154
+ &:hover,
155
+ &:focus {
156
+ --#{$alert-group}__overflow-button--BorderWidth: var(--#{$alert-group}__overflow-button--hover--BorderWidth);
157
+ --#{$alert-group}__overflow-button--BackgroundColor: var(--#{$alert-group}__overflow-button--hover--BackgroundColor);
158
+ --#{$alert-group}__overflow-button--Color: var(--#{$alert-group}__overflow-button--hover--Color);
159
+ }
140
160
  }
141
161
 
142
162
  .#{$alert-group}__item {
@@ -262,20 +282,4 @@
262
282
  }
263
283
  }
264
284
  }
265
-
266
- &:hover {
267
- --#{$alert-group}__overflow-button--Color: var(--#{$alert-group}__overflow-button--hover--Color);
268
- --#{$alert-group}__overflow-button--BackgroundColor: var(--#{$alert-group}__overflow-button--hover--BackgroundColor);
269
- --#{$alert-group}__overflow-button--BoxShadow: var(--#{$alert-group}__overflow-button--hover--BoxShadow);
270
- }
271
-
272
- &:focus {
273
- --#{$alert-group}__overflow-button--Color: var(--#{$alert-group}__overflow-button--focus--Color);
274
- --#{$alert-group}__overflow-button--BoxShadow: var(--#{$alert-group}__overflow-button--focus--BoxShadow);
275
- }
276
-
277
- &:active {
278
- --#{$alert-group}__overflow-button--Color: var(--#{$alert-group}__overflow-button--active--Color);
279
- --#{$alert-group}__overflow-button--BoxShadow: var(--#{$alert-group}__overflow-button--active--BoxShadow);
280
- }
281
285
  }
@@ -12,6 +12,7 @@
12
12
  --pf-v6-c-badge__toggle-icon--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
13
13
  --pf-v6-c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
14
14
  --pf-v6-c-badge--m-read--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
15
+ --pf-v6-c-badge--m-read--BorderColor: var(--pf-t--global--border--color--high-contrast);
15
16
  --pf-v6-c-badge--m-read__toggle-icon--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
16
17
  --pf-v6-c-badge--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
17
18
  --pf-v6-c-badge--m-unread--Color: var(--pf-t--global--text--color--on-brand--default);
@@ -44,6 +45,7 @@
44
45
  border-radius: inherit;
45
46
  }
46
47
  .pf-v6-c-badge.pf-m-read {
48
+ --pf-v6-c-badge--BorderColor: var(--pf-v6-c-badge--m-read--BorderColor);
47
49
  --pf-v6-c-badge--Color: var(--pf-v6-c-badge--m-read--Color);
48
50
  --pf-v6-c-badge--BackgroundColor: var(--pf-v6-c-badge--m-read--BackgroundColor);
49
51
  --pf-v6-c-badge__toggle-icon--Color: var(--pf-v6-c-badge--m-read__toggle-icon--Color);
@@ -19,6 +19,7 @@
19
19
  // Modifiers
20
20
  --#{$badge}--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
21
21
  --#{$badge}--m-read--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
22
+ --#{$badge}--m-read--BorderColor: var(--pf-t--global--border--color--high-contrast);
22
23
  --#{$badge}--m-read__toggle-icon--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
23
24
  --#{$badge}--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
24
25
  --#{$badge}--m-unread--Color: var(--pf-t--global--text--color--on-brand--default);
@@ -52,6 +53,7 @@
52
53
  }
53
54
 
54
55
  &.pf-m-read {
56
+ --#{$badge}--BorderColor: var(--#{$badge}--m-read--BorderColor);
55
57
  --#{$badge}--Color: var(--#{$badge}--m-read--Color);
56
58
  --#{$badge}--BackgroundColor: var(--#{$badge}--m-read--BackgroundColor);
57
59
  --#{$badge}__toggle-icon--Color: var(--#{$badge}--m-read__toggle-icon--Color);
@@ -8,6 +8,8 @@
8
8
  --pf-v6-c-banner--FontSize: var(--pf-t--global--font--size--body--default);
9
9
  --pf-v6-c-banner--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
10
10
  --pf-v6-c-banner--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
11
+ --pf-v6-c-banner--BorderColor: var(--pf-t--global--border--color--high-contrast);
12
+ --pf-v6-c-banner--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
11
13
  --pf-v6-c-banner--link--Color: var(--pf-v6-c-banner--Color);
12
14
  --pf-v6-c-banner--link--TextDecoration: underline;
13
15
  --pf-v6-c-banner--link--hover--Color: var(--pf-v6-c-banner--Color);
@@ -58,6 +60,8 @@
58
60
  color: var(--pf-v6-c-banner--Color);
59
61
  white-space: nowrap;
60
62
  background-color: var(--pf-v6-c-banner--BackgroundColor);
63
+ border-block-start: var(--pf-v6-c-banner--BorderWidth) solid var(--pf-v6-c-banner--BorderColor);
64
+ border-block-end: var(--pf-v6-c-banner--BorderWidth) solid var(--pf-v6-c-banner--BorderColor);
61
65
  }
62
66
  .pf-v6-c-banner.pf-m-danger {
63
67
  --pf-v6-c-banner--BackgroundColor: var(--pf-v6-c-banner--m-danger--BackgroundColor);
@@ -10,6 +10,8 @@
10
10
  --#{$banner}--FontSize: var(--pf-t--global--font--size--body--default);
11
11
  --#{$banner}--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
12
12
  --#{$banner}--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
13
+ --#{$banner}--BorderColor: var(--pf-t--global--border--color--high-contrast);
14
+ --#{$banner}--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
13
15
 
14
16
  @media (min-width: $pf-v6-global--breakpoint--md) {
15
17
  --#{$banner}--PaddingInlineEnd: var(--#{$banner}--md--PaddingInlineEnd);
@@ -67,6 +69,8 @@
67
69
  color: var(--#{$banner}--Color);
68
70
  white-space: nowrap;
69
71
  background-color: var(--#{$banner}--BackgroundColor);
72
+ border-block-start: var(--#{$banner}--BorderWidth) solid var(--#{$banner}--BorderColor);
73
+ border-block-end: var(--#{$banner}--BorderWidth) solid var(--#{$banner}--BorderColor);
70
74
 
71
75
  &.pf-m-danger {
72
76
  --#{$banner}--BackgroundColor: var(--#{$banner}--m-danger--BackgroundColor);