@patternfly/patternfly 4.195.0 → 4.196.2

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 (183) hide show
  1. package/assets/images/icon-github.hbs +4 -0
  2. package/assets/images/icon-google.hbs +4 -0
  3. package/assets/images/icon-red-hat.hbs +1 -0
  4. package/base/_globals.scss +7 -0
  5. package/base/_variables.scss +9 -0
  6. package/base/patternfly-globals.css +4 -0
  7. package/base/patternfly-variables.css +85 -0
  8. package/components/AboutModalBox/about-modal-box.css +28 -0
  9. package/components/AboutModalBox/about-modal-box.scss +7 -0
  10. package/components/AboutModalBox/themes/dark/about-modal-box.scss +4 -6
  11. package/components/Accordion/accordion.css +6 -0
  12. package/components/Accordion/accordion.scss +7 -0
  13. package/components/Accordion/themes/dark/accordion.scss +3 -1
  14. package/components/Alert/alert.css +14 -0
  15. package/components/Alert/alert.scss +7 -0
  16. package/components/Alert/themes/dark/alert.scss +3 -1
  17. package/components/AppLauncher/app-launcher.css +12 -0
  18. package/components/AppLauncher/app-launcher.scss +7 -0
  19. package/components/AppLauncher/themes/dark/app-launcher.scss +3 -1
  20. package/components/Badge/badge.css +5 -0
  21. package/components/Badge/badge.scss +7 -0
  22. package/components/Badge/themes/dark/badge.scss +3 -1
  23. package/components/Banner/banner.css +31 -0
  24. package/components/Banner/banner.scss +7 -0
  25. package/components/Banner/themes/dark/banner.scss +4 -2
  26. package/components/Breadcrumb/breadcrumb.css +4 -0
  27. package/components/Breadcrumb/breadcrumb.scss +7 -0
  28. package/components/Breadcrumb/themes/dark/breadcrumb.scss +3 -1
  29. package/components/Button/button.css +38 -0
  30. package/components/Button/button.scss +7 -0
  31. package/components/Button/themes/dark/button.scss +3 -1
  32. package/components/CalendarMonth/calendar-month.css +22 -0
  33. package/components/CalendarMonth/calendar-month.scss +7 -0
  34. package/components/CalendarMonth/themes/dark/calendar-month.scss +3 -1
  35. package/components/Chip/chip.css +6 -0
  36. package/components/Chip/chip.scss +7 -0
  37. package/components/Chip/themes/dark/chip.scss +3 -1
  38. package/components/ClipboardCopy/clipboard-copy.css +11 -0
  39. package/components/ClipboardCopy/clipboard-copy.scss +7 -0
  40. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +3 -1
  41. package/components/CodeEditor/code-editor.css +4 -0
  42. package/components/CodeEditor/code-editor.scss +7 -0
  43. package/components/CodeEditor/themes/dark/code-editor.scss +3 -1
  44. package/components/ContextSelector/context-selector.css +17 -0
  45. package/components/ContextSelector/context-selector.scss +7 -0
  46. package/components/ContextSelector/themes/dark/context-selector.scss +3 -1
  47. package/components/DataList/data-list.css +7 -0
  48. package/components/DataList/data-list.scss +7 -0
  49. package/components/DataList/themes/dark/data-list.scss +3 -1
  50. package/components/DatePicker/date-picker.css +5 -0
  51. package/components/DatePicker/date-picker.scss +7 -0
  52. package/components/DatePicker/themes/dark/date-picker.scss +3 -1
  53. package/components/Drawer/drawer.css +7 -0
  54. package/components/Drawer/drawer.scss +7 -0
  55. package/components/Drawer/themes/dark/drawer.scss +3 -1
  56. package/components/Dropdown/dropdown.css +22 -0
  57. package/components/Dropdown/dropdown.scss +7 -0
  58. package/components/Dropdown/themes/dark/dropdown.scss +3 -1
  59. package/components/Form/form.css +4 -0
  60. package/components/Form/form.scss +7 -0
  61. package/components/Form/themes/dark/form.scss +3 -1
  62. package/components/FormControl/form-control.css +22 -0
  63. package/components/FormControl/form-control.scss +7 -0
  64. package/components/FormControl/themes/dark/form-control.scss +3 -1
  65. package/components/HelperText/helper-text.css +4 -0
  66. package/components/HelperText/helper-text.scss +7 -0
  67. package/components/HelperText/themes/dark/helper-text.scss +3 -1
  68. package/components/Hint/hint.css +5 -0
  69. package/components/Hint/hint.scss +7 -0
  70. package/components/Hint/themes/dark/hint.scss +3 -1
  71. package/components/InputGroup/input-group.css +22 -0
  72. package/components/InputGroup/input-group.scss +7 -0
  73. package/components/InputGroup/themes/dark/input-group.scss +3 -1
  74. package/components/Label/label.css +71 -2
  75. package/components/Label/label.scss +37 -2
  76. package/components/Label/themes/dark/label.scss +3 -1
  77. package/components/LogViewer/log-viewer.css +28 -0
  78. package/components/LogViewer/log-viewer.scss +7 -0
  79. package/components/LogViewer/themes/dark/log-viewer.scss +4 -2
  80. package/components/Login/login.css +31 -0
  81. package/components/Login/login.scss +7 -0
  82. package/components/Login/themes/dark/login.scss +4 -2
  83. package/components/Masthead/masthead.css +32 -0
  84. package/components/Masthead/masthead.scss +7 -0
  85. package/components/Masthead/themes/dark/masthead.scss +4 -2
  86. package/components/Menu/menu.css +9 -0
  87. package/components/Menu/menu.scss +7 -0
  88. package/components/Menu/themes/dark/menu.scss +3 -1
  89. package/components/MenuToggle/menu-toggle.css +19 -0
  90. package/components/MenuToggle/menu-toggle.scss +7 -0
  91. package/components/MenuToggle/themes/dark/menu-toggle.scss +3 -1
  92. package/components/ModalBox/modal-box.css +4 -0
  93. package/components/ModalBox/modal-box.scss +7 -0
  94. package/components/ModalBox/themes/dark/modal-box.scss +3 -1
  95. package/components/Nav/nav.css +34 -0
  96. package/components/Nav/nav.scss +7 -0
  97. package/components/Nav/themes/dark/nav.scss +3 -1
  98. package/components/NotificationBadge/notification-badge.css +4 -0
  99. package/components/NotificationBadge/notification-badge.scss +7 -0
  100. package/components/NotificationBadge/themes/dark/notification-badge.scss +3 -1
  101. package/components/NotificationDrawer/notification-drawer.css +11 -0
  102. package/components/NotificationDrawer/notification-drawer.scss +7 -0
  103. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +3 -1
  104. package/components/OptionsMenu/options-menu.css +17 -0
  105. package/components/OptionsMenu/options-menu.scss +7 -0
  106. package/components/OptionsMenu/themes/dark/options-menu.scss +3 -1
  107. package/components/Page/page.css +66 -1
  108. package/components/Page/page.scss +13 -1
  109. package/components/Page/themes/dark/page.scss +4 -2
  110. package/components/Pagination/pagination.css +4 -0
  111. package/components/Pagination/pagination.scss +7 -0
  112. package/components/Pagination/themes/dark/pagination.scss +3 -1
  113. package/components/Popover/popover.css +13 -0
  114. package/components/Popover/popover.scss +7 -0
  115. package/components/Popover/themes/dark/popover.scss +3 -1
  116. package/components/Progress/progress.css +6 -0
  117. package/components/Progress/progress.scss +7 -0
  118. package/components/Progress/themes/dark/progress.scss +3 -1
  119. package/components/SearchInput/search-input.css +9 -0
  120. package/components/SearchInput/search-input.scss +7 -0
  121. package/components/SearchInput/themes/dark/search-input.scss +3 -1
  122. package/components/Select/select.css +16 -0
  123. package/components/Select/select.scss +7 -0
  124. package/components/Select/themes/dark/select.scss +3 -1
  125. package/components/SimpleList/simple-list.css +11 -0
  126. package/components/SimpleList/simple-list.scss +7 -0
  127. package/components/SimpleList/themes/dark/simple-list.scss +3 -1
  128. package/components/Skeleton/skeleton.css +6 -0
  129. package/components/Skeleton/skeleton.scss +7 -0
  130. package/components/Skeleton/themes/dark/skeleton.scss +3 -1
  131. package/components/Switch/switch.css +7 -0
  132. package/components/Switch/switch.scss +7 -0
  133. package/components/Switch/themes/dark/switch.scss +3 -1
  134. package/components/Table/table.css +7 -0
  135. package/components/Table/table.scss +7 -0
  136. package/components/Table/themes/dark/table.scss +7 -1
  137. package/components/Tabs/tabs.css +6 -0
  138. package/components/Tabs/tabs.scss +7 -0
  139. package/components/Tabs/themes/dark/tabs.scss +3 -1
  140. package/components/Tile/themes/dark/tile.scss +3 -1
  141. package/components/Tile/tile.css +7 -0
  142. package/components/Tile/tile.scss +7 -0
  143. package/components/ToggleGroup/themes/dark/toggle-group.scss +3 -1
  144. package/components/ToggleGroup/toggle-group.css +8 -0
  145. package/components/ToggleGroup/toggle-group.scss +7 -0
  146. package/components/Tooltip/themes/dark/tooltip.scss +3 -1
  147. package/components/Tooltip/tooltip.css +13 -0
  148. package/components/Tooltip/tooltip.scss +7 -0
  149. package/components/TreeView/themes/dark/tree-view.scss +3 -1
  150. package/components/TreeView/tree-view.css +5 -0
  151. package/components/TreeView/tree-view.scss +7 -0
  152. package/components/Wizard/themes/dark/wizard.scss +4 -2
  153. package/components/Wizard/wizard.css +34 -0
  154. package/components/Wizard/wizard.scss +7 -0
  155. package/docs/components/FormControl/examples/FormControl.md +2 -0
  156. package/docs/components/Label/examples/Label.md +147 -0
  157. package/docs/components/Table/examples/Table.md +477 -3
  158. package/docs/demos/Table/examples/Table.css +3 -0
  159. package/docs/demos/Table/examples/Table.md +1092 -1
  160. package/package.json +1 -1
  161. package/patternfly-base-no-reset.css +93 -4
  162. package/patternfly-base.css +93 -4
  163. package/patternfly-no-reset.css +2223 -35
  164. package/patternfly-theme-dark.css +0 -636
  165. package/patternfly-theme-dark.scss +1 -7
  166. package/patternfly.css +2223 -35
  167. package/patternfly.min.css +1 -1
  168. package/patternfly.min.css.map +1 -1
  169. package/sass-utilities/colors.scss +1 -0
  170. package/sass-utilities/mixins.scss +7 -0
  171. package/sass-utilities/scss-variables.scss +1 -0
  172. package/sass-utilities/themes/dark/_all.scss +4 -0
  173. package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
  174. package/patternfly-theme-dark-prefers-color-scheme.css +0 -711
  175. package/patternfly-theme-dark-prefers-color-scheme.scss +0 -5
  176. package/themes/dark/_chart-globals.scss +0 -39
  177. package/themes/dark/_patternfly-theme-dark.scss +0 -119
  178. package/themes/dark/_variables.scss +0 -94
  179. package/themes/dark/colors.scss +0 -16
  180. package/themes/dark/globals.scss +0 -7
  181. package/themes/dark/mixins.scss +0 -5
  182. package/themes/dark/placeholders.scss +0 -30
  183. package/themes/dark/scss-variables.scss +0 -85
@@ -198,4 +198,32 @@
198
198
 
199
199
  .pf-c-log-viewer__timestamp {
200
200
  font-weight: var(--pf-c-log-viewer__timestamp--FontWeight);
201
+ }
202
+
203
+ :where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main {
204
+ --pf-global--Color--100: #fff;
205
+ --pf-global--Color--200: #aaabac;
206
+ --pf-global--BorderColor--100: #444548;
207
+ --pf-global--primary-color--100: #1fa7f8;
208
+ --pf-global--link--Color: #1fa7f8;
209
+ --pf-global--link--Color--hover: #73bcf7;
210
+ --pf-global--BackgroundColor--100: #1b1d21;
211
+ }
212
+ :where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main .pf-c-button {
213
+ --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
214
+ --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
215
+ --pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
216
+ --pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
217
+ --pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
218
+ --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
219
+ --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
220
+ --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
221
+ --pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
222
+ --pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
223
+ --pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
224
+ --pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
225
+ }
226
+
227
+ :where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main {
228
+ color: var(--pf-global--Color--100);
201
229
  }
@@ -211,3 +211,10 @@
211
211
  .pf-c-log-viewer__timestamp {
212
212
  font-weight: var(--pf-c-log-viewer__timestamp--FontWeight);
213
213
  }
214
+
215
+ // stylelint-disable no-invalid-position-at-import-rule
216
+ @import "themes/dark/log-viewer";
217
+
218
+ @include pf-theme-dark {
219
+ @include pf-theme-dark-log-viewer;
220
+ }
@@ -1,5 +1,7 @@
1
- @mixin log-viewer() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-log-viewer() {
2
4
  .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main {
3
- @include pf-t-dark;
5
+ @include pf-theme-dark--t-dark;
4
6
  }
5
7
  }
@@ -294,4 +294,35 @@
294
294
  }
295
295
  .pf-c-login__footer .pf-c-list:not(:only-child) {
296
296
  padding-top: var(--pf-c-login__footer--c-list--PaddingTop);
297
+ }
298
+
299
+ :where(.pf-theme-dark) .pf-c-login__header,
300
+ :where(.pf-theme-dark) .pf-c-login__footer {
301
+ --pf-global--Color--100: #fff;
302
+ --pf-global--Color--200: #aaabac;
303
+ --pf-global--BorderColor--100: #444548;
304
+ --pf-global--primary-color--100: #1fa7f8;
305
+ --pf-global--link--Color: #1fa7f8;
306
+ --pf-global--link--Color--hover: #73bcf7;
307
+ --pf-global--BackgroundColor--100: #1b1d21;
308
+ }
309
+ :where(.pf-theme-dark) .pf-c-login__header .pf-c-button,
310
+ :where(.pf-theme-dark) .pf-c-login__footer .pf-c-button {
311
+ --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
312
+ --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
313
+ --pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
314
+ --pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
315
+ --pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
316
+ --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
317
+ --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
318
+ --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
319
+ --pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
320
+ --pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
321
+ --pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
322
+ --pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
323
+ }
324
+
325
+ :where(.pf-theme-dark) .pf-c-login__header,
326
+ :where(.pf-theme-dark) .pf-c-login__footer {
327
+ color: var(--pf-global--Color--100);
297
328
  }
@@ -294,3 +294,10 @@
294
294
  }
295
295
  }
296
296
  }
297
+
298
+ // stylelint-disable no-invalid-position-at-import-rule
299
+ @import "themes/dark/login";
300
+
301
+ @include pf-theme-dark {
302
+ @include pf-theme-dark-login;
303
+ }
@@ -1,6 +1,8 @@
1
- @mixin login() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-login() {
2
4
  .pf-c-login__header,
3
5
  .pf-c-login__footer {
4
- @include pf-t-dark;
6
+ @include pf-theme-dark--t-dark;
5
7
  }
6
8
  }
@@ -657,4 +657,36 @@
657
657
  .pf-c-masthead.pf-m-inset-2xl-on-2xl {
658
658
  --pf-c-masthead--inset: var(--pf-global--spacer--2xl);
659
659
  }
660
+ }
661
+
662
+ :where(.pf-theme-dark) .pf-c-masthead {
663
+ --pf-global--Color--100: #fff;
664
+ --pf-global--Color--200: #aaabac;
665
+ --pf-global--BorderColor--100: #444548;
666
+ --pf-global--primary-color--100: #1fa7f8;
667
+ --pf-global--link--Color: #1fa7f8;
668
+ --pf-global--link--Color--hover: #73bcf7;
669
+ --pf-global--BackgroundColor--100: #1b1d21;
670
+ }
671
+ :where(.pf-theme-dark) .pf-c-masthead .pf-c-button {
672
+ --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
673
+ --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
674
+ --pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
675
+ --pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
676
+ --pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
677
+ --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
678
+ --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
679
+ --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
680
+ --pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
681
+ --pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
682
+ --pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
683
+ --pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
684
+ }
685
+
686
+ :where(.pf-theme-dark) .pf-c-masthead {
687
+ --pf-c-masthead--BackgroundColor: var(--pf-global--palette--black-1000);
688
+ color: var(--pf-global--Color--100);
689
+ }
690
+ :where(.pf-theme-dark) .pf-c-masthead .pf-c-toolbar {
691
+ --pf-c-toolbar--BackgroundColor: var(--pf-global--palette--black-1000);
660
692
  }
@@ -355,3 +355,10 @@ $pf-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
355
355
  }
356
356
  }
357
357
  // stylelint-enable
358
+
359
+ // stylelint-disable no-invalid-position-at-import-rule
360
+ @import "themes/dark/masthead";
361
+
362
+ @include pf-theme-dark {
363
+ @include pf-theme-dark-masthead;
364
+ }
@@ -1,4 +1,6 @@
1
- @mixin masthead() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-masthead() {
2
4
  .pf-c-masthead {
3
5
  --pf-c-masthead--BackgroundColor: var(--pf-global--palette--black-1000);
4
6
 
@@ -6,6 +8,6 @@
6
8
  --pf-c-toolbar--BackgroundColor: var(--pf-global--palette--black-1000);
7
9
  }
8
10
 
9
- @include pf-t-dark;
11
+ @include pf-theme-dark--t-dark;
10
12
  }
11
13
  }
@@ -630,4 +630,13 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
630
630
  content: "";
631
631
  border-top: var(--pf-c-menu__footer--after--BorderTopWidth) solid var(--pf-c-menu__footer--after--BorderTopColor);
632
632
  border-bottom: var(--pf-c-menu__footer--after--BorderBottomWidth) solid var(--pf-c-menu__footer--after--BorderBottomColor);
633
+ }
634
+
635
+ :where(.pf-theme-dark) .pf-c-menu {
636
+ --pf-c-menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
637
+ --pf-c-menu__list-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
638
+ --pf-c-menu__list-item--focus-within--BackgroundColor: var(--pf-global--BackgroundColor--400);
639
+ --pf-c-menu__list-item--m-disabled__item--Color: var(--pf-global--Color--200);
640
+ --pf-c-menu__group-title--FontWeight: var(--pf-global--FontWeight--bold);
641
+ --pf-c-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
633
642
  }
@@ -742,3 +742,10 @@
742
742
  border-bottom: var(--pf-c-menu__footer--after--BorderBottomWidth) solid var(--pf-c-menu__footer--after--BorderBottomColor);
743
743
  }
744
744
  }
745
+
746
+ // stylelint-disable no-invalid-position-at-import-rule
747
+ @import "themes/dark/menu";
748
+
749
+ @include pf-theme-dark {
750
+ @include pf-theme-dark-menu;
751
+ }
@@ -1,4 +1,6 @@
1
- @mixin menu() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-menu() {
2
4
  .pf-c-menu {
3
5
  --pf-c-menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
6
  --pf-c-menu__list-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
@@ -390,4 +390,23 @@
390
390
  .pf-c-menu-toggle__toggle-icon {
391
391
  margin-right: var(--pf-c-menu-toggle__toggle-icon--MarginRight);
392
392
  color: var(--pf-c-menu-toggle__toggle-icon--Color, inherit);
393
+ }
394
+
395
+ :where(.pf-theme-dark) .pf-c-menu-toggle {
396
+ --pf-c-menu-toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
397
+ --pf-c-menu-toggle--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
398
+ --pf-c-menu-toggle--active--BackgroundColor: var(--pf-global--BackgroundColor--400);
399
+ --pf-c-menu-toggle--focus--BackgroundColor: var(--pf-global--BackgroundColor--400);
400
+ --pf-c-menu-toggle--m-expanded--BackgroundColor: var(--pf-global--BackgroundColor--400);
401
+ --pf-c-menu-toggle--before--BorderTopColor: transparent;
402
+ --pf-c-menu-toggle--before--BorderRightColor: transparent;
403
+ --pf-c-menu-toggle--before--BorderBottomColor: transparent;
404
+ --pf-c-menu-toggle--before--BorderLeftColor: transparent;
405
+ --pf-c-menu-toggle--after--BorderBottomColor: var(--pf-global--BorderColor--400);
406
+ --pf-c-menu-toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
407
+ --pf-c-menu-toggle--disabled--Color: var(--pf-global--palette--black-100);
408
+ --pf-c-menu-toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
409
+ }
410
+ :where(.pf-theme-dark) .pf-c-menu-toggle.pf-m-plain {
411
+ background: transparent;
393
412
  }
@@ -531,3 +531,10 @@
531
531
  margin-right: var(--pf-c-menu-toggle__toggle-icon--MarginRight);
532
532
  color: var(--pf-c-menu-toggle__toggle-icon--Color, inherit);
533
533
  }
534
+
535
+ // stylelint-disable no-invalid-position-at-import-rule
536
+ @import "themes/dark/menu-toggle";
537
+
538
+ @include pf-theme-dark {
539
+ @include pf-theme-dark-menu-toggle;
540
+ }
@@ -1,4 +1,6 @@
1
- @mixin menu-toggle() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-menu-toggle() {
2
4
  .pf-c-menu-toggle {
3
5
  --pf-c-menu-toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
4
6
  --pf-c-menu-toggle--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
@@ -179,4 +179,8 @@
179
179
  .pf-c-modal-box__footer > .pf-c-button:not(:last-child) {
180
180
  --pf-c-modal-box__footer--c-button--MarginRight: var(--pf-c-modal-box__footer--c-button--sm--MarginRight);
181
181
  }
182
+ }
183
+
184
+ :where(.pf-theme-dark) .pf-c-modal-box {
185
+ --pf-c-modal-box--BackgroundColor: var(--pf-global--BackgroundColor--300);
182
186
  }
@@ -216,3 +216,10 @@
216
216
  }
217
217
  }
218
218
  }
219
+
220
+ // stylelint-disable no-invalid-position-at-import-rule
221
+ @import "themes/dark/modal-box";
222
+
223
+ @include pf-theme-dark {
224
+ @include pf-theme-dark-modal-box;
225
+ }
@@ -1,4 +1,6 @@
1
- @mixin modal-box() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-modal-box() {
2
4
  .pf-c-modal-box {
3
5
  --pf-c-modal-box--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
6
  }
@@ -925,4 +925,38 @@
925
925
  }
926
926
  .pf-c-nav__scroll-button:nth-of-type(2)::before {
927
927
  left: 0;
928
+ }
929
+
930
+ :where(.pf-theme-dark) .pf-c-nav {
931
+ --pf-c-nav__item--item__link--after--Top: -1px;
932
+ --pf-c-nav__item--before--BorderColor: var(--pf-global--BorderColor--100);
933
+ --pf-c-nav__link--hover--BackgroundColor: var(--pf-global--BackgroundColor--300);
934
+ --pf-c-nav__link--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
935
+ --pf-c-nav__link--active--BackgroundColor: var(--pf-global--BackgroundColor--300);
936
+ --pf-c-nav__link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--300);
937
+ --pf-c-nav__link--before--BorderColor: var(--pf-global--BorderColor--100);
938
+ --pf-c-nav--m-tertiary__scroll-button--before--BorderColor: var(--pf-global--BorderColor--100);
939
+ --pf-c-nav__section-title--Color: var(--pf-global--Color--200);
940
+ --pf-c-nav__section-title--BorderBottomColor: var(--pf-global--BorderColor--100);
941
+ --pf-c-nav__scroll-button--before--BorderColor: var(--pf-global--BorderColor--100);
942
+ --pf-c-nav--c-divider--BackgroundColor: var(--pf-global--BorderColor--100);
943
+ --pf-c-nav__link--hover--before--BorderBottomWidth: 0;
944
+ --pf-c-nav__link--focus--before--BorderBottomWidth: 0;
945
+ --pf-c-nav__link--active--before--BorderBottomWidth: 0;
946
+ --pf-c-nav__link--m-current--before--BorderBottomWidth: 0;
947
+ }
948
+ :where(.pf-theme-dark) .pf-c-nav__link::before {
949
+ bottom: 0;
950
+ }
951
+ :where(.pf-theme-dark) .pf-c-nav__link::after {
952
+ top: var(--pf-c-nav__item--item__link--after--Top);
953
+ }
954
+ :where(.pf-theme-dark) .pf-c-nav__item + .pf-c-nav__item {
955
+ --pf-c-nav__link--after--Top: var(--pf-c-nav__item--item__link--after--Top);
956
+ }
957
+ :where(.pf-theme-dark) .pf-c-nav__subnav {
958
+ --pf-c-nav__item--item__link--after--Top: 0;
959
+ }
960
+ :where(.pf-theme-dark) .pf-c-nav__section {
961
+ --pf-c-nav__item--item__link--after--Top: 0;
928
962
  }
@@ -1150,3 +1150,10 @@
1150
1150
  }
1151
1151
  }
1152
1152
  }
1153
+
1154
+ // stylelint-disable no-invalid-position-at-import-rule
1155
+ @import "themes/dark/nav";
1156
+
1157
+ @include pf-theme-dark {
1158
+ @include pf-theme-dark-nav;
1159
+ }
@@ -1,4 +1,6 @@
1
- @mixin nav() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-nav() {
2
4
  .pf-c-nav {
3
5
  --pf-c-nav__item--item__link--after--Top: -1px;
4
6
  --pf-c-nav__item--before--BorderColor: var(--pf-global--BorderColor--100);
@@ -86,4 +86,8 @@
86
86
 
87
87
  .pf-c-notification-badge__count {
88
88
  margin-left: var(--pf-c-notification-badge__count--MarginLeft);
89
+ }
90
+
91
+ :where(.pf-theme-dark) .pf-c-notification-badge {
92
+ --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--primary-color--300);
89
93
  }
@@ -116,3 +116,10 @@
116
116
  .pf-c-notification-badge__count {
117
117
  margin-left: var(--pf-c-notification-badge__count--MarginLeft);
118
118
  }
119
+
120
+ // stylelint-disable no-invalid-position-at-import-rule
121
+ @import "themes/dark/notification-badge";
122
+
123
+ @include pf-theme-dark {
124
+ @include pf-theme-dark-notification-badge;
125
+ }
@@ -1,4 +1,6 @@
1
- @mixin notification-badge() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-notification-badge() {
2
4
  .pf-c-notification-badge {
3
5
  --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--primary-color--300);
4
6
  }
@@ -259,4 +259,15 @@
259
259
  }
260
260
  .pf-c-notification-drawer__group.pf-m-expanded .pf-c-notification-drawer__group-toggle-icon {
261
261
  transform: rotate(var(--pf-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
262
+ }
263
+
264
+ :where(.pf-theme-dark) .pf-c-notification-drawer {
265
+ --pf-c-notification-drawer--BackgroundColor: var(--pf-global--BackgroundColor--300);
266
+ --pf-c-notification-drawer__header--BackgroundColor: var(--pf-global--BackgroundColor--300);
267
+ --pf-c-notification-drawer__list-item--BackgroundColor: var(--pf-global--BackgroundColor--300);
268
+ --pf-c-notification-drawer__list-item--BoxShadow: none;
269
+ --pf-c-notification-drawer__list-item--BorderBottomColor: var(--pf-global--BorderColor--100);
270
+ --pf-c-notification-drawer__list-item--m-read--BackgroundColor: var(--pf-global--BackgroundColor--100);
271
+ --pf-c-notification-drawer__list-item--list-item--m-read--BoxShadow: none;
272
+ --pf-c-notification-drawer__group-toggle--BackgroundColor: var(--pf-global--BackgroundColor--300);
262
273
  }
@@ -303,3 +303,10 @@
303
303
  transform: rotate(var(--pf-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
304
304
  }
305
305
  }
306
+
307
+ // stylelint-disable no-invalid-position-at-import-rule
308
+ @import "themes/dark/notification-drawer";
309
+
310
+ @include pf-theme-dark {
311
+ @include pf-theme-dark-notification-drawer;
312
+ }
@@ -1,4 +1,6 @@
1
- @mixin notification-drawer() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-notification-drawer() {
2
4
  .pf-c-notification-drawer {
3
5
  --pf-c-notification-drawer--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
6
  --pf-c-notification-drawer__header--BackgroundColor: var(--pf-global--BackgroundColor--300);
@@ -241,4 +241,21 @@
241
241
  font-size: var(--pf-c-options-menu__group-title--FontSize);
242
242
  font-weight: var(--pf-c-options-menu__group-title--FontWeight);
243
243
  color: var(--pf-c-options-menu__group-title--Color);
244
+ }
245
+
246
+ :where(.pf-theme-dark) .pf-c-options-menu {
247
+ --pf-c-options-menu__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
248
+ --pf-c-options-menu__toggle--BorderTopColor: transparent;
249
+ --pf-c-options-menu__toggle--BorderRightColor: transparent;
250
+ --pf-c-options-menu__toggle--BorderBottomColor: var(--pf-global--BorderColor--400);
251
+ --pf-c-options-menu__toggle--BorderLeftColor: transparent;
252
+ --pf-c-options-menu__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
253
+ --pf-c-options-menu__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
254
+ --pf-c-options-menu__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
255
+ --pf-c-options-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
256
+ --pf-c-options-menu__group-title--FontWeight: var(--pf-global--FontWeight--bold);
257
+ --pf-c-options-menu__menu--Top: 100%;
258
+ }
259
+ :where(.pf-theme-dark) .pf-c-options-menu__toggle.pf-m-plain {
260
+ background: transparent;
244
261
  }
@@ -299,3 +299,10 @@
299
299
  font-weight: var(--pf-c-options-menu__group-title--FontWeight);
300
300
  color: var(--pf-c-options-menu__group-title--Color);
301
301
  }
302
+
303
+ // stylelint-disable no-invalid-position-at-import-rule
304
+ @import "themes/dark/options-menu";
305
+
306
+ @include pf-theme-dark {
307
+ @include pf-theme-dark-options-menu;
308
+ }
@@ -1,4 +1,6 @@
1
- @mixin options-menu() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-options-menu() {
2
4
  .pf-c-options-menu {
3
5
  --pf-c-options-menu__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
4
6
  --pf-c-options-menu__toggle--BorderTopColor: transparent;
@@ -168,6 +168,7 @@
168
168
  --pf-c-page__main-breadcrumb--main-section--PaddingTop: var(--pf-global--spacer--md);
169
169
  --pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
170
170
  --pf-c-page__main-section--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
171
+ --pf-c-page__main-section--m-light-100--BackgroundColor: var(--pf-global--BackgroundColor--150);
171
172
  --pf-c-page__main-section--m-dark-100--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-100);
172
173
  --pf-c-page__main-section--m-dark-200--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
173
174
  --pf-c-page__main-breadcrumb--page__main-tabs--PaddingTop: var(--pf-global--spacer--md);
@@ -271,11 +272,11 @@
271
272
  .pf-c-page__header,
272
273
  .pf-c-page > .pf-c-masthead {
273
274
  grid-area: header;
275
+ z-index: var(--pf-c-page__header--ZIndex);
274
276
  }
275
277
 
276
278
  .pf-c-page__header {
277
279
  color: var(--pf-global--Color--100);
278
- z-index: var(--pf-c-page__header--ZIndex);
279
280
  grid-template-columns: auto auto;
280
281
  display: grid;
281
282
  align-items: center;
@@ -640,6 +641,9 @@
640
641
  .pf-c-page__main-section.pf-m-light {
641
642
  --pf-c-page__main-section--BackgroundColor: var(--pf-c-page__main-section--m-light--BackgroundColor);
642
643
  }
644
+ .pf-c-page__main-section.pf-m-light-100 {
645
+ --pf-c-page__main-section--BackgroundColor: var(--pf-c-page__main-section--m-light-100--BackgroundColor);
646
+ }
643
647
  .pf-c-page__main-section[class*=pf-m-dark-] {
644
648
  color: var(--pf-global--Color--100);
645
649
  }
@@ -773,4 +777,65 @@
773
777
  }
774
778
  .pf-c-page__drawer > .pf-c-drawer {
775
779
  flex: 1 0 auto;
780
+ }
781
+
782
+ :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector,
783
+ :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-],
784
+ :where(.pf-theme-dark) .pf-c-page__header {
785
+ --pf-global--Color--100: #fff;
786
+ --pf-global--Color--200: #aaabac;
787
+ --pf-global--BorderColor--100: #444548;
788
+ --pf-global--primary-color--100: #1fa7f8;
789
+ --pf-global--link--Color: #1fa7f8;
790
+ --pf-global--link--Color--hover: #73bcf7;
791
+ --pf-global--BackgroundColor--100: #1b1d21;
792
+ }
793
+ :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-button,
794
+ :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-button,
795
+ :where(.pf-theme-dark) .pf-c-page__header .pf-c-button {
796
+ --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
797
+ --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
798
+ --pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
799
+ --pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
800
+ --pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
801
+ --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
802
+ --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
803
+ --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
804
+ --pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
805
+ --pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
806
+ --pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
807
+ --pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
808
+ }
809
+
810
+ :where(.pf-theme-dark) .pf-c-page {
811
+ --pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--200);
812
+ --pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor: var(--pf-global--BackgroundColor--300);
813
+ --pf-c-page__sidebar--BackgroundColor: var(--pf-global--BackgroundColor--100);
814
+ --pf-c-page__header--BackgroundColor: var(--pf-global--palette--black-1000);
815
+ }
816
+ :where(.pf-theme-dark) .pf-c-page__header-tools-item.pf-m-selected .pf-c-button {
817
+ color: var(--pf-global--Color--100);
818
+ }
819
+ :where(.pf-theme-dark) .pf-c-page__header-tools-item.pf-m-selected .pf-c-button .pf-c-notification-badge:hover::before {
820
+ background-color: var(--pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor);
821
+ }
822
+ :where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-top, :where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-bottom {
823
+ --pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
824
+ }
825
+ :where(.pf-theme-dark) .pf-c-page__main-breadcrumb.pf-m-sticky-top, :where(.pf-theme-dark) .pf-c-page__main-breadcrumb.pf-m-sticky-bottom {
826
+ --pf-c-page__main-breadcrumb--BackgroundColor: var(--pf-global--BackgroundColor--300);
827
+ }
828
+ :where(.pf-theme-dark) .pf-c-page__main-group.pf-m-sticky-top, :where(.pf-theme-dark) .pf-c-page__main-group.pf-m-sticky-bottom {
829
+ --pf-c-page__main-section--m-light--BackgroundColor: var(--pf-global--BackgroundColor--300);
830
+ --pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--300);
831
+ --pf-c-page__main-breadcrumb--BackgroundColor: var(--pf-global--BackgroundColor--300);
832
+ --pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
833
+ }
834
+ :where(.pf-theme-dark) .pf-c-page__main-section.pf-m-sticky-top, :where(.pf-theme-dark) .pf-c-page__main-section.pf-m-sticky-bottom {
835
+ --pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--300);
836
+ }
837
+ :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector,
838
+ :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-],
839
+ :where(.pf-theme-dark) .pf-c-page__header {
840
+ color: var(--pf-global--Color--100);
776
841
  }
@@ -108,6 +108,7 @@ $pf-c-page--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl",
108
108
  --pf-c-page__main-breadcrumb--main-section--PaddingTop: var(--pf-global--spacer--md);
109
109
  --pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
110
110
  --pf-c-page__main-section--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
111
+ --pf-c-page__main-section--m-light-100--BackgroundColor: var(--pf-global--BackgroundColor--150);
111
112
  --pf-c-page__main-section--m-dark-100--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-100);
112
113
  --pf-c-page__main-section--m-dark-200--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
113
114
  --pf-c-page__main-breadcrumb--page__main-tabs--PaddingTop: var(--pf-global--spacer--md);
@@ -209,12 +210,12 @@ $pf-c-page--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl",
209
210
  .pf-c-page__header,
210
211
  .pf-c-page > .pf-c-masthead {
211
212
  grid-area: header;
213
+ z-index: var(--pf-c-page__header--ZIndex);
212
214
  }
213
215
 
214
216
  .pf-c-page__header {
215
217
  @include pf-t-dark; // force the container to follow the dark theme
216
218
 
217
- z-index: var(--pf-c-page__header--ZIndex);
218
219
  grid-template-columns: auto auto;
219
220
  display: grid;
220
221
  align-items: center;
@@ -607,6 +608,10 @@ $pf-c-page--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl",
607
608
  --pf-c-page__main-section--BackgroundColor: var(--pf-c-page__main-section--m-light--BackgroundColor);
608
609
  }
609
610
 
611
+ &.pf-m-light-100 {
612
+ --pf-c-page__main-section--BackgroundColor: var(--pf-c-page__main-section--m-light-100--BackgroundColor);
613
+ }
614
+
610
615
  &[class*="pf-m-dark-"] {
611
616
  @include pf-t-dark; // force the container to follow the dark theme
612
617
  }
@@ -697,3 +702,10 @@ $pf-c-page--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl",
697
702
  flex: 1 0 auto;
698
703
  }
699
704
  }
705
+
706
+ // stylelint-disable no-invalid-position-at-import-rule
707
+ @import "themes/dark/page";
708
+
709
+ @include pf-theme-dark {
710
+ @include pf-theme-dark-page;
711
+ }
@@ -1,4 +1,6 @@
1
- @mixin page() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-page() {
2
4
  .pf-c-page {
3
5
  --pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--200);
4
6
  --pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor: var(--pf-global--BackgroundColor--300);
@@ -58,6 +60,6 @@
58
60
  .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector,
59
61
  .pf-c-page__main-section[class*="pf-m-dark-"],
60
62
  .pf-c-page__header {
61
- @include pf-t-dark;
63
+ @include pf-theme-dark--t-dark;
62
64
  }
63
65
  }
@@ -331,4 +331,8 @@
331
331
  --pf-c-pagination__total-items--Display: var(--pf-c-pagination--m-display-full__total-items--Display);
332
332
  --pf-c-pagination__total-items--Visibility: var(--pf-c-pagination--m-display-full__total-items--Visibility);
333
333
  }
334
+ }
335
+
336
+ :where(.pf-theme-dark) .pf-c-pagination {
337
+ --pf-c-pagination--m-sticky--BackgroundColor: var(--pf-global--BackgroundColor--300);
334
338
  }
@@ -295,3 +295,10 @@ $pf-c-pagination--breakpoint-map: build-breakpoint-map();
295
295
  }
296
296
  }
297
297
  // stylelint-enable
298
+
299
+ // stylelint-disable no-invalid-position-at-import-rule
300
+ @import "themes/dark/pagination";
301
+
302
+ @include pf-theme-dark {
303
+ @include pf-theme-dark-pagination;
304
+ }