@patternfly/patternfly 6.0.0-alpha.8 → 6.0.0-alpha.80

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 (331) hide show
  1. package/CODE_OF_CONDUCT.md +1 -2
  2. package/assets/images/PF-Backdrop.svg +1 -0
  3. package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  4. package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  5. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  6. package/assets/images/PF-IconLogo-color.svg +17 -0
  7. package/assets/images/PF-IconLogo.svg +17 -0
  8. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  9. package/assets/images/pf-background.svg +22 -0
  10. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  11. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  12. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  13. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  14. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  15. package/assets/images/pf_logo_white.hbs +35 -0
  16. package/assets/images/pf_logo_white.svg +38 -0
  17. package/base/_common.scss +8 -4
  18. package/base/_globals.scss +4 -6
  19. package/base/_variables.scss +2 -7
  20. package/base/patternfly-common.css +8 -4
  21. package/base/patternfly-globals.css +4 -3
  22. package/base/patternfly-variables.css +884 -871
  23. package/base/tokens/_tokens-charts.scss +159 -0
  24. package/base/tokens/_tokens-dark.scss +311 -287
  25. package/base/tokens/_tokens-default.scss +425 -329
  26. package/base/tokens/_tokens-font.scss +29 -36
  27. package/base/tokens/_tokens-palette.scss +71 -71
  28. package/base/tokens/_workspace-overrides.scss +7 -0
  29. package/components/AboutModalBox/about-modal-box.css +57 -94
  30. package/components/AboutModalBox/about-modal-box.scss +37 -62
  31. package/components/Accordion/accordion.css +85 -177
  32. package/components/Accordion/accordion.scss +96 -195
  33. package/components/ActionList/action-list.css +18 -17
  34. package/components/ActionList/action-list.scss +26 -16
  35. package/components/Alert/alert-group.css +20 -16
  36. package/components/Alert/alert-group.scss +20 -16
  37. package/components/Alert/alert.css +59 -84
  38. package/components/Alert/alert.scss +62 -78
  39. package/components/Avatar/avatar.css +10 -13
  40. package/components/Avatar/avatar.scss +10 -17
  41. package/components/BackToTop/back-to-top.css +17 -16
  42. package/components/BackToTop/back-to-top.scss +12 -12
  43. package/components/Backdrop/backdrop.css +6 -2
  44. package/components/Backdrop/backdrop.scss +5 -2
  45. package/components/BackgroundImage/background-image.css +5 -1
  46. package/components/BackgroundImage/background-image.scss +5 -1
  47. package/components/Badge/badge.css +23 -15
  48. package/components/Badge/badge.scss +25 -17
  49. package/components/Banner/banner.css +90 -64
  50. package/components/Banner/banner.scss +95 -32
  51. package/components/Breadcrumb/breadcrumb.css +19 -16
  52. package/components/Breadcrumb/breadcrumb.scss +18 -16
  53. package/components/Button/button.css +419 -353
  54. package/components/Button/button.scss +476 -476
  55. package/components/CalendarMonth/calendar-month.css +61 -92
  56. package/components/CalendarMonth/calendar-month.scss +68 -63
  57. package/components/Card/card.css +100 -194
  58. package/components/Card/card.scss +121 -237
  59. package/components/Check/check.css +24 -21
  60. package/components/Check/check.scss +25 -23
  61. package/components/ClipboardCopy/clipboard-copy.css +30 -33
  62. package/components/ClipboardCopy/clipboard-copy.scss +34 -26
  63. package/components/CodeBlock/code-block.css +22 -9
  64. package/components/CodeBlock/code-block.scss +22 -10
  65. package/components/CodeEditor/code-editor.css +94 -72
  66. package/components/CodeEditor/code-editor.scss +104 -82
  67. package/components/Content/content.css +7 -7
  68. package/components/Content/content.scss +7 -7
  69. package/components/DataList/data-list.css +101 -158
  70. package/components/DataList/data-list.scss +95 -154
  71. package/components/DatePicker/date-picker.css +13 -14
  72. package/components/DatePicker/date-picker.scss +12 -16
  73. package/components/DescriptionList/description-list.css +39 -34
  74. package/components/DescriptionList/description-list.scss +25 -25
  75. package/components/Divider/divider.css +91 -169
  76. package/components/Divider/divider.scss +60 -77
  77. package/components/DragDrop/drag-drop.css +18 -14
  78. package/components/DragDrop/drag-drop.scss +18 -17
  79. package/components/Drawer/drawer.css +112 -113
  80. package/components/Drawer/drawer.scss +134 -134
  81. package/components/Dropdown/dropdown.css +1 -3
  82. package/components/Dropdown/dropdown.scss +2 -6
  83. package/components/EmptyState/empty-state.css +57 -34
  84. package/components/EmptyState/empty-state.scss +63 -34
  85. package/components/ExpandableSection/expandable-section.css +64 -62
  86. package/components/ExpandableSection/expandable-section.scss +73 -76
  87. package/components/FileUpload/file-upload.css +28 -34
  88. package/components/FileUpload/file-upload.scss +30 -42
  89. package/components/Form/form.css +68 -114
  90. package/components/Form/form.scss +65 -126
  91. package/components/FormControl/form-control.css +86 -111
  92. package/components/FormControl/form-control.scss +88 -92
  93. package/components/HelperText/helper-text.css +28 -34
  94. package/components/HelperText/helper-text.scss +30 -40
  95. package/components/Hint/hint.css +28 -21
  96. package/components/Hint/hint.scss +28 -24
  97. package/components/Icon/icon.css +154 -18
  98. package/components/Icon/icon.scss +187 -20
  99. package/components/InlineEdit/inline-edit.css +8 -7
  100. package/components/InlineEdit/inline-edit.scss +8 -7
  101. package/components/InputGroup/input-group.css +22 -38
  102. package/components/InputGroup/input-group.scss +21 -29
  103. package/components/JumpLinks/jump-links.css +34 -34
  104. package/components/JumpLinks/jump-links.scss +35 -36
  105. package/components/Label/label-group.css +39 -44
  106. package/components/Label/label-group.scss +39 -45
  107. package/components/Label/label.css +380 -355
  108. package/components/Label/label.scss +434 -348
  109. package/components/List/list.css +16 -16
  110. package/components/List/list.scss +17 -17
  111. package/components/Login/login.css +70 -97
  112. package/components/Login/login.scss +56 -64
  113. package/components/Masthead/masthead.css +261 -502
  114. package/components/Masthead/masthead.scss +123 -286
  115. package/components/Menu/menu.css +3 -0
  116. package/components/Menu/menu.scss +7 -3
  117. package/components/MenuToggle/menu-toggle.css +8 -8
  118. package/components/MenuToggle/menu-toggle.scss +8 -10
  119. package/components/ModalBox/modal-box.css +59 -52
  120. package/components/ModalBox/modal-box.scss +57 -53
  121. package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
  122. package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
  123. package/components/Nav/nav.css +240 -918
  124. package/components/Nav/nav.scss +300 -1082
  125. package/components/NotificationBadge/notification-badge.css +56 -81
  126. package/components/NotificationBadge/notification-badge.scss +60 -97
  127. package/components/NotificationDrawer/notification-drawer.css +104 -115
  128. package/components/NotificationDrawer/notification-drawer.scss +106 -116
  129. package/components/NumberInput/number-input.css +8 -8
  130. package/components/NumberInput/number-input.scss +7 -12
  131. package/components/OverflowMenu/overflow-menu.css +17 -47
  132. package/components/OverflowMenu/overflow-menu.scss +27 -65
  133. package/components/Page/page.css +56 -164
  134. package/components/Page/page.scss +60 -154
  135. package/components/Pagination/pagination.css +57 -124
  136. package/components/Pagination/pagination.scss +40 -128
  137. package/components/Panel/panel.css +27 -23
  138. package/components/Panel/panel.scss +29 -26
  139. package/components/Popover/popover.css +42 -53
  140. package/components/Popover/popover.scss +46 -55
  141. package/components/Progress/progress.css +31 -45
  142. package/components/Progress/progress.scss +36 -55
  143. package/components/ProgressStepper/progress-stepper.css +72 -69
  144. package/components/ProgressStepper/progress-stepper.scss +65 -65
  145. package/components/Radio/radio.css +27 -20
  146. package/components/Radio/radio.scss +28 -22
  147. package/components/Sidebar/sidebar.css +20 -9
  148. package/components/Sidebar/sidebar.scss +23 -11
  149. package/components/SimpleList/simple-list.css +35 -52
  150. package/components/SimpleList/simple-list.scss +41 -51
  151. package/components/Skeleton/skeleton.css +18 -20
  152. package/components/Skeleton/skeleton.scss +17 -21
  153. package/components/SkipToContent/skip-to-content.css +6 -3
  154. package/components/SkipToContent/skip-to-content.scss +8 -6
  155. package/components/Slider/slider.css +34 -30
  156. package/components/Slider/slider.scss +46 -43
  157. package/components/Spinner/spinner.css +17 -34
  158. package/components/Spinner/spinner.scss +19 -47
  159. package/components/Switch/switch.css +42 -38
  160. package/components/Switch/switch.scss +48 -43
  161. package/components/TabContent/tab-content.css +17 -11
  162. package/components/TabContent/tab-content.scss +18 -14
  163. package/components/Table/table-grid.css +29 -45
  164. package/components/Table/table-grid.scss +40 -53
  165. package/components/Table/table-scrollable.css +6 -6
  166. package/components/Table/table-scrollable.scss +8 -8
  167. package/components/Table/table-tree-view.css +76 -74
  168. package/components/Table/table-tree-view.scss +44 -39
  169. package/components/Table/table.css +67 -93
  170. package/components/Table/table.scss +83 -105
  171. package/components/Tabs/tabs.css +143 -175
  172. package/components/Tabs/tabs.scss +159 -217
  173. package/components/Tile/tile.css +40 -81
  174. package/components/Tile/tile.scss +38 -84
  175. package/components/Timestamp/timestamp.css +12 -9
  176. package/components/Timestamp/timestamp.scss +11 -10
  177. package/components/Title/title.css +70 -19
  178. package/components/Title/title.scss +90 -20
  179. package/components/ToggleGroup/toggle-group.css +54 -48
  180. package/components/ToggleGroup/toggle-group.scss +62 -50
  181. package/components/Toolbar/toolbar.css +2527 -1031
  182. package/components/Toolbar/toolbar.scss +233 -520
  183. package/components/Tooltip/tooltip.css +16 -18
  184. package/components/Tooltip/tooltip.scss +20 -24
  185. package/components/TreeView/tree-view.css +76 -97
  186. package/components/TreeView/tree-view.scss +82 -113
  187. package/components/Truncate/truncate.css +4 -0
  188. package/components/Truncate/truncate.scss +3 -0
  189. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  190. package/docs/components/Accordion/examples/Accordion.md +614 -416
  191. package/docs/components/ActionList/examples/ActionList.md +73 -22
  192. package/docs/components/Alert/examples/Alert.md +3 -3
  193. package/docs/components/Avatar/examples/Avatar.md +5 -19
  194. package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
  195. package/docs/components/Badge/examples/Badge.md +21 -0
  196. package/docs/components/Banner/examples/Banner.md +48 -25
  197. package/docs/components/Brand/examples/Brand.css +12 -0
  198. package/docs/components/Brand/examples/Brand.md +51 -32
  199. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  200. package/docs/components/Button/examples/Button.css +4 -0
  201. package/docs/components/Button/examples/Button.md +1419 -93
  202. package/docs/components/CalendarMonth/examples/CalendarMonth.md +48 -224
  203. package/docs/components/Card/examples/Card.md +550 -133
  204. package/docs/components/Check/examples/Check.md +1 -0
  205. package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
  206. package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
  207. package/docs/components/Content/examples/Content.md +5 -5
  208. package/docs/components/DatePicker/examples/DatePicker.md +5 -2
  209. package/docs/components/Divider/examples/Divider.css +3 -1
  210. package/docs/components/Divider/examples/Divider.md +30 -5
  211. package/docs/components/DragDrop/examples/DragDrop.css +1 -1
  212. package/docs/components/Drawer/examples/Drawer.md +294 -256
  213. package/docs/components/EmptyState/examples/EmptyState.md +45 -1
  214. package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
  215. package/docs/components/FileUpload/examples/FileUpload.md +112 -53
  216. package/docs/components/Form/examples/Form.md +134 -89
  217. package/docs/components/Icon/examples/Icon.md +82 -11
  218. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
  219. package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
  220. package/docs/components/Label/examples/Label.css +4 -0
  221. package/docs/components/Label/examples/Label.md +3090 -703
  222. package/docs/components/LogViewer/examples/LogViewer.md +180 -180
  223. package/docs/components/Login/examples/Login.md +10 -5
  224. package/docs/components/Masthead/examples/masthead.md +443 -65
  225. package/docs/components/Menu/examples/Menu.md +507 -473
  226. package/docs/components/MenuToggle/examples/MenuToggle.md +106 -114
  227. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
  228. package/docs/components/Nav/examples/Navigation.css +1 -23
  229. package/docs/components/Nav/examples/Navigation.md +209 -356
  230. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  231. package/docs/components/Page/examples/Page.css +0 -8
  232. package/docs/components/Page/examples/Page.md +22 -21
  233. package/docs/components/Pagination/examples/Pagination.md +663 -637
  234. package/docs/components/Panel/examples/Panel.md +12 -0
  235. package/docs/components/Popover/examples/Popover.md +1 -1
  236. package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
  237. package/docs/components/Radio/examples/Radio.md +1 -1
  238. package/docs/components/Sidebar/examples/Sidebar.md +19 -0
  239. package/docs/components/SimpleList/examples/SimpleList.md +3 -3
  240. package/docs/components/TabContent/examples/TabContent.md +10 -10
  241. package/docs/components/Table/examples/Table.md +8 -8
  242. package/docs/components/Tabs/examples/Tabs.css +1 -1
  243. package/docs/components/Tabs/examples/Tabs.md +1025 -826
  244. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  245. package/docs/components/Tile/examples/Tile.md +264 -144
  246. package/docs/components/Title/examples/Title.md +18 -0
  247. package/docs/components/Toolbar/examples/Toolbar.css +20 -15
  248. package/docs/components/Toolbar/examples/Toolbar.md +985 -3355
  249. package/docs/components/TreeView/examples/TreeView.md +7 -57
  250. package/docs/components/Truncate/examples/Truncate.css +2 -2
  251. package/docs/demos/AboutModal/examples/AboutModal.md +104 -31
  252. package/docs/demos/Alert/examples/Alert.md +330 -87
  253. package/docs/demos/BackToTop/examples/BackToTop.md +102 -29
  254. package/docs/demos/Banner/examples/Banner.md +211 -60
  255. package/docs/demos/Card/examples/Card.md +2 -2
  256. package/docs/demos/CardView/examples/CardView.md +241 -187
  257. package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
  258. package/docs/demos/Dashboard/examples/Dashboard.md +102 -29
  259. package/docs/demos/DataList/examples/DataList.md +999 -938
  260. package/docs/demos/DescriptionList/examples/DescriptionList.md +306 -87
  261. package/docs/demos/Drawer/examples/Drawer.md +640 -251
  262. package/docs/demos/Form/examples/BasicForms.md +138 -84
  263. package/docs/demos/JumpLinks/examples/JumpLinks.md +917 -385
  264. package/docs/demos/Masthead/examples/Masthead.md +786 -342
  265. package/docs/demos/Modal/examples/Modal.md +645 -198
  266. package/docs/demos/Nav/examples/Nav.md +691 -902
  267. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +515 -145
  268. package/docs/demos/Page/examples/Page.md +942 -273
  269. package/docs/demos/Page/examples/Penta.md +66 -26
  270. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
  271. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
  272. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1183 -832
  273. package/docs/demos/Skeleton/examples/Skeleton.md +102 -29
  274. package/docs/demos/Table/examples/Table.md +3811 -3456
  275. package/docs/demos/Tabs/examples/Tabs.md +636 -194
  276. package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
  277. package/docs/demos/Toolbar/examples/Toolbar.md +1316 -1478
  278. package/docs/demos/Wizard/examples/Wizard.md +918 -261
  279. package/docs/layouts/Flex/examples/Flex.md +11 -11
  280. package/package.json +32 -32
  281. package/patternfly-base-no-globals-theme-dark-unversioned.css +897 -880
  282. package/patternfly-base-no-globals.css +897 -880
  283. package/patternfly-base-theme-dark-unversioned.css +890 -872
  284. package/patternfly-base.css +890 -872
  285. package/patternfly-no-globals.css +8053 -7977
  286. package/patternfly-theme-dark-unversioned.css +8059 -7982
  287. package/patternfly.css +8059 -7982
  288. package/patternfly.min.css +1 -1
  289. package/patternfly.min.css.map +1 -1
  290. package/sass-utilities/mixins.scss +18 -0
  291. package/base/themes/dark/_variables.scss +0 -102
  292. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  293. package/components/Accordion/themes/dark/accordion.scss +0 -9
  294. package/components/Alert/themes/dark/alert.scss +0 -17
  295. package/components/Badge/themes/dark/badge.scss +0 -9
  296. package/components/Banner/themes/dark/banner.scss +0 -14
  297. package/components/Button/themes/dark/button.scss +0 -51
  298. package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
  299. package/components/Card/themes/dark/card.scss +0 -20
  300. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
  301. package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
  302. package/components/DataList/themes/dark/data-list.scss +0 -10
  303. package/components/DatePicker/themes/dark/date-picker.scss +0 -8
  304. package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
  305. package/components/Drawer/themes/dark/drawer.scss +0 -13
  306. package/components/Form/themes/dark/form.scss +0 -7
  307. package/components/FormControl/themes/dark/form-control.scss +0 -24
  308. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  309. package/components/Hint/themes/dark/hint.scss +0 -8
  310. package/components/InputGroup/themes/dark/input-group.scss +0 -22
  311. package/components/Label/themes/dark/label.scss +0 -53
  312. package/components/Login/themes/dark/login.scss +0 -12
  313. package/components/Masthead/themes/dark/masthead.scss +0 -14
  314. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  315. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  316. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
  317. package/components/Page/themes/dark/page.scss +0 -69
  318. package/components/Pagination/themes/dark/pagination.scss +0 -7
  319. package/components/Panel/themes/dark/panel.scss +0 -7
  320. package/components/Popover/themes/dark/popover.scss +0 -11
  321. package/components/Progress/themes/dark/progress.scss +0 -9
  322. package/components/SimpleList/themes/dark/simple-list.scss +0 -14
  323. package/components/Skeleton/themes/dark/skeleton.scss +0 -10
  324. package/components/Switch/themes/dark/switch.scss +0 -11
  325. package/components/Tabs/themes/dark/tabs.scss +0 -10
  326. package/components/Tile/themes/dark/tile.scss +0 -10
  327. package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
  328. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  329. package/components/TreeView/themes/dark/tree-view.scss +0 -8
  330. package/docs/components/Avatar/examples/Avatar.css +0 -3
  331. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -5,51 +5,49 @@
5
5
 
6
6
  :root {
7
7
  // Base tokens for fonts
8
- --pf-t--global--font--family--100: redhattext;
9
- --pf-t--global--font--family--200: redhatdisplay;
10
- --pf-t--global--font--family--300: redhatmono;
8
+ --pf-t--global--font--family--100: redhattextvf, redhattext, helvetica, arial, sans-serif;
9
+ --pf-t--global--font--family--200: redhatdisplayvf, redhatdisplay, helvetica, arial, sans-serif;
10
+ --pf-t--global--font--family--300: redhatmonovf, redhatmono, liberationmono, consolas, sfmono-regular, menlo, monaco, courier new, monospace;
11
11
  --pf-t--global--font--line-height--100: 1.3;
12
12
  --pf-t--global--font--line-height--200: 1.5;
13
13
  --pf-t--global--font--weight--body--100: 400;
14
- --pf-t--global--font--weight--body--200: 600;
15
- --pf-t--global--font--weight--heading--100: 700; // what should this be?
14
+ --pf-t--global--font--weight--body--200: 500;
15
+ --pf-t--global--font--weight--heading--100: 700;
16
16
  --pf-t--global--font--weight--heading--200: 700;
17
- --pf-t--global--font--size--body--100: 12px;
18
- --pf-t--global--font--size--body--200: 14px;
19
- --pf-t--global--font--size--body--300: 16px;
20
- --pf-t--global--font--size--heading--100: 16px;
21
- --pf-t--global--font--size--heading--200: 18px;
22
- --pf-t--global--font--size--heading--300: 20px;
23
- --pf-t--global--font--size--heading--400: 24px;
24
- --pf-t--global--font--size--heading--500: 28px;
25
- --pf-t--global--font--size--heading--600: 36px;
26
17
 
27
18
  // Semantic tokens for fonts
28
19
  --pf-t--global--font--family--body: var(--pf-t--global--font--family--100);
29
20
  --pf-t--global--font--family--heading: var(--pf-t--global--font--family--200);
30
21
  --pf-t--global--font--family--mono: var(--pf-t--global--font--family--300);
31
- --pf-t--global--font--line-height--body: var(--pf-t--global--font--line-height--100);
32
- --pf-t--global--font--line-height--heading: var(--pf-t--global--font--line-height--200);
22
+ --pf-t--global--font--line-height--body: var(--pf-t--global--font--line-height--200);
23
+ --pf-t--global--font--line-height--heading: var(--pf-t--global--font--line-height--100);
33
24
  --pf-t--global--font--weight--body: var(--pf-t--global--font--weight--body--100);
34
25
  --pf-t--global--font--weight--body--bold: var(--pf-t--global--font--weight--body--200);
35
26
  --pf-t--global--font--weight--heading: var(--pf-t--global--font--weight--heading--100);
36
27
  --pf-t--global--font--weight--heading--bold: var(--pf-t--global--font--weight--heading--200);
37
- --pf-t--global--font--size--body--sm: var(--pf-t--global--font--size--body--100);
38
- --pf-t--global--font--size--body--md: var(--pf-t--global--font--size--body--200);
39
- --pf-t--global--font--size--body--lg: var(--pf-t--global--font--size--body--300);
40
- --pf-t--global--font--size--body: var(--pf-t--global--font--size--body--md);
41
- --pf-t--global--font--size--heading--xs: var(--pf-t--global--font--size--heading--100);
42
- --pf-t--global--font--size--heading--sm: var(--pf-t--global--font--size--heading--200);
43
- --pf-t--global--font--size--heading--md: var(--pf-t--global--font--size--heading--300);
44
- --pf-t--global--font--size--heading--lg: var(--pf-t--global--font--size--heading--400);
45
- --pf-t--global--font--size--heading--xl: var(--pf-t--global--font--size--heading--500);
46
- --pf-t--global--font--size--heading--2xl: var(--pf-t--global--font--size--heading--600);
28
+
29
+ // TODO Maintaining these in addition to the h1-h6 sizes
30
+ --pf-t--global--font--size--heading--xs: var(--pf-t--global--font--size--md);
31
+ --pf-t--global--font--size--heading--sm: var(--pf-t--global--font--size--lg);
32
+ --pf-t--global--font--size--heading--md: var(--pf-t--global--font--size--xl);
33
+ --pf-t--global--font--size--heading--lg: var(--pf-t--global--font--size--2xl);
34
+ --pf-t--global--font--size--heading--xl: var(--pf-t--global--font--size--3xl);
35
+ --pf-t--global--font--size--heading--2xl: var(--pf-t--global--font--size--4xl);
36
+
37
+ // Legacy/non-variable font opt-in
38
+ --pf-t--global--font--family--body--legacy: redhattext, helvetica, arial, sans-serif;
39
+ --pf-t--global--font--family--heading--legacy: redhatdisplay, helvetica, arial, sans-serif;
40
+ --pf-t--global--font--family--mono--legacy: redhatmono, liberationmono, consolas, sfmono-regular, menlo, monaco, courier new, monospace;
41
+ --pf-t--global--font--weight--body--legacy: 400;
42
+ --pf-t--global--font--weight--body--bold--legacy: 700;
43
+ --pf-t--global--font--weight--heading--legacy: 400;
44
+ --pf-t--global--font--weight--heading--bold--legacy: 700;
47
45
 
48
46
  // Other missing ones
49
47
  // text-decoration
50
48
  --pf-t--global--text-decoration--100: none;
51
49
  --pf-t--global--text-decoration--200: underline;
52
- --pf-t--global--link--text-decoration: var(--pf-t--global--text-decoration--200);
50
+ --pf-t--global--link--text-decoration: var(--pf-t--global--text-decoration--100);
53
51
  --pf-t--global--link--text-decoration--hover: var(--pf-t--global--text-decoration--200);
54
52
 
55
53
  // blend modes
@@ -57,11 +55,6 @@
57
55
  --pf-t--global--mix-blend-mode--200: screen;
58
56
  --pf-t--global--background--color--action--plain--hover--blend: var(--pf-t--global--mix-blend-mode--100);
59
57
 
60
- // semantic border width
61
- --pf-t--global--border--width--control--default: var(--pf-t--global--border--width--100);
62
- --pf-t--global--border--width--control--hover: var(--pf-t--global--border--width--100);
63
- --pf-t--global--border--width--control--active: var(--pf-t--global--border--width--200);
64
-
65
58
  // box-shadow
66
59
  --pf-t--global--box-shadow--sm: 0px 1px 2px 0px rgb(0 0 0 / 16%);
67
60
  --pf-t--global--box-shadow--sm--top: 0px -1px 2px 0px rgb(0 0 0 / 16%);
@@ -85,10 +78,10 @@
85
78
 
86
79
  // box shadow
87
80
  --pf-t--global--box-shadow--sm: 0px 1px 2px 0px rgb(0 0 0 / 50%);
88
- --pf-t--global--box-shadow--sm-top: 0px -1px 2px 0px rgb(0 0 0 / 50%);
89
- --pf-t--global--box-shadow--sm-right: 1px 0px 2px 0px rgb(0 0 0 / 50%);
90
- --pf-t--global--box-shadow--sm-bottom: 0px 1px 2px 0px rgb(0 0 0 / 50%);
91
- --pf-t--global--box-shadow--sm-left: -1px 0px 2px 0px rgb(0 0 0 / 50%);
81
+ --pf-t--global--box-shadow--sm--top: 0px -1px 2px 0px rgb(0 0 0 / 50%);
82
+ --pf-t--global--box-shadow--sm--right: 1px 0px 2px 0px rgb(0 0 0 / 50%);
83
+ --pf-t--global--box-shadow--sm--bottom: 0px 1px 2px 0px rgb(0 0 0 / 50%);
84
+ --pf-t--global--box-shadow--sm--left: -1px 0px 2px 0px rgb(0 0 0 / 50%);
92
85
  --pf-t--global--box-shadow--md: 0px 4px 8px 0px rgb(0 0 0 / 50%);
93
86
  --pf-t--global--box-shadow--lg: 0px 8px 24px 0px rgb(0 0 0 / 50%);
94
87
  }
@@ -1,75 +1,75 @@
1
- /**
2
- * Do not edit directly
3
- * Generated on Wed, 04 Oct 2023 12:59:21 GMT
4
- */
1
+ // /**
2
+ // * Do not edit directly
3
+ // * Generated on Tue, 06 Feb 2024 18:33:23 GMT
4
+ // */
5
5
 
6
6
  :root {
7
- --pf-t--color--white: #fff;
7
+ --pf-t--color--red--70: #5f0000;
8
+ --pf-t--color--red--60: #a60000;
9
+ --pf-t--color--red--50: #e00;
10
+ --pf-t--color--red--40: #f56e6e;
11
+ --pf-t--color--red--30: #f9a8a8;
12
+ --pf-t--color--red--20: #fbc5c5;
13
+ --pf-t--color--red--10: #fce3e3;
14
+ --pf-t--color--purple--70: #21134d;
15
+ --pf-t--color--purple--60: #3d2785;
16
+ --pf-t--color--purple--50: #5e40be;
17
+ --pf-t--color--purple--40: #876fd4;
18
+ --pf-t--color--purple--30: #b6a6e9;
19
+ --pf-t--color--purple--20: #d0c5f4;
20
+ --pf-t--color--purple--10: #ece6ff;
21
+ --pf-t--color--red-orange--70: #731f00;
22
+ --pf-t--color--red-orange--60: #b1380b;
23
+ --pf-t--color--red-orange--50: #f0561d;
24
+ --pf-t--color--red-orange--40: #f4784a;
25
+ --pf-t--color--red-orange--30: #f89b78;
26
+ --pf-t--color--red-orange--20: #fbbea8;
27
+ --pf-t--color--red-orange--10: #ffe3d9;
28
+ --pf-t--color--orange--70: #732e00;
29
+ --pf-t--color--orange--60: #9e4a06;
30
+ --pf-t--color--orange--50: #ca6c0f;
31
+ --pf-t--color--orange--40: #f5921b;
32
+ --pf-t--color--orange--30: #f8ae54;
33
+ --pf-t--color--orange--20: #fccb8f;
34
+ --pf-t--color--orange--10: #ffe8cc;
35
+ --pf-t--color--green--70: #204d00;
36
+ --pf-t--color--green--60: #3d7317;
37
+ --pf-t--color--green--50: #63993d;
38
+ --pf-t--color--green--40: #87bb62;
39
+ --pf-t--color--green--30: #afdc8f;
40
+ --pf-t--color--green--20: #d1f1bb;
41
+ --pf-t--color--green--10: #e9f7df;
42
+ --pf-t--color--yellow--70: #73480b;
43
+ --pf-t--color--yellow--60: #96640f;
44
+ --pf-t--color--yellow--50: #b98412;
45
+ --pf-t--color--yellow--40: #dca614;
46
+ --pf-t--color--yellow--30: #ffcc17;
47
+ --pf-t--color--yellow--20: #ffe072;
48
+ --pf-t--color--yellow--10: #fff4cc;
49
+ --pf-t--color--teal--70: #004d4d;
50
+ --pf-t--color--teal--60: #147878;
51
+ --pf-t--color--teal--50: #37a3a3;
52
+ --pf-t--color--teal--40: #63bdbd;
53
+ --pf-t--color--teal--30: #9ad8d8;
54
+ --pf-t--color--teal--20: #b9e5e5;
55
+ --pf-t--color--teal--10: #daf2f2;
56
+ --pf-t--color--blue--70: #036;
57
+ --pf-t--color--blue--60: #004d99;
58
+ --pf-t--color--blue--50: #06c;
59
+ --pf-t--color--blue--40: #4394e5;
60
+ --pf-t--color--blue--30: #92c5f9;
61
+ --pf-t--color--blue--20: #b9dafc;
62
+ --pf-t--color--blue--10: #e0f0ff;
8
63
  --pf-t--color--black: #000;
9
- --pf-t--color--gray--1000: #151515;
10
- --pf-t--color--gray--900: #1f1f1f;
11
- --pf-t--color--gray--800: #292929;
12
- --pf-t--color--gray--700: #383838;
13
- --pf-t--color--gray--600: #4d4d4d;
14
- --pf-t--color--gray--500: #6e6e6e;
15
- --pf-t--color--gray--400: #a3a3a3;
16
- --pf-t--color--gray--300: #c7c7c7;
17
- --pf-t--color--gray--200: #e0e0e0;
18
- --pf-t--color--gray--100: #f2f2f2;
19
- --pf-t--color--cyan--700: #023233;
20
- --pf-t--color--cyan--600: #074c4d;
21
- --pf-t--color--cyan--500: #187577;
22
- --pf-t--color--cyan--400: #42adaf;
23
- --pf-t--color--cyan--300: #88dadb;
24
- --pf-t--color--cyan--200: #b3ebec;
25
- --pf-t--color--cyan--100: #e3fcfc;
26
- --pf-t--color--blue--700: #001c43;
27
- --pf-t--color--blue--600: #002b68;
28
- --pf-t--color--blue--500: #0043a0;
29
- --pf-t--color--blue--400: #0c61d9;
30
- --pf-t--color--blue--300: #60a2ff;
31
- --pf-t--color--blue--200: #9cc5ff;
32
- --pf-t--color--blue--100: #d9e9ff;
33
- --pf-t--color--gold--700: #4e3500;
34
- --pf-t--color--gold--600: #755200;
35
- --pf-t--color--gold--500: #ac7a00;
36
- --pf-t--color--gold--400: #f0ab00;
37
- --pf-t--color--gold--300: #ffcd5b;
38
- --pf-t--color--gold--200: #ffdc9b;
39
- --pf-t--color--gold--100: #ffefd9;
40
- --pf-t--color--green--700: #062901;
41
- --pf-t--color--green--600: #0b3906;
42
- --pf-t--color--green--500: #1b5813;
43
- --pf-t--color--green--400: #3e8635;
44
- --pf-t--color--green--300: #83c079;
45
- --pf-t--color--green--200: #b2deaa;
46
- --pf-t--color--green--100: #e7fce3;
47
- --pf-t--color--orange--700: #501d00;
48
- --pf-t--color--orange--600: #792f04;
49
- --pf-t--color--orange--500: #b14e14;
50
- --pf-t--color--orange--400: #f7823d;
51
- --pf-t--color--orange--300: #ffb989;
52
- --pf-t--color--orange--200: #ffd1b2;
53
- --pf-t--color--orange--100: #ffe7d9;
54
- --pf-t--color--orangered--700: #331500;
55
- --pf-t--color--orangered--600: #552000;
56
- --pf-t--color--orangered--500: #882d00;
57
- --pf-t--color--orangered--400: #cc3a00;
58
- --pf-t--color--orangered--300: #ff542e;
59
- --pf-t--color--orangered--200: #ff947c;
60
- --pf-t--color--orangered--100: #ffd3c9;
61
- --pf-t--color--purple--700: #1c1337;
62
- --pf-t--color--purple--600: #291b55;
63
- --pf-t--color--purple--500: #3e2882;
64
- --pf-t--color--purple--400: #5f40be;
65
- --pf-t--color--purple--300: #9a81e5;
66
- --pf-t--color--purple--200: #c0b0f1;
67
- --pf-t--color--purple--100: #eae3fc;
68
- --pf-t--color--red--700: #3a0400;
69
- --pf-t--color--red--600: #5a0600;
70
- --pf-t--color--red--500: #8a0a00;
71
- --pf-t--color--red--400: #c9190b;
72
- --pf-t--color--red--300: #ee665b;
73
- --pf-t--color--red--200: #f69f98;
74
- --pf-t--color--red--100: #ffdbd9;
64
+ --pf-t--color--gray--95: #151515;
65
+ --pf-t--color--gray--90: #1f1f1f;
66
+ --pf-t--color--gray--80: #292929;
67
+ --pf-t--color--gray--70: #383838;
68
+ --pf-t--color--gray--60: #4d4d4d;
69
+ --pf-t--color--gray--50: #707070;
70
+ --pf-t--color--gray--40: #a3a3a3;
71
+ --pf-t--color--gray--30: #c7c7c7;
72
+ --pf-t--color--gray--20: #e0e0e0;
73
+ --pf-t--color--gray--10: #f2f2f2;
74
+ --pf-t--color--white: #fff;
75
75
  }
@@ -0,0 +1,7 @@
1
+ // stylelint-disable
2
+ html {
3
+ .ws-preview {
4
+ background-color: var(--pf-t--global--background--color--primary--default);
5
+ }
6
+ }
7
+ // stylelint-enable
@@ -1,21 +1,6 @@
1
- .pf-v5-c-about-modal-box {
2
- --pf-v5-global--Color--100: var(--pf-v5-global--Color--light-100);
3
- --pf-v5-global--Color--200: var(--pf-v5-global--Color--light-200);
4
- --pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--light-100);
5
- --pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--light-100);
6
- --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--light);
7
- --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--light);
8
- --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--dark-100);
9
- --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--light);
10
- --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--light);
11
- }
12
- .pf-v5-c-about-modal-box .pf-v5-c-button {
13
- --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--dark-100);
14
- }
15
-
16
- .pf-v5-c-about-modal-box {
1
+ :root {
17
2
  --pf-v5-c-about-modal-box--BackgroundImage: none;
18
- --pf-v5-c-about-modal-box--BackgroundColor: var(--pf-v5-global--palette--black-1000);
3
+ --pf-v5-c-about-modal-box--BackgroundColor: var(--pf-t--global--background--color--floating--default);
19
4
  --pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
20
5
  --pf-v5-c-about-modal-box--BackgroundSize--min-width: 200px;
21
6
  --pf-v5-c-about-modal-box--BackgroundSize--width: 60%;
@@ -27,98 +12,95 @@
27
12
  --pf-v5-c-about-modal-box--sm--GridTemplateColumns: 5fr 1fr;
28
13
  --pf-v5-c-about-modal-box--lg--GridTemplateColumns: 1fr .6fr;
29
14
  --pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
30
- --pf-v5-c-about-modal-box__brand--PaddingTop: var(--pf-v5-global--spacer--2xl);
31
- --pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-v5-global--spacer--xl);
32
- --pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-v5-global--spacer--xl);
33
- --pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-v5-global--spacer--xl);
34
- --pf-v5-c-about-modal-box__brand--sm--PaddingRight: var(--pf-v5-global--spacer--3xl);
35
- --pf-v5-c-about-modal-box__brand--sm--PaddingLeft: var(--pf-v5-global--spacer--3xl);
36
- --pf-v5-c-about-modal-box__brand--sm--PaddingBottom: var(--pf-v5-global--spacer--3xl);
15
+ --pf-v5-c-about-modal-box__brand--PaddingTop: var(--pf-t--global--spacer--2xl);
16
+ --pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-t--global--spacer--xl);
17
+ --pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-t--global--spacer--xl);
18
+ --pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-t--global--spacer--xl);
19
+ --pf-v5-c-about-modal-box__brand--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
20
+ --pf-v5-c-about-modal-box__brand--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
21
+ --pf-v5-c-about-modal-box__brand--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
37
22
  --pf-v5-c-about-modal-box__close--ZIndex: var(--pf-v5-global--ZIndex--2xl);
38
- --pf-v5-c-about-modal-box__close--PaddingTop: var(--pf-v5-global--spacer--2xl);
39
- --pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-v5-global--spacer--xl);
40
- --pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-v5-global--spacer--xl);
41
- --pf-v5-c-about-modal-box__close--sm--PaddingBottom: var(--pf-v5-global--spacer--3xl);
42
- --pf-v5-c-about-modal-box__close--lg--PaddingRight: var(--pf-v5-global--spacer--3xl);
43
- --pf-v5-c-about-modal-box__close--c-button--Color: var(--pf-v5-global--Color--100);
44
- --pf-v5-c-about-modal-box__close--c-button--FontSize: var(--pf-v5-global--FontSize--xl);
45
- --pf-v5-c-about-modal-box__close--c-button--BorderRadius: var(--pf-v5-global--BorderRadius--lg);
46
- --pf-v5-c-about-modal-box__close--c-button--Width: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
47
- --pf-v5-c-about-modal-box__close--c-button--Height: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
48
- --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-global--palette--black-1000);
49
- --pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor: rgba(3, 3, 3, 0.4);
23
+ --pf-v5-c-about-modal-box__close--PaddingTop: var(--pf-t--global--spacer--2xl);
24
+ --pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-t--global--spacer--xl);
25
+ --pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-t--global--spacer--xl);
26
+ --pf-v5-c-about-modal-box__close--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
27
+ --pf-v5-c-about-modal-box__close--lg--PaddingRight: var(--pf-t--global--spacer--3xl);
28
+ --pf-v5-c-about-modal-box__close--c-button--FontSize: var(--pf-t--global--icon--size--lg);
50
29
  --pf-v5-c-about-modal-box__brand-image--Height: 2.5rem;
51
- --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-v5-global--spacer--xl);
52
- --pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-v5-global--spacer--sm);
53
- --pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-v5-global--spacer--xl);
54
- --pf-v5-c-about-modal-box__header--sm--PaddingRight: var(--pf-v5-global--spacer--3xl);
55
- --pf-v5-c-about-modal-box__header--sm--PaddingLeft: var(--pf-v5-global--spacer--3xl);
56
- --pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-v5-global--spacer--xl);
57
- --pf-v5-c-about-modal-box__strapline--FontSize: var(--pf-v5-global--FontSize--sm);
58
- --pf-v5-c-about-modal-box__strapline--sm--PaddingTop: var(--pf-v5-global--spacer--2xl);
59
- --pf-v5-c-about-modal-box__content--MarginTop: var(--pf-v5-global--spacer--xl);
60
- --pf-v5-c-about-modal-box__content--MarginRight: var(--pf-v5-global--spacer--xl);
61
- --pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-v5-global--spacer--xl);
62
- --pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-v5-global--spacer--xl);
63
- --pf-v5-c-about-modal-box__content--sm--MarginTop: var(--pf-v5-global--spacer--2xl);
64
- --pf-v5-c-about-modal-box__content--sm--MarginRight: var(--pf-v5-global--spacer--3xl);
65
- --pf-v5-c-about-modal-box__content--sm--MarginBottom: var(--pf-v5-global--spacer--2xl);
66
- --pf-v5-c-about-modal-box__content--sm--MarginLeft: var(--pf-v5-global--spacer--3xl);
67
- color: var(--pf-v5-global--Color--100);
68
- position: relative;
69
- display: grid;
70
- grid-template-areas: "brand close" "header header" "content content";
71
- grid-template-rows: max-content max-content auto;
72
- width: var(--pf-v5-c-about-modal-box--Width);
73
- height: var(--pf-v5-c-about-modal-box--Height);
74
- overflow-x: hidden;
75
- overflow-y: auto;
76
- background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
77
- background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
78
- background-repeat: no-repeat;
79
- background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
80
- background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
81
- }
82
- :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-about-modal-box {
30
+ --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-t--global--spacer--xl);
31
+ --pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-t--global--spacer--sm);
32
+ --pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-t--global--spacer--xl);
33
+ --pf-v5-c-about-modal-box__header--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
34
+ --pf-v5-c-about-modal-box__header--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
35
+ --pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-t--global--spacer--xl);
36
+ --pf-v5-c-about-modal-box__strapline--FontSize: var(--pf-t--global--font--size--body--sm);
37
+ --pf-v5-c-about-modal-box__strapline--Color: var(--pf-t--global--text--color--subtle);
38
+ --pf-v5-c-about-modal-box__strapline--sm--PaddingTop: var(--pf-t--global--spacer--2xl);
39
+ --pf-v5-c-about-modal-box__content--MarginTop: var(--pf-t--global--spacer--xl);
40
+ --pf-v5-c-about-modal-box__content--MarginRight: var(--pf-t--global--spacer--xl);
41
+ --pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-t--global--spacer--xl);
42
+ --pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-t--global--spacer--xl);
43
+ --pf-v5-c-about-modal-box__content--sm--MarginTop: var(--pf-t--global--spacer--2xl);
44
+ --pf-v5-c-about-modal-box__content--sm--MarginRight: var(--pf-t--global--spacer--3xl);
45
+ --pf-v5-c-about-modal-box__content--sm--MarginBottom: var(--pf-t--global--spacer--2xl);
46
+ --pf-v5-c-about-modal-box__content--sm--MarginLeft: var(--pf-t--global--spacer--3xl);
47
+ }
48
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) :root {
83
49
  --pf-v5-c-about-modal-box--BackgroundPosition: bottom left;
84
50
  }
85
51
 
86
52
  @media screen and (min-width: 576px) {
87
- .pf-v5-c-about-modal-box {
53
+ :root {
88
54
  --pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-v5-c-about-modal-box__brand--sm--PaddingRight);
89
55
  --pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-v5-c-about-modal-box__brand--sm--PaddingLeft);
90
56
  --pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-v5-c-about-modal-box__brand--sm--PaddingBottom);
91
57
  }
92
58
  }
93
59
  @media only screen and (min-width: 576px) {
94
- .pf-v5-c-about-modal-box {
60
+ :root {
95
61
  --pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-v5-c-about-modal-box__close--sm--PaddingBottom);
96
62
  }
97
63
  }
98
64
  @media only screen and (min-width: 992px) {
99
- .pf-v5-c-about-modal-box {
65
+ :root {
100
66
  --pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-v5-c-about-modal-box__close--lg--PaddingRight);
101
67
  }
102
68
  }
103
69
  @media only screen and (min-width: 576px) {
104
- .pf-v5-c-about-modal-box {
70
+ :root {
105
71
  --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-v5-c-about-modal-box__header--sm--PaddingRight);
106
72
  --pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-v5-c-about-modal-box__header--sm--PaddingLeft);
107
73
  }
108
74
  }
109
75
  @media only screen and (min-width: 576px) {
110
- .pf-v5-c-about-modal-box {
76
+ :root {
111
77
  --pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-v5-c-about-modal-box__strapline--sm--PaddingTop);
112
78
  }
113
79
  }
114
80
  @media only screen and (min-width: 576px) {
115
- .pf-v5-c-about-modal-box {
81
+ :root {
116
82
  --pf-v5-c-about-modal-box__content--MarginTop: var(--pf-v5-c-about-modal-box__content--sm--MarginTop);
117
83
  --pf-v5-c-about-modal-box__content--MarginRight: var(--pf-v5-c-about-modal-box__content--sm--MarginRight);
118
84
  --pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-v5-c-about-modal-box__content--sm--MarginBottom);
119
85
  --pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-v5-c-about-modal-box__content--sm--MarginLeft);
120
86
  }
121
87
  }
88
+
89
+ .pf-v5-c-about-modal-box {
90
+ position: relative;
91
+ display: grid;
92
+ grid-template-areas: "brand close" "header header" "content content";
93
+ grid-template-rows: max-content max-content auto;
94
+ width: var(--pf-v5-c-about-modal-box--Width);
95
+ height: var(--pf-v5-c-about-modal-box--Height);
96
+ overflow-x: hidden;
97
+ overflow-y: auto;
98
+ background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
99
+ background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
100
+ background-repeat: no-repeat;
101
+ background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
102
+ background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
103
+ }
122
104
  @media only screen and (min-width: 576px) {
123
105
  .pf-v5-c-about-modal-box {
124
106
  grid-template-areas: "brand close" "header close" "content close";
@@ -160,6 +142,7 @@
160
142
  padding-block-start: var(--pf-v5-c-about-modal-box__strapline--PaddingTop);
161
143
  margin-block-start: auto;
162
144
  font-size: var(--pf-v5-c-about-modal-box__strapline--FontSize);
145
+ color: var(--pf-v5-c-about-modal-box__strapline--Color);
163
146
  }
164
147
 
165
148
  .pf-v5-c-about-modal-box__content {
@@ -206,25 +189,5 @@
206
189
  }
207
190
  }
208
191
  .pf-v5-c-about-modal-box__close .pf-v5-c-button.pf-m-plain {
209
- display: flex;
210
- align-items: center;
211
- justify-content: center;
212
- width: var(--pf-v5-c-about-modal-box__close--c-button--Width);
213
- height: var(--pf-v5-c-about-modal-box__close--c-button--Height);
214
- padding: 0;
215
192
  font-size: var(--pf-v5-c-about-modal-box__close--c-button--FontSize);
216
- color: var(--pf-v5-c-about-modal-box__close--c-button--Color);
217
- background-color: var(--pf-v5-c-about-modal-box__close--c-button--BackgroundColor);
218
- border-radius: var(--pf-v5-c-about-modal-box__close--c-button--BorderRadius);
219
- }
220
- .pf-v5-c-about-modal-box__close .pf-v5-c-button.pf-m-plain:hover {
221
- --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor);
222
- }
223
-
224
- :where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box .pf-v5-c-button {
225
- --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--300);
226
- }
227
-
228
- :where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box {
229
- color: var(--pf-v5-global--Color--100);
230
193
  }
@@ -1,9 +1,9 @@
1
1
  // @debug $about-modal-box; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
2
 
3
- .#{$about-modal-box} {
3
+ :root {
4
4
  // Component variables
5
5
  --#{$about-modal-box}--BackgroundImage: none;
6
- --#{$about-modal-box}--BackgroundColor: var(--#{$pf-global}--palette--black-1000); // Modal uses a non-standard background color
6
+ --#{$about-modal-box}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
7
7
  --#{$about-modal-box}--BackgroundPosition: bottom right;
8
8
  --#{$about-modal-box}--BackgroundSize--min-width: 200px;
9
9
  --#{$about-modal-box}--BackgroundSize--width: 60%;
@@ -23,13 +23,13 @@
23
23
 
24
24
 
25
25
  // Brand
26
- --#{$about-modal-box}__brand--PaddingTop: var(--#{$pf-global}--spacer--2xl);
27
- --#{$about-modal-box}__brand--PaddingRight: var(--#{$pf-global}--spacer--xl);
28
- --#{$about-modal-box}__brand--PaddingLeft: var(--#{$pf-global}--spacer--xl);
29
- --#{$about-modal-box}__brand--PaddingBottom: var(--#{$pf-global}--spacer--xl);
30
- --#{$about-modal-box}__brand--sm--PaddingRight: var(--#{$pf-global}--spacer--3xl);
31
- --#{$about-modal-box}__brand--sm--PaddingLeft: var(--#{$pf-global}--spacer--3xl);
32
- --#{$about-modal-box}__brand--sm--PaddingBottom: var(--#{$pf-global}--spacer--3xl);
26
+ --#{$about-modal-box}__brand--PaddingTop: var(--pf-t--global--spacer--2xl);
27
+ --#{$about-modal-box}__brand--PaddingRight: var(--pf-t--global--spacer--xl);
28
+ --#{$about-modal-box}__brand--PaddingLeft: var(--pf-t--global--spacer--xl);
29
+ --#{$about-modal-box}__brand--PaddingBottom: var(--pf-t--global--spacer--xl);
30
+ --#{$about-modal-box}__brand--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
31
+ --#{$about-modal-box}__brand--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
32
+ --#{$about-modal-box}__brand--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
33
33
 
34
34
  @media screen and (min-width: $pf-v5-global--breakpoint--sm) {
35
35
  --#{$about-modal-box}__brand--PaddingRight: var(--#{$about-modal-box}__brand--sm--PaddingRight);
@@ -38,12 +38,12 @@
38
38
  }
39
39
 
40
40
  // Close
41
- --#{$about-modal-box}__close--ZIndex: var(--#{$pf-global}--ZIndex--2xl);
42
- --#{$about-modal-box}__close--PaddingTop: var(--#{$pf-global}--spacer--2xl);
43
- --#{$about-modal-box}__close--PaddingRight: var(--#{$pf-global}--spacer--xl);
44
- --#{$about-modal-box}__close--PaddingBottom: var(--#{$pf-global}--spacer--xl);
45
- --#{$about-modal-box}__close--sm--PaddingBottom: var(--#{$pf-global}--spacer--3xl);
46
- --#{$about-modal-box}__close--lg--PaddingRight: var(--#{$pf-global}--spacer--3xl);
41
+ --#{$about-modal-box}__close--ZIndex: var(--#{$pf-global}--ZIndex--2xl); // TODO zindex token
42
+ --#{$about-modal-box}__close--PaddingTop: var(--pf-t--global--spacer--2xl);
43
+ --#{$about-modal-box}__close--PaddingRight: var(--pf-t--global--spacer--xl);
44
+ --#{$about-modal-box}__close--PaddingBottom: var(--pf-t--global--spacer--xl);
45
+ --#{$about-modal-box}__close--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
46
+ --#{$about-modal-box}__close--lg--PaddingRight: var(--pf-t--global--spacer--3xl);
47
47
 
48
48
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
49
49
  --#{$about-modal-box}__close--PaddingBottom: var(--#{$about-modal-box}__close--sm--PaddingBottom);
@@ -54,23 +54,17 @@
54
54
  }
55
55
 
56
56
  // Close Button
57
- --#{$about-modal-box}__close--c-button--Color: var(--#{$pf-global}--Color--100);
58
- --#{$about-modal-box}__close--c-button--FontSize: var(--#{$pf-global}--FontSize--xl);
59
- --#{$about-modal-box}__close--c-button--BorderRadius: var(--#{$pf-global}--BorderRadius--lg);
60
- --#{$about-modal-box}__close--c-button--Width: calc(var(--#{$about-modal-box}__close--c-button--FontSize) * 2); // Height and width are 2x font-size
61
- --#{$about-modal-box}__close--c-button--Height: calc(var(--#{$about-modal-box}__close--c-button--FontSize) * 2);
62
- --#{$about-modal-box}__close--c-button--BackgroundColor: var(--#{$pf-global}--palette--black-1000); // Close button uses a non-standard background color
63
- --#{$about-modal-box}__close--c-button--hover--BackgroundColor: #{rgba($pf-v5-color-black-1000, .4)};
57
+ --#{$about-modal-box}__close--c-button--FontSize: var(--pf-t--global--icon--size--lg);
64
58
 
65
59
  // Brand img
66
60
  --#{$about-modal-box}__brand-image--Height: #{pf-size-prem(40px)};
67
61
 
68
62
  // Header
69
- --#{$about-modal-box}__header--PaddingRight: var(--#{$pf-global}--spacer--xl);
70
- --#{$about-modal-box}__header--PaddingBottom: var(--#{$pf-global}--spacer--sm);
71
- --#{$about-modal-box}__header--PaddingLeft: var(--#{$pf-global}--spacer--xl);
72
- --#{$about-modal-box}__header--sm--PaddingRight: var(--#{$pf-global}--spacer--3xl);
73
- --#{$about-modal-box}__header--sm--PaddingLeft: var(--#{$pf-global}--spacer--3xl);
63
+ --#{$about-modal-box}__header--PaddingRight: var(--pf-t--global--spacer--xl);
64
+ --#{$about-modal-box}__header--PaddingBottom: var(--pf-t--global--spacer--sm);
65
+ --#{$about-modal-box}__header--PaddingLeft: var(--pf-t--global--spacer--xl);
66
+ --#{$about-modal-box}__header--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
67
+ --#{$about-modal-box}__header--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
74
68
 
75
69
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
76
70
  --#{$about-modal-box}__header--PaddingRight: var(--#{$about-modal-box}__header--sm--PaddingRight);
@@ -78,23 +72,24 @@
78
72
  }
79
73
 
80
74
  // Strapline
81
- --#{$about-modal-box}__strapline--PaddingTop: var(--#{$pf-global}--spacer--xl);
82
- --#{$about-modal-box}__strapline--FontSize: var(--#{$pf-global}--FontSize--sm);
83
- --#{$about-modal-box}__strapline--sm--PaddingTop: var(--#{$pf-global}--spacer--2xl);
75
+ --#{$about-modal-box}__strapline--PaddingTop: var(--pf-t--global--spacer--xl);
76
+ --#{$about-modal-box}__strapline--FontSize: var(--pf-t--global--font--size--body--sm);
77
+ --#{$about-modal-box}__strapline--Color: var(--pf-t--global--text--color--subtle);
78
+ --#{$about-modal-box}__strapline--sm--PaddingTop: var(--pf-t--global--spacer--2xl);
84
79
 
85
80
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
86
81
  --#{$about-modal-box}__strapline--PaddingTop: var(--#{$about-modal-box}__strapline--sm--PaddingTop);
87
82
  }
88
83
 
89
84
  // Content
90
- --#{$about-modal-box}__content--MarginTop: var(--#{$pf-global}--spacer--xl);
91
- --#{$about-modal-box}__content--MarginRight: var(--#{$pf-global}--spacer--xl);
92
- --#{$about-modal-box}__content--MarginBottom: var(--#{$pf-global}--spacer--xl);
93
- --#{$about-modal-box}__content--MarginLeft: var(--#{$pf-global}--spacer--xl);
94
- --#{$about-modal-box}__content--sm--MarginTop: var(--#{$pf-global}--spacer--2xl);
95
- --#{$about-modal-box}__content--sm--MarginRight: var(--#{$pf-global}--spacer--3xl);
96
- --#{$about-modal-box}__content--sm--MarginBottom: var(--#{$pf-global}--spacer--2xl);
97
- --#{$about-modal-box}__content--sm--MarginLeft: var(--#{$pf-global}--spacer--3xl);
85
+ --#{$about-modal-box}__content--MarginTop: var(--pf-t--global--spacer--xl);
86
+ --#{$about-modal-box}__content--MarginRight: var(--pf-t--global--spacer--xl);
87
+ --#{$about-modal-box}__content--MarginBottom: var(--pf-t--global--spacer--xl);
88
+ --#{$about-modal-box}__content--MarginLeft: var(--pf-t--global--spacer--xl);
89
+ --#{$about-modal-box}__content--sm--MarginTop: var(--pf-t--global--spacer--2xl);
90
+ --#{$about-modal-box}__content--sm--MarginRight: var(--pf-t--global--spacer--3xl);
91
+ --#{$about-modal-box}__content--sm--MarginBottom: var(--pf-t--global--spacer--2xl);
92
+ --#{$about-modal-box}__content--sm--MarginLeft: var(--pf-t--global--spacer--3xl);
98
93
 
99
94
  @media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
100
95
  --#{$about-modal-box}__content--MarginTop: var(--#{$about-modal-box}__content--sm--MarginTop);
@@ -102,10 +97,9 @@
102
97
  --#{$about-modal-box}__content--MarginBottom: var(--#{$about-modal-box}__content--sm--MarginBottom);
103
98
  --#{$about-modal-box}__content--MarginLeft: var(--#{$about-modal-box}__content--sm--MarginLeft);
104
99
  }
100
+ }
105
101
 
106
- // This component always needs to be dark
107
- @include pf-v5-t-dark;
108
-
102
+ .#{$about-modal-box} {
109
103
  position: relative;
110
104
  display: grid;
111
105
  grid-template-areas:
@@ -117,7 +111,7 @@
117
111
  height: var(--#{$about-modal-box}--Height);
118
112
  overflow-x: hidden;
119
113
  overflow-y: auto;
120
- background-color: var(--#{$about-modal-box}--BackgroundColor); // Because this component is always dark, set the background color
114
+ background-color: var(--#{$about-modal-box}--BackgroundColor);
121
115
  background-image: var(--#{$about-modal-box}--BackgroundImage);
122
116
  background-repeat: no-repeat;
123
117
  background-position: var(--#{$about-modal-box}--BackgroundPosition);
@@ -169,6 +163,7 @@
169
163
  padding-block-start: var(--#{$about-modal-box}__strapline--PaddingTop);
170
164
  margin-block-start: auto;
171
165
  font-size: var(--#{$about-modal-box}__strapline--FontSize);
166
+ color: var(--#{$about-modal-box}__strapline--Color);
172
167
  }
173
168
 
174
169
  // Content
@@ -216,26 +211,6 @@
216
211
  // Close button
217
212
  // Since this btn is unique to the about modal, use contextual selectors in this specific instance
218
213
  .#{$button}.pf-m-plain {
219
- display: flex;
220
- align-items: center;
221
- justify-content: center;
222
- width: var(--#{$about-modal-box}__close--c-button--Width);
223
- height: var(--#{$about-modal-box}__close--c-button--Height);
224
- padding: 0;
225
214
  font-size: var(--#{$about-modal-box}__close--c-button--FontSize);
226
- color: var(--#{$about-modal-box}__close--c-button--Color);
227
- background-color: var(--#{$about-modal-box}__close--c-button--BackgroundColor);
228
- border-radius: var(--#{$about-modal-box}__close--c-button--BorderRadius);
229
-
230
- &:hover {
231
- --#{$about-modal-box}__close--c-button--BackgroundColor: var(--#{$about-modal-box}__close--c-button--hover--BackgroundColor);
232
- }
233
215
  }
234
216
  }
235
-
236
- // stylelint-disable no-invalid-position-at-import-rule
237
- @import "themes/dark/about-modal-box";
238
-
239
- @include pf-v5-theme-dark {
240
- @include pf-v5-theme-dark-about-modal-box;
241
- }