@patternfly/patternfly 4.194.4 → 4.196.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 (184) hide show
  1. package/base/_globals.scss +7 -0
  2. package/base/_variables.scss +9 -0
  3. package/base/patternfly-globals.css +4 -0
  4. package/base/patternfly-variables.css +85 -0
  5. package/components/AboutModalBox/about-modal-box.css +28 -0
  6. package/components/AboutModalBox/about-modal-box.scss +7 -0
  7. package/components/AboutModalBox/themes/dark/about-modal-box.scss +4 -6
  8. package/components/Accordion/accordion.css +6 -0
  9. package/components/Accordion/accordion.scss +7 -0
  10. package/components/Accordion/themes/dark/accordion.scss +3 -1
  11. package/components/Alert/alert.css +14 -0
  12. package/components/Alert/alert.scss +7 -0
  13. package/components/Alert/themes/dark/alert.scss +3 -1
  14. package/components/AppLauncher/app-launcher.css +12 -0
  15. package/components/AppLauncher/app-launcher.scss +7 -0
  16. package/components/AppLauncher/themes/dark/app-launcher.scss +3 -1
  17. package/components/Badge/badge.css +5 -0
  18. package/components/Badge/badge.scss +7 -0
  19. package/components/Badge/themes/dark/badge.scss +3 -1
  20. package/components/Banner/banner.css +31 -0
  21. package/components/Banner/banner.scss +7 -0
  22. package/components/Banner/themes/dark/banner.scss +4 -2
  23. package/components/Breadcrumb/breadcrumb.css +4 -0
  24. package/components/Breadcrumb/breadcrumb.scss +7 -0
  25. package/components/Breadcrumb/themes/dark/breadcrumb.scss +3 -1
  26. package/components/Button/button.css +38 -0
  27. package/components/Button/button.scss +7 -0
  28. package/components/Button/themes/dark/button.scss +3 -1
  29. package/components/CalendarMonth/calendar-month.css +22 -0
  30. package/components/CalendarMonth/calendar-month.scss +7 -0
  31. package/components/CalendarMonth/themes/dark/calendar-month.scss +3 -1
  32. package/components/Chip/chip.css +6 -0
  33. package/components/Chip/chip.scss +7 -0
  34. package/components/Chip/themes/dark/chip.scss +3 -1
  35. package/components/ClipboardCopy/clipboard-copy.css +11 -0
  36. package/components/ClipboardCopy/clipboard-copy.scss +7 -0
  37. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +3 -1
  38. package/components/CodeEditor/code-editor.css +4 -0
  39. package/components/CodeEditor/code-editor.scss +7 -0
  40. package/components/CodeEditor/themes/dark/code-editor.scss +3 -1
  41. package/components/ContextSelector/context-selector.css +17 -0
  42. package/components/ContextSelector/context-selector.scss +7 -0
  43. package/components/ContextSelector/themes/dark/context-selector.scss +3 -1
  44. package/components/DataList/data-list.css +7 -0
  45. package/components/DataList/data-list.scss +7 -0
  46. package/components/DataList/themes/dark/data-list.scss +3 -1
  47. package/components/DatePicker/date-picker.css +5 -0
  48. package/components/DatePicker/date-picker.scss +7 -0
  49. package/components/DatePicker/themes/dark/date-picker.scss +3 -1
  50. package/components/Drawer/drawer.css +7 -0
  51. package/components/Drawer/drawer.scss +7 -0
  52. package/components/Drawer/themes/dark/drawer.scss +3 -1
  53. package/components/Dropdown/dropdown.css +22 -0
  54. package/components/Dropdown/dropdown.scss +7 -0
  55. package/components/Dropdown/themes/dark/dropdown.scss +3 -1
  56. package/components/Form/form.css +4 -0
  57. package/components/Form/form.scss +7 -0
  58. package/components/Form/themes/dark/form.scss +3 -1
  59. package/components/FormControl/form-control.css +22 -0
  60. package/components/FormControl/form-control.scss +7 -0
  61. package/components/FormControl/themes/dark/form-control.scss +3 -1
  62. package/components/HelperText/helper-text.css +4 -0
  63. package/components/HelperText/helper-text.scss +7 -0
  64. package/components/HelperText/themes/dark/helper-text.scss +3 -1
  65. package/components/Hint/hint.css +5 -0
  66. package/components/Hint/hint.scss +7 -0
  67. package/components/Hint/themes/dark/hint.scss +3 -1
  68. package/components/InputGroup/input-group.css +22 -0
  69. package/components/InputGroup/input-group.scss +7 -0
  70. package/components/InputGroup/themes/dark/input-group.scss +3 -1
  71. package/components/Label/label.css +71 -2
  72. package/components/Label/label.scss +37 -2
  73. package/components/Label/themes/dark/label.scss +3 -1
  74. package/components/LogViewer/log-viewer.css +28 -0
  75. package/components/LogViewer/log-viewer.scss +7 -0
  76. package/components/LogViewer/themes/dark/log-viewer.scss +4 -2
  77. package/components/Login/login.css +31 -0
  78. package/components/Login/login.scss +7 -0
  79. package/components/Login/themes/dark/login.scss +4 -2
  80. package/components/Masthead/masthead.css +32 -0
  81. package/components/Masthead/masthead.scss +7 -0
  82. package/components/Masthead/themes/dark/masthead.scss +4 -2
  83. package/components/Menu/menu.css +9 -0
  84. package/components/Menu/menu.scss +7 -0
  85. package/components/Menu/themes/dark/menu.scss +3 -1
  86. package/components/MenuToggle/menu-toggle.css +19 -0
  87. package/components/MenuToggle/menu-toggle.scss +7 -0
  88. package/components/MenuToggle/themes/dark/menu-toggle.scss +3 -1
  89. package/components/ModalBox/modal-box.css +4 -0
  90. package/components/ModalBox/modal-box.scss +7 -0
  91. package/components/ModalBox/themes/dark/modal-box.scss +3 -1
  92. package/components/Nav/nav.css +34 -0
  93. package/components/Nav/nav.scss +7 -0
  94. package/components/Nav/themes/dark/nav.scss +3 -1
  95. package/components/NotificationBadge/notification-badge.css +4 -0
  96. package/components/NotificationBadge/notification-badge.scss +7 -0
  97. package/components/NotificationBadge/themes/dark/notification-badge.scss +3 -1
  98. package/components/NotificationDrawer/notification-drawer.css +11 -0
  99. package/components/NotificationDrawer/notification-drawer.scss +7 -0
  100. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +3 -1
  101. package/components/OptionsMenu/options-menu.css +17 -0
  102. package/components/OptionsMenu/options-menu.scss +7 -0
  103. package/components/OptionsMenu/themes/dark/options-menu.scss +3 -1
  104. package/components/Page/page.css +65 -0
  105. package/components/Page/page.scss +12 -0
  106. package/components/Page/themes/dark/page.scss +4 -2
  107. package/components/Pagination/pagination.css +4 -0
  108. package/components/Pagination/pagination.scss +7 -0
  109. package/components/Pagination/themes/dark/pagination.scss +3 -1
  110. package/components/Popover/popover.css +13 -0
  111. package/components/Popover/popover.scss +7 -0
  112. package/components/Popover/themes/dark/popover.scss +3 -1
  113. package/components/Progress/progress.css +6 -0
  114. package/components/Progress/progress.scss +7 -0
  115. package/components/Progress/themes/dark/progress.scss +3 -1
  116. package/components/SearchInput/search-input.css +9 -0
  117. package/components/SearchInput/search-input.scss +7 -0
  118. package/components/SearchInput/themes/dark/search-input.scss +3 -1
  119. package/components/Select/select.css +16 -0
  120. package/components/Select/select.scss +7 -0
  121. package/components/Select/themes/dark/select.scss +3 -1
  122. package/components/SimpleList/simple-list.css +11 -0
  123. package/components/SimpleList/simple-list.scss +7 -0
  124. package/components/SimpleList/themes/dark/simple-list.scss +3 -1
  125. package/components/Skeleton/skeleton.css +6 -0
  126. package/components/Skeleton/skeleton.scss +7 -0
  127. package/components/Skeleton/themes/dark/skeleton.scss +3 -1
  128. package/components/Switch/switch.css +7 -0
  129. package/components/Switch/switch.scss +7 -0
  130. package/components/Switch/themes/dark/switch.scss +3 -1
  131. package/components/Table/table.css +7 -0
  132. package/components/Table/table.scss +7 -0
  133. package/components/Table/themes/dark/table.scss +7 -1
  134. package/components/Tabs/tabs.css +6 -0
  135. package/components/Tabs/tabs.scss +7 -0
  136. package/components/Tabs/themes/dark/tabs.scss +3 -1
  137. package/components/Tile/themes/dark/tile.scss +3 -1
  138. package/components/Tile/tile.css +7 -0
  139. package/components/Tile/tile.scss +7 -0
  140. package/components/ToggleGroup/themes/dark/toggle-group.scss +3 -1
  141. package/components/ToggleGroup/toggle-group.css +8 -0
  142. package/components/ToggleGroup/toggle-group.scss +7 -0
  143. package/components/Tooltip/themes/dark/tooltip.scss +3 -1
  144. package/components/Tooltip/tooltip.css +13 -0
  145. package/components/Tooltip/tooltip.scss +7 -0
  146. package/components/TreeView/themes/dark/tree-view.scss +3 -1
  147. package/components/TreeView/tree-view.css +5 -0
  148. package/components/TreeView/tree-view.scss +7 -0
  149. package/components/Wizard/themes/dark/wizard.scss +4 -2
  150. package/components/Wizard/wizard.css +34 -0
  151. package/components/Wizard/wizard.scss +7 -0
  152. package/docs/components/FormControl/examples/FormControl.md +2 -0
  153. package/docs/components/Label/examples/Label.md +147 -0
  154. package/docs/components/Table/examples/Table.md +477 -3
  155. package/docs/demos/Drawer/examples/Drawer.md +1930 -0
  156. package/docs/demos/JumpLinks/examples/JumpLinks.md +1946 -0
  157. package/docs/utilities/Text/examples/Text.md +43 -26
  158. package/package.json +1 -1
  159. package/patternfly-addons.css +24 -0
  160. package/patternfly-base-no-reset.css +93 -4
  161. package/patternfly-base.css +93 -4
  162. package/patternfly-no-reset.css +2222 -34
  163. package/patternfly-theme-dark.css +0 -636
  164. package/patternfly-theme-dark.scss +1 -7
  165. package/patternfly.css +2222 -34
  166. package/patternfly.min.css +1 -1
  167. package/patternfly.min.css.map +1 -1
  168. package/sass-utilities/colors.scss +1 -0
  169. package/sass-utilities/mixins.scss +7 -0
  170. package/sass-utilities/scss-variables.scss +1 -0
  171. package/sass-utilities/themes/dark/_all.scss +4 -0
  172. package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
  173. package/utilities/Text/text.css +24 -0
  174. package/utilities/Text/text.scss +24 -0
  175. package/patternfly-theme-dark-prefers-color-scheme.css +0 -711
  176. package/patternfly-theme-dark-prefers-color-scheme.scss +0 -5
  177. package/themes/dark/_chart-globals.scss +0 -39
  178. package/themes/dark/_patternfly-theme-dark.scss +0 -119
  179. package/themes/dark/_variables.scss +0 -94
  180. package/themes/dark/colors.scss +0 -16
  181. package/themes/dark/globals.scss +0 -7
  182. package/themes/dark/mixins.scss +0 -5
  183. package/themes/dark/placeholders.scss +0 -30
  184. package/themes/dark/scss-variables.scss +0 -85
@@ -175,4 +175,13 @@
175
175
 
176
176
  .pf-c-search-input__menu-item-text {
177
177
  flex-grow: 1;
178
+ }
179
+
180
+ :where(.pf-theme-dark) .pf-c-search-input {
181
+ --pf-c-search-input__text--before--BorderColor: transparent;
182
+ --pf-c-search-input__text--after--BorderBottomColor: var(--pf-global--BorderColor--400);
183
+ background-color: var(--pf-global--BackgroundColor--400);
184
+ }
185
+ :where(.pf-theme-dark) .pf-c-search-input__text::before {
186
+ border-bottom-color: var(--pf-global--BorderColor--400);
178
187
  }
@@ -206,3 +206,10 @@
206
206
  .pf-c-search-input__menu-item-text {
207
207
  flex-grow: 1;
208
208
  }
209
+
210
+ // stylelint-disable no-invalid-position-at-import-rule
211
+ @import "themes/dark/search-input";
212
+
213
+ @include pf-theme-dark {
214
+ @include pf-theme-dark-search-input;
215
+ }
@@ -1,4 +1,6 @@
1
- @mixin search-input() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-search-input() {
2
4
  .pf-c-search-input {
3
5
  --pf-c-search-input__text--before--BorderColor: transparent;
4
6
  --pf-c-search-input__text--after--BorderBottomColor: var(--pf-global--BorderColor--400);
@@ -568,4 +568,20 @@
568
568
  margin-top: var(--pf-c-select__menu-footer--MarginTop);
569
569
  margin-bottom: var(--pf-c-select__menu-footer--MarginBottom);
570
570
  box-shadow: var(--pf-c-select__menu-footer--BoxShadow);
571
+ }
572
+
573
+ :where(.pf-theme-dark) .pf-c-select {
574
+ --pf-c-select__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
575
+ --pf-c-select__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
576
+ --pf-c-select__toggle--before--BorderTopColor: transparent;
577
+ --pf-c-select__toggle--before--BorderRightColor: transparent;
578
+ --pf-c-select__toggle--before--BorderBottomColor: var(--pf-global--BorderColor--400);
579
+ --pf-c-select__toggle--before--BorderLeftColor: transparent;
580
+ --pf-c-select__menu--Top: 100%;
581
+ --pf-c-select__menu--m-top--TranslateY: -100%;
582
+ --pf-c-select__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
583
+ --pf-c-select__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
584
+ }
585
+ :where(.pf-theme-dark) .pf-c-select__toggle:disabled, :where(.pf-theme-dark) .pf-c-select__toggle.pf-m-disabled {
586
+ color: var(--pf-global--palette--black-100);
571
587
  }
@@ -694,3 +694,10 @@
694
694
  margin-bottom: var(--pf-c-select__menu-footer--MarginBottom);
695
695
  box-shadow: var(--pf-c-select__menu-footer--BoxShadow);
696
696
  }
697
+
698
+ // stylelint-disable no-invalid-position-at-import-rule
699
+ @import "themes/dark/select";
700
+
701
+ @include pf-theme-dark {
702
+ @include pf-theme-dark-select;
703
+ }
@@ -1,4 +1,6 @@
1
- @mixin select() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-select() {
2
4
  .pf-c-select {
3
5
  --pf-c-select__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
4
6
  --pf-c-select__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
@@ -69,4 +69,15 @@
69
69
 
70
70
  .pf-c-simple-list__section + .pf-c-simple-list__section {
71
71
  margin-top: var(--pf-c-simple-list__section--section--MarginTop);
72
+ }
73
+
74
+ :where(.pf-theme-dark) .pf-c-simple-list {
75
+ --pf-c-simple-list__item-link--m-current--Color: var(--pf-global--active-color--100);
76
+ --pf-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--400);
77
+ --pf-c-simple-list__item-link--hover--Color: var(--pf-global--Color--100);
78
+ --pf-c-simple-list__item-link--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
79
+ --pf-c-simple-list__item-link--focus--Color: var(--pf-global--Color--100);
80
+ --pf-c-simple-list__item-link--focus--BackgroundColor: var(--pf-global--BackgroundColor--400);
81
+ --pf-c-simple-list__item-link--active--Color: var(--pf-global--Color--100);
82
+ --pf-c-simple-list__item-link--active--BackgroundColor: var(--pf-global--BackgroundColor--400);
72
83
  }
@@ -80,3 +80,10 @@
80
80
  .pf-c-simple-list__section + .pf-c-simple-list__section {
81
81
  margin-top: var(--pf-c-simple-list__section--section--MarginTop);
82
82
  }
83
+
84
+ // stylelint-disable no-invalid-position-at-import-rule
85
+ @import "themes/dark/simple-list";
86
+
87
+ @include pf-theme-dark {
88
+ @include pf-theme-dark-simple-list;
89
+ }
@@ -1,4 +1,6 @@
1
- @mixin simple-list() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-simple-list() {
2
4
  .pf-c-simple-list {
3
5
  --pf-c-simple-list__item-link--m-current--Color: var(--pf-global--active-color--100);
4
6
  --pf-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--400);
@@ -159,4 +159,10 @@
159
159
  100% {
160
160
  transform: translateX(100%);
161
161
  }
162
+ }
163
+ :where(.pf-theme-dark) .pf-c-skeleton {
164
+ --pf-c-skeleton--BackgroundColor: var(--pf-global--palette--black-600);
165
+ --pf-c-skeleton--after--LinearGradientColorStop1: var(--pf-global--palette--black-600);
166
+ --pf-c-skeleton--after--LinearGradientColorStop2: var(--pf-global--palette--black-500);
167
+ --pf-c-skeleton--after--LinearGradientColorStop3: var(--pf-global--palette--black-600);
162
168
  }
@@ -206,3 +206,10 @@
206
206
  transform: translateX(100%);
207
207
  }
208
208
  }
209
+
210
+ // stylelint-disable no-invalid-position-at-import-rule
211
+ @import "themes/dark/skeleton";
212
+
213
+ @include pf-theme-dark {
214
+ @include pf-theme-dark-skeleton;
215
+ }
@@ -1,4 +1,6 @@
1
- @mixin skeleton() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-skeleton() {
2
4
  .pf-c-skeleton {
3
5
  --pf-c-skeleton--BackgroundColor: var(--pf-global--palette--black-600);
4
6
  --pf-c-skeleton--after--LinearGradientColorStop1: var(--pf-global--palette--black-600);
@@ -134,4 +134,11 @@
134
134
  grid-column: 2;
135
135
  color: var(--pf-c-switch__label--Color);
136
136
  vertical-align: top;
137
+ }
138
+
139
+ :where(.pf-theme-dark) .pf-c-switch {
140
+ --pf-c-switch__toggle-icon--Color: var(--pf-global--BackgroundColor--100);
141
+ --pf-c-switch__input--not-checked__label--Color: var(--pf-global--Color--100);
142
+ --pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--disabled-color--100);
143
+ --pf-c-switch__toggle--before--BoxShadow: none;
137
144
  }
@@ -170,3 +170,10 @@
170
170
  color: var(--pf-c-switch__label--Color);
171
171
  vertical-align: top;
172
172
  }
173
+
174
+ // stylelint-disable no-invalid-position-at-import-rule
175
+ @import "themes/dark/switch";
176
+
177
+ @include pf-theme-dark {
178
+ @include pf-theme-dark-switch;
179
+ }
@@ -1,4 +1,6 @@
1
- @mixin switch() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-switch() {
2
4
  .pf-c-switch {
3
5
  --pf-c-switch__toggle-icon--Color: var(--pf-global--BackgroundColor--100);
4
6
  --pf-c-switch__input--not-checked__label--Color: var(--pf-global--Color--100);
@@ -1059,4 +1059,11 @@
1059
1059
 
1060
1060
  .pf-c-table .pf-m-width-100 {
1061
1061
  --pf-c-table--cell--Width: 100%;
1062
+ }
1063
+
1064
+ :where(.pf-theme-dark) .pf-c-table {
1065
+ --pf-c-table--m-striped__tr--BackgroundColor: var(--pf-global--BackgroundColor--150);
1066
+ }
1067
+ :where(.pf-theme-dark) .pf-c-table__favorite .pf-c-button:hover, :where(.pf-theme-dark) .pf-c-table__favorite .pf-c-button:focus {
1068
+ --pf-c-button--m-plain--Color: var(--pf-global--palette--gold-100);
1062
1069
  }
@@ -1366,3 +1366,10 @@
1366
1366
  --pf-c-table--cell--Width: 100%;
1367
1367
  }
1368
1368
  // stylelint-enable
1369
+
1370
+ // stylelint-disable no-invalid-position-at-import-rule
1371
+ @import "themes/dark/table";
1372
+
1373
+ @include pf-theme-dark {
1374
+ @include pf-theme-dark-table;
1375
+ }
@@ -1,4 +1,10 @@
1
- @mixin table() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-table() {
4
+ .pf-c-table {
5
+ --pf-c-table--m-striped__tr--BackgroundColor: var(--pf-global--BackgroundColor--150);
6
+ }
7
+
2
8
  .pf-c-table__favorite {
3
9
  .pf-c-button {
4
10
  &:hover,
@@ -825,4 +825,10 @@
825
825
  --pf-c-tabs--m-vertical--inset: var(--pf-global--spacer--2xl);
826
826
  --pf-c-tabs--m-vertical--m-box--inset: var(--pf-global--spacer--2xl);
827
827
  }
828
+ }
829
+
830
+ :where(.pf-theme-dark) .pf-c-tabs {
831
+ --pf-c-tabs__scroll-button--BackgroundColor: transparent;
832
+ --pf-c-tabs__link--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
833
+ --pf-c-tabs--m-color-scheme--light-300__link--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
828
834
  }
@@ -755,3 +755,10 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
755
755
  }
756
756
  }
757
757
  // stylelint-enable
758
+
759
+ // stylelint-disable no-invalid-position-at-import-rule
760
+ @import "themes/dark/tabs";
761
+
762
+ @include pf-theme-dark {
763
+ @include pf-theme-dark-tabs;
764
+ }
@@ -1,4 +1,6 @@
1
- @mixin tabs() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-tabs() {
2
4
  .pf-c-tabs {
3
5
  --pf-c-tabs__scroll-button--BackgroundColor: transparent;
4
6
  --pf-c-tabs__link--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
@@ -1,4 +1,6 @@
1
- @mixin tile() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-tile() {
2
4
  .pf-c-tile {
3
5
  --pf-c-tile--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
4
6
  --pf-c-tile--m-disabled__title--Color: var(--pf-global--disabled-color--300);
@@ -134,4 +134,11 @@
134
134
  margin-right: var(--pf-c-tile__icon--MarginRight);
135
135
  font-size: var(--pf-c-tile__icon--FontSize);
136
136
  color: var(--pf-c-tile__icon--Color);
137
+ }
138
+
139
+ :where(.pf-theme-dark) .pf-c-tile {
140
+ --pf-c-tile--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
141
+ --pf-c-tile--m-disabled__title--Color: var(--pf-global--disabled-color--300);
142
+ --pf-c-tile--m-disabled__icon--Color: var(--pf-global--disabled-color--300);
143
+ --pf-c-tile--m-disabled__body--Color: var(--pf-global--disabled-color--300);
137
144
  }
@@ -172,3 +172,10 @@
172
172
  font-size: var(--pf-c-tile__icon--FontSize);
173
173
  color: var(--pf-c-tile__icon--Color);
174
174
  }
175
+
176
+ // stylelint-disable no-invalid-position-at-import-rule
177
+ @import "themes/dark/tile";
178
+
179
+ @include pf-theme-dark {
180
+ @include pf-theme-dark-tile;
181
+ }
@@ -1,4 +1,6 @@
1
- @mixin toggle-group() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-toggle-group() {
2
4
  .pf-c-toggle-group {
3
5
  --pf-c-toggle-group__button--hover--BackgroundColor: var(--pf-global--palette--black-700);
4
6
  --pf-c-toggle-group__button--focus--BackgroundColor: var(--pf-global--palette--black-700);
@@ -100,4 +100,12 @@
100
100
  .pf-c-toggle-group__icon + .pf-c-toggle-group__text,
101
101
  .pf-c-toggle-group__text + .pf-c-toggle-group__icon {
102
102
  margin-left: var(--pf-c-toggle-group__icon--text--MarginLeft);
103
+ }
104
+
105
+ :where(.pf-theme-dark) .pf-c-toggle-group {
106
+ --pf-c-toggle-group__button--hover--BackgroundColor: var(--pf-global--palette--black-700);
107
+ --pf-c-toggle-group__button--focus--BackgroundColor: var(--pf-global--palette--black-700);
108
+ --pf-c-toggle-group__button--disabled--BackgroundColor: var(--pf-global--palette--black-600);
109
+ --pf-c-toggle-group__button--disabled--Color: var(--pf-global--palette--black-100);
110
+ --pf-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-global--primary-color--300);
103
111
  }
@@ -134,3 +134,10 @@
134
134
  .pf-c-toggle-group__text + .pf-c-toggle-group__icon {
135
135
  margin-left: var(--pf-c-toggle-group__icon--text--MarginLeft);
136
136
  }
137
+
138
+ // stylelint-disable no-invalid-position-at-import-rule
139
+ @import "themes/dark/toggle-group";
140
+
141
+ @include pf-theme-dark {
142
+ @include pf-theme-dark-toggle-group;
143
+ }
@@ -1,4 +1,6 @@
1
- @mixin tooltip() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-tooltip() {
2
4
  .pf-c-tooltip {
3
5
  --pf-c-tooltip--BoxShadow: none;
4
6
  --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
@@ -80,4 +80,17 @@
80
80
  height: var(--pf-c-tooltip__arrow--Height);
81
81
  pointer-events: none;
82
82
  background-color: var(--pf-c-tooltip__content--BackgroundColor);
83
+ }
84
+
85
+ :where(.pf-theme-dark) .pf-c-tooltip {
86
+ --pf-c-tooltip--BoxShadow: none;
87
+ --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
88
+ }
89
+ :where(.pf-theme-dark) .pf-c-tooltip,
90
+ :where(.pf-theme-dark) .pf-c-tooltip__arrow {
91
+ border: var(--pf-global--BorderWidth--lg) solid var(--pf-global--BorderColor--300);
92
+ }
93
+ :where(.pf-theme-dark) .pf-c-tooltip__arrow {
94
+ --pf-c-tooltip__arrow--Width: 0.9375rem;
95
+ --pf-c-tooltip__arrow--Height: 0.9375rem;
83
96
  }
@@ -124,3 +124,10 @@
124
124
  pointer-events: none;
125
125
  background-color: var(--pf-c-tooltip__content--BackgroundColor);
126
126
  }
127
+
128
+ // stylelint-disable no-invalid-position-at-import-rule
129
+ @import "themes/dark/tooltip";
130
+
131
+ @include pf-theme-dark {
132
+ @include pf-theme-dark-tooltip;
133
+ }
@@ -1,4 +1,6 @@
1
- @mixin tree-view() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-tree-view() {
2
4
  .pf-c-tree-view {
3
5
  --pf-c-tree-view__node--hover--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
6
  --pf-c-tree-view__node--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
@@ -425,4 +425,9 @@
425
425
  --pf-c-tree-view--m-compact--border--nested--Left: calc(var(--pf-c-tree-view__node--PaddingLeft) - var(--pf-c-tree-view--m-compact--base-border--Left--offset));
426
426
  --pf-c-tree-view--m-compact--m-no-background__node--PaddingLeft: calc(var(--pf-c-tree-view--m-compact--m-no-background__node--nested-indent--base) * 9 + var(--pf-c-tree-view--m-compact--m-no-background__node--indent--base));
427
427
  --pf-c-tree-view--m-compact--m-no-background--border--nested--Left: calc(var(--pf-c-tree-view__node--PaddingLeft) - var(--pf-c-tree-view--m-compact--m-no-background--base-border--Left--offset));
428
+ }
429
+
430
+ :where(.pf-theme-dark) .pf-c-tree-view {
431
+ --pf-c-tree-view__node--hover--BackgroundColor: var(--pf-global--BackgroundColor--300);
432
+ --pf-c-tree-view__node--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
428
433
  }
@@ -486,3 +486,10 @@ $pf-c-tree-view--MaxNesting: 10;
486
486
  }
487
487
  }
488
488
  // stylelint-enable
489
+
490
+ // stylelint-disable no-invalid-position-at-import-rule
491
+ @import "themes/dark/tree-view";
492
+
493
+ @include pf-theme-dark {
494
+ @include pf-theme-dark-tree-view;
495
+ }
@@ -1,4 +1,6 @@
1
- @mixin wizard() {
1
+ @import "../../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin pf-theme-dark-wizard() {
2
4
  .pf-c-wizard {
3
5
  --pf-c-wizard__nav-link--m-disabled--Color: var(--pf-global--disabled-color--300);
4
6
  --pf-c-wizard__nav-link--m-disabled--before--Color: var(--pf-global--disabled-color--300);
@@ -7,6 +9,6 @@
7
9
  }
8
10
 
9
11
  .pf-c-wizard__header {
10
- @include pf-t-dark;
12
+ @include pf-theme-dark--t-dark;
11
13
  }
12
14
  }
@@ -509,4 +509,38 @@
509
509
 
510
510
  .pf-c-wizard__footer-cancel {
511
511
  margin-left: var(--pf-c-wizard__footer-cancel--MarginLeft);
512
+ }
513
+
514
+ :where(.pf-theme-dark) .pf-c-wizard__header {
515
+ --pf-global--Color--100: #fff;
516
+ --pf-global--Color--200: #aaabac;
517
+ --pf-global--BorderColor--100: #444548;
518
+ --pf-global--primary-color--100: #1fa7f8;
519
+ --pf-global--link--Color: #1fa7f8;
520
+ --pf-global--link--Color--hover: #73bcf7;
521
+ --pf-global--BackgroundColor--100: #1b1d21;
522
+ }
523
+ :where(.pf-theme-dark) .pf-c-wizard__header .pf-c-button {
524
+ --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
525
+ --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
526
+ --pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
527
+ --pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
528
+ --pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
529
+ --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
530
+ --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
531
+ --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
532
+ --pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
533
+ --pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
534
+ --pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
535
+ --pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
536
+ }
537
+
538
+ :where(.pf-theme-dark) .pf-c-wizard {
539
+ --pf-c-wizard__nav-link--m-disabled--Color: var(--pf-global--disabled-color--300);
540
+ --pf-c-wizard__nav-link--m-disabled--before--Color: var(--pf-global--disabled-color--300);
541
+ --pf-c-wizard__nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
542
+ --pf-c-wizard__outer-wrap--BackgroundColor: var(--pf-global--BackgroundColor--300);
543
+ }
544
+ :where(.pf-theme-dark) .pf-c-wizard__header {
545
+ color: var(--pf-global--Color--100);
512
546
  }
@@ -557,3 +557,10 @@
557
557
  .pf-c-wizard__footer-cancel {
558
558
  margin-left: var(--pf-c-wizard__footer-cancel--MarginLeft);
559
559
  }
560
+
561
+ // stylelint-disable no-invalid-position-at-import-rule
562
+ @import "themes/dark/wizard";
563
+
564
+ @include pf-theme-dark {
565
+ @include pf-theme-dark-wizard;
566
+ }
@@ -8,6 +8,8 @@ cssPrefix: pf-c-form-control
8
8
 
9
9
  ### Input
10
10
 
11
+ **Note:** In webkit browsers, inputs with status icons that are autocompleted will have their icons removed by the user agent stylesheet. If the field does not need to use autocomplete, turn it off with `autocomplete="off"` to avoid the problem. Otherwise, use [helper text](/components/helper-text/html-demos) instead to ensure that the status will remain visible if the field is autocompleted.
12
+
11
13
  ```html
12
14
  <input
13
15
  class="pf-c-form-control"
@@ -580,6 +580,88 @@ cssPrefix: pf-c-label
580
580
  </button>
581
581
  </span>
582
582
 
583
+ <br />
584
+ <br />
585
+
586
+ <span class="pf-c-label pf-m-gold">
587
+ <span class="pf-c-label__content">Gold</span>
588
+ </span>
589
+
590
+ <span class="pf-c-label pf-m-gold">
591
+ <span class="pf-c-label__content">
592
+ <span class="pf-c-label__icon">
593
+ <i class="fas fa-fw fa-info-circle" aria-hidden="true"></i>
594
+ </span>
595
+ Gold icon
596
+ </span>
597
+ </span>
598
+
599
+ <span class="pf-c-label pf-m-gold">
600
+ <span class="pf-c-label__content">Gold removable</span>
601
+ <button
602
+ class="pf-c-button pf-m-plain"
603
+ type="button"
604
+ id="gold-removable-button"
605
+ aria-label="Remove"
606
+ aria-labelledby="gold-removable-button gold-removable-text"
607
+ >
608
+ <i class="fas fa-times" aria-hidden="true"></i>
609
+ </button>
610
+ </span>
611
+
612
+ <span class="pf-c-label pf-m-gold">
613
+ <span class="pf-c-label__content">
614
+ <span class="pf-c-label__icon">
615
+ <i class="fas fa-fw fa-info-circle" aria-hidden="true"></i>
616
+ </span>
617
+ Gold icon removable
618
+ </span>
619
+ <button
620
+ class="pf-c-button pf-m-plain"
621
+ type="button"
622
+ id="gold-icon-removable-button"
623
+ aria-label="Remove"
624
+ aria-labelledby="gold-icon-removable-button gold-icon-removable-text"
625
+ >
626
+ <i class="fas fa-times" aria-hidden="true"></i>
627
+ </button>
628
+ </span>
629
+
630
+ <span class="pf-c-label pf-m-gold">
631
+ <a class="pf-c-label__content" href="#">Gold link</a>
632
+ </span>
633
+
634
+ <span class="pf-c-label pf-m-gold">
635
+ <a class="pf-c-label__content" href="#">Gold link removable</a>
636
+ <button
637
+ class="pf-c-button pf-m-plain"
638
+ type="button"
639
+ id="gold-link-removable-button"
640
+ aria-label="Remove"
641
+ aria-labelledby="gold-link-removable-button gold-link-removable-text"
642
+ >
643
+ <i class="fas fa-times" aria-hidden="true"></i>
644
+ </button>
645
+ </span>
646
+
647
+ <span class="pf-c-label pf-m-gold">
648
+ <span class="pf-c-label__content">
649
+ <span class="pf-c-label__icon">
650
+ <i class="fas fa-fw fa-info-circle" aria-hidden="true"></i>
651
+ </span>
652
+ <span class="pf-c-label__text">Gold label with icon that truncates</span>
653
+ </span>
654
+ <button
655
+ class="pf-c-button pf-m-plain"
656
+ type="button"
657
+ id="gold-truncate-button"
658
+ aria-label="Remove"
659
+ aria-labelledby="gold-truncate-button gold-truncate-text"
660
+ >
661
+ <i class="fas fa-times" aria-hidden="true"></i>
662
+ </button>
663
+ </span>
664
+
583
665
  ```
584
666
 
585
667
  ### Outline
@@ -1030,6 +1112,70 @@ cssPrefix: pf-c-label
1030
1112
  </button>
1031
1113
  </span>
1032
1114
 
1115
+ <br />
1116
+ <br />
1117
+
1118
+ <span class="pf-c-label pf-m-gold pf-m-outline">
1119
+ <span class="pf-c-label__content">Gold</span>
1120
+ </span>
1121
+
1122
+ <span class="pf-c-label pf-m-gold pf-m-outline">
1123
+ <span class="pf-c-label__content">
1124
+ <span class="pf-c-label__icon">
1125
+ <i class="fas fa-fw fa-info-circle" aria-hidden="true"></i>
1126
+ </span>
1127
+ Gold icon
1128
+ </span>
1129
+ </span>
1130
+
1131
+ <span class="pf-c-label pf-m-gold pf-m-outline">
1132
+ <span class="pf-c-label__content">Gold removable</span>
1133
+ <button
1134
+ class="pf-c-button pf-m-plain"
1135
+ type="button"
1136
+ id="gold-outline-removable-button"
1137
+ aria-label="Remove"
1138
+ aria-labelledby="gold-outline-removable-button gold-outline-removable-text"
1139
+ >
1140
+ <i class="fas fa-times" aria-hidden="true"></i>
1141
+ </button>
1142
+ </span>
1143
+
1144
+ <span class="pf-c-label pf-m-gold pf-m-outline">
1145
+ <span class="pf-c-label__content">
1146
+ <span class="pf-c-label__icon">
1147
+ <i class="fas fa-fw fa-info-circle" aria-hidden="true"></i>
1148
+ </span>
1149
+ Gold icon removable
1150
+ </span>
1151
+ <button
1152
+ class="pf-c-button pf-m-plain"
1153
+ type="button"
1154
+ id="gold-outline-icon-removable-button"
1155
+ aria-label="Remove"
1156
+ aria-labelledby="gold-outline-icon-removable-button gold-outline-icon-removable-text"
1157
+ >
1158
+ <i class="fas fa-times" aria-hidden="true"></i>
1159
+ </button>
1160
+ </span>
1161
+
1162
+ <span class="pf-c-label pf-m-gold pf-m-outline">
1163
+ <a class="pf-c-label__content" href="#">Gold link</a>
1164
+ </span>
1165
+
1166
+ <span class="pf-c-label pf-m-gold pf-m-outline">
1167
+ <a class="pf-c-label__content" href="#">Gold link removable</a>
1168
+ <button
1169
+ class="pf-c-button pf-m-plain"
1170
+ type="button"
1171
+ id="gold-outline-link-removable-button"
1172
+ aria-label="Remove"
1173
+ aria-labelledby="gold-outline-link-removable-button gold-outline-link-removable-text"
1174
+ >
1175
+ <i class="fas fa-times" aria-hidden="true"></i>
1176
+ </button>
1177
+ </span>
1178
+
1033
1179
  ```
1034
1180
 
1035
1181
  ### Compact
@@ -1238,5 +1384,6 @@ This style of label is used to add new labels to a label group.
1238
1384
  | `.pf-m-red` | `.pf-c-label` | Modifies the label to have red colored styling. |
1239
1385
  | `.pf-m-purple` | `.pf-c-label` | Modifies the label to have purple colored styling. |
1240
1386
  | `.pf-m-cyan` | `.pf-c-label` | Modifies the label to have cyan colored styling. |
1387
+ | `.pf-m-gold` | `.pf-c-label` | Modifies the label to have gold colored styling. |
1241
1388
  | `.pf-m-editable` | `.pf-c-label` | Modifies label for editable styles. |
1242
1389
  | `.pf-m-editable-active` | `.pf-c-label.pf-m-editable` | Modifies editable label for active styles. |