@red-hat-developer-hub/backstage-plugin-theme 1.4.0 → 1.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @red-hat-developer-hub/backstage-plugin-theme
2
2
 
3
+ ## 1.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c7605a3: Adopt Backstage yarn plugin for Backstage package version management
8
+ - f8d9ade: Offset the fixed sidebar root below a full-width global header (`height: 100vh − header`, drawer fills the root) and hide the sidebar company logo when the masthead is present (PatternFly header + nav).
9
+ - f8d9ade: Drop the page-inset top margin when a full-width global header sits above the content well, size the well to `100vh − header − bottom inset` so the bottom margin stays visible, and paint shell chrome with the RHDH page-inset background unless overridden in app branding theme config.
10
+ - f8d9ade: Sync BUI page-inset shell CSS variables from branding chrome tokens so customized dark themes keep the outer app background matched to the sidebar and global header.
11
+ - f8d9ade: Reserve a stable scrollbar gutter in the sidebar menu scroller so menu items do not shift horizontally when the scrollbar appears or disappears.
12
+ - f8d9ade: Keep SidebarPage border-box left corners square under the drawer spacer so the sidebar is not clipped, while sticky corner masks still round the main content well against the nav.
13
+
3
14
  ## 1.4.0
4
15
 
5
16
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  import styleInject from '../../node_modules_dist/style-inject/dist/style-inject.es.esm.js';
2
2
 
3
- var css_248z = "/*\n * Page-inset shell: never scroll the document on desktop. Wheel/trackpad\n * chaining from the main well must not move html/body/#root.\n */\n@media (min-width: 600px) {\n html:has(body[data-theme-name]),\n html:has(body[data-theme-name]) #root {\n height: 100%;\n overflow: hidden;\n overscroll-behavior: none;\n }\n}\n\nbody[data-theme-name='light'][data-theme-mode='light'],\nbody[data-theme-name='dark'][data-theme-mode='dark'],\nbody[data-theme-name='light-customized'][data-theme-mode='light'],\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n /*\n * Override some Backstage UI component styles to match the PatternFly design.\n */\n background-color: var(--bui-redhat-theme-page-inset-bg);\n\n /*\n * Keep scrolling inside the main well (pairs with html/#root rule above).\n */\n @media (min-width: 600px) {\n overflow: hidden;\n overscroll-behavior: none;\n height: 100%;\n }\n\n /*\n * Align Accordion to https://www.patternfly.org/components/accordion\n */\n .bui-AccordionGroup {\n gap: var(--bui-space-1);\n }\n .bui-Accordion {\n padding: 0;\n border-radius: var(--bui-radius-2);\n }\n .bui-AccordionTriggerButton {\n border-radius: var(--bui-radius-2);\n padding: var(--bui-space-2) var(--bui-space-4);\n transition: background-color 100ms ease;\n &:hover,\n &:focus {\n background-color: var(--bui-bg-neutral-2);\n }\n }\n .bui-AccordionTriggerTitle {\n font-size: var(--bui-font-size-3);\n font-weight: var(--bui-font-weight-regular);\n }\n .bui-Accordion[data-expanded='true'] .bui-AccordionTriggerTitle {\n font-weight: var(--bui-font-weight-bold);\n }\n .bui-Accordion[data-expanded='true'] > .bui-AccordionPanel {\n margin: 0 var(--bui-space-4) var(--bui-space-4);\n padding: var(--bui-space-2);\n border-radius: var(--bui-radius-2);\n background-color: var(--bui-redhat-theme-bg-primary);\n }\n\n /*\n * Align Alert to https://www.patternfly.org/components/alert\n */\n .bui-Alert {\n --alert-border-color: var(--bui-border-1);\n\n background-color: var(--bui-bg-neutral-1);\n color: var(--bui-fg-primary);\n border: 2px solid var(--alert-border-color);\n border-radius: var(--bui-radius-5);\n box-shadow: var(--bui-shadow);\n }\n\n .bui-Alert[data-status='info'] {\n --alert-border-color: var(--bui-border-info);\n }\n .bui-Alert[data-status='success'] {\n --alert-border-color: var(--bui-border-success);\n }\n .bui-Alert[data-status='warning'] {\n --alert-border-color: var(--bui-border-warning);\n }\n .bui-Alert[data-status='danger'] {\n --alert-border-color: var(--bui-border-danger);\n }\n .bui-AlertIcon {\n color: var(--alert-border-color);\n }\n\n /*\n * Align Button to https://www.patternfly.org/components/button/\n */\n .bui-Button {\n background: var(--bg)\n radial-gradient(\n circle,\n transparent 1%,\n color-mix(in srgb, currentcolor 15%, transparent) 2%\n )\n center/15000% 15000%;\n border-radius: var(--bui-radius-full);\n font-weight: var(--bui-font-weight-regular);\n padding: 8px 24px;\n transition-duration: var(\n --pf-t--global--motion--duration--fade--default,\n 200ms\n );\n transition-timing-function: var(\n --pf-t--global--motion--timing-function--accelerate,\n cubic-bezier(0.4, 0, 0.7, 0.2)\n );\n transition-property: color, background, border-color;\n }\n .bui-Button:active {\n background-size: 100% 100%;\n transition-duration: 0s;\n }\n\n .bui-Button[data-variant='primary'] {\n --bg: var(--bui-bg-solid);\n --bg-hover: var(--bui-bg-solid-hover);\n --bg-active: var(--bui-bg-solid-pressed);\n --fg: var(--bui-fg-solid);\n }\n /* Our unlayered `background` shorthand beats BUI's layered :hover\n * background-color, so flip the tokens on hover like ButtonLink does. */\n .bui-Button[data-variant='primary']:hover,\n .bui-Button[data-variant='primary'][data-hovered] {\n --bg: var(--bui-bg-solid-hover);\n }\n .bui-Button[data-variant='primary']:active,\n .bui-Button[data-variant='primary'][data-pressed] {\n --bg: var(--bui-bg-solid-pressed);\n }\n .bui-Button[data-variant='secondary'] {\n --bg: transparent;\n --bg-hover: transparent;\n --bg-active: transparent;\n --fg: var(--bui-bg-solid);\n border: 1px solid var(--bui-bg-solid);\n }\n .bui-Button[data-variant='secondary']:hover,\n .bui-Button[data-variant='secondary'][data-hovered] {\n --fg: var(--bui-bg-solid-hover);\n border-color: var(--bui-bg-solid-hover);\n outline: 1px solid var(--bui-bg-solid-hover);\n }\n .bui-Button[data-variant='tertiary'] {\n --bg: transparent;\n --bg-hover: transparent;\n --bg-active: transparent;\n --fg: var(--bui-bg-solid);\n border: 1px solid var(--pf-v6-c-button--m-tertiary--BorderColor, #c7c7c7);\n }\n .bui-Button[data-variant='tertiary']:hover,\n .bui-Button[data-variant='tertiary'][data-hovered] {\n --fg: var(--bui-bg-solid-hover);\n border-color: var(--pf-v6-c-button--hover--BorderColor, #c7c7c7);\n outline: 1px solid var(--bui-bg-solid-hover);\n }\n\n .bui-Button[data-variant='primary'][data-destructive='true'] {\n --bg: var(--pf-v6-c-button--m-danger--BackgroundColor, #f0561d);\n }\n .bui-Button[data-variant='primary'][data-destructive='true']:hover,\n .bui-Button[data-variant='primary'][data-destructive='true'][data-hovered] {\n --bg: var(--pf-v6-c-button--m-danger--hover--BackgroundColor, #c72300);\n }\n .bui-Button[data-variant='secondary'][data-destructive='true'] {\n --fg: var(--pf-v6-c-button--m-danger--Color, #f89b78);\n border: 1px solid\n var(--pf-v6-c-button--m-secondary--m-danger--BorderColor, #f0561d);\n }\n .bui-Button[data-variant='tertiary'][data-destructive='true'] {\n --fg: var(--pf-v6-c-button--m-danger--Color, #f89b78);\n }\n\n .bui-Button[data-variant='primary'][data-disabled='true'],\n .bui-Button[data-variant='secondary'][data-disabled='true'],\n .bui-Button[data-variant='tertiary'][data-disabled='true'] {\n --bg: var(--bui-bg-solid-disabled);\n --bg-hover: var(--bui-bg-solid-disabled);\n --bg-active: var(--bui-bg-solid-disabled);\n --fg: var(--bui-fg-solid-disabled);\n border: 1px solid var(--bg);\n &:hover {\n border-color: var(--bg);\n outline: none;\n }\n }\n\n /*\n * Align ButtonLink to https://www.patternfly.org/components/button/\n *\n * By default they look in Backstage UI more like buttons but in PatternFly they look more like links.\n */\n .bui-ButtonLink,\n .bui-ButtonLink[data-variant='primary'] {\n --bg: transparent;\n --bg-hover: transparent;\n --bg-active: transparent;\n --fg: var(--pf-t--global--link--color--default, #0066cc);\n\n font-weight: var(--bui-font-weight-regular);\n }\n .bui-ButtonLink[data-variant='primary'] {\n font-weight: var(--bui-font-weight-bold);\n }\n .bui-ButtonLink:hover,\n .bui-ButtonLink[data-hovered] {\n --fg: var(--pf-v6-c-button--hover--Color, #004d99);\n }\n .bui-ButtonLink[data-disabled='true'] {\n --bg: transparent;\n --bg-hover: transparent;\n --bg-active: transparent;\n --fg: var(--bui-fg-solid-disabled);\n }\n\n /*\n * Align Card to https://www.patternfly.org/components/card\n */\n .bui-Card {\n border: 1px solid var(--pf-t--global--border--color--default, #c7c7c7);\n border-radius: var(\n --bui-radius-5\n ); /* pf-t--global--border--radius--medium is use for moderately rounded corners, like cards. */\n padding: var(--bui-space-4);\n }\n /* TODO: improve scroll gradient in Card.module.css. For now, we have disabled that gradient shadow. */\n /* https://www.bram.us/2023/09/16/solved-by-css-scroll-driven-animations-detect-if-an-element-can-scroll-or-not/ */\n .bui-Card:has(.bui-CardHeader) .bui-CardBody {\n &::before {\n background: none;\n }\n }\n .bui-Card:has(.bui-CardFooter) .bui-CardBody {\n &::after {\n background: none;\n }\n }\n .bui-CardBody::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 7px;\n }\n .bui-CardBody::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(0, 0, 0, 0.5);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n\n /*\n * Disable max-width until common pages are aligned.\n * max-width might be a good idea but the catalog table and buttons should be still aligned.\n */\n .bui-Container {\n max-width: none;\n }\n\n /*\n * Align the Dialog with PatternFly Modal https://www.patternfly.org/components/modal\n */\n .bui-Dialog {\n --dialog-border-radius: var(--bui-radius-6);\n }\n .bui-DialogHeader {\n padding-inline-start: var(--bui-space-5);\n padding-block-start: var(--bui-space-4);\n border-bottom: none;\n }\n .bui-DialogHeader > .bui-Button[slot='close'] {\n border: none;\n border-radius: var(--bui-radius-3);\n color: var(--bui-black);\n background-color: transparent;\n padding: var(--bui-space-2);\n }\n .bui-DialogHeader > .bui-Button[slot='close']:hover {\n background-color: var(--bui-bg-neutral-1-hover);\n border: none;\n outline: none;\n }\n .bui-DialogHeader > .bui-Button[slot='close'] > span > svg {\n width: 1.25rem;\n height: 1.25rem;\n }\n .bui-DialogBody {\n padding: var(--bui-space-5);\n }\n .bui-DialogFooter {\n padding-inline-start: var(--bui-space-5);\n padding-block-end: var(--bui-space-5);\n border-top: none;\n /* This is probably a bit \"dangerous\" ... swap buttons to the left and also change their order. */\n justify-content: start;\n flex-direction: row-reverse;\n }\n\n /*\n * Align Header nav and Tabs to https://www.patternfly.org/components/tabs\n */\n .bui-HeaderNavList,\n .bui-TabList {\n border-bottom: 1px solid var(--bui-border-1);\n }\n .bui-HeaderNavItem,\n .bui-Tab {\n height: auto;\n margin: var(--bui-space-1);\n padding: var(--bui-space-3) var(--bui-space-2);\n }\n .bui-Tab[data-disabled] {\n color: var(--bui-fg-disabled);\n cursor: not-allowed;\n }\n .bui-HeaderNavActive,\n .bui-TabActive {\n bottom: 1px;\n height: 3px;\n box-shadow:\n -0.5em 0 0 0 var(--bui-redhat-theme-brand-accent),\n 0.5em 0 0 0 var(--bui-redhat-theme-brand-accent);\n --bui-fg-primary: var(--bui-redhat-theme-brand-accent);\n }\n\n /*\n * Aligned Tags to PatternFly Label https://www.patternfly.org/components/label\n */\n .bui-Tag {\n border-radius: var(--bui-radius-full);\n }\n\n /*\n * Aligned ToggleButton to PatternFly ToggleGroup https://www.patternfly.org/components/toggle-group\n */\n .bui-ToggleButton {\n border: 1px solid var(--bui-border-2);\n background-color: var(\n --pf-t--global--background--color--control--default,\n var(--bui-bg-neutral-1)\n );\n color: var(--bui-fg-primary);\n font-weight: var(--bui-font-weight-regular);\n height: auto;\n padding: var(--bui-space-2) var(--bui-space-4);\n }\n .bui-ToggleButton:not([data-selected])[data-hovered] {\n background-color: var(--bui-redhat-theme-brand-subtle);\n border-color: var(--bui-redhat-theme-brand-subtle-border);\n }\n .bui-ToggleButton[data-selected],\n .bui-ToggleButton[data-pressed] {\n background-color: var(--bui-redhat-theme-brand-subtle);\n color: var(--bui-fg-primary);\n border-color: var(--bui-redhat-theme-brand-subtle-border);\n box-shadow: inset 0 0 0 1px var(--bui-redhat-theme-brand-subtle-border);\n }\n .bui-ToggleButton[data-disabled] {\n background-color: var(--bui-bg-solid-disabled);\n color: var(--bui-fg-solid-disabled);\n border-color: var(--bui-border-2);\n box-shadow: none;\n }\n\n /*\n * Use heading font family, weight, and PF Content line-heights for title-level text\n * PatternFly uses \"Red Hat Display\" for headings and \"Red Hat Text\" for body.\n * Line heights: --pf-v6-c-content--h*--LineHeight 1.3; body/small 1.5.\n */\n .bui-Text[data-variant='title-large'],\n .bui-Text[data-variant='title-medium'],\n .bui-Text[data-variant='title-small'],\n .bui-Text[data-variant='title-x-small'] {\n font-family: var(--bui-redhat-theme-font-heading);\n line-height: var(--pf-v6-c-content--h1--LineHeight, 1.3);\n }\n .bui-Text[data-variant^='title'][data-weight='regular'] {\n font-weight: var(--bui-redhat-theme-font-weight-heading-regular);\n }\n .bui-Text[data-variant^='title'][data-weight='bold'] {\n font-weight: var(--bui-redhat-theme-font-weight-heading-bold);\n }\n .bui-Text[data-variant='body-large'],\n .bui-Text[data-variant='body-medium'],\n .bui-Text[data-variant='body-small'],\n .bui-Text[data-variant='body-x-small'] {\n line-height: var(--pf-v6-c-content--LineHeight, 1.5);\n }\n .bui-DialogHeaderTitle {\n font-family: var(--bui-redhat-theme-font-heading);\n font-size: var(--bui-font-size-5);\n }\n .bui-HeaderTitle {\n font-family: var(--bui-redhat-theme-font-heading);\n }\n /*\n * Align PluginHeader to PF component-groups PageHeader\n * https://www.patternfly.org/extensions/component-groups/page-header\n */\n .bui-PluginHeader {\n padding-block: var(--bui-space-4) 0;\n padding-inline: var(--bui-space-6);\n }\n .bui-PluginHeaderToolbar {\n border-bottom: none;\n padding-bottom: var(--bui-space-4);\n }\n .bui-PluginHeaderToolbarName {\n font-family: var(--bui-redhat-theme-font-heading);\n font-size: var(--bui-font-size-6);\n font-weight: var(--bui-font-weight-bold);\n line-height: 1.3;\n & .bui-Link,\n & .bui-Text {\n font-size: inherit;\n font-weight: inherit;\n font-family: inherit;\n }\n }\n\n /*\n * Align Avatar to https://www.patternfly.org/components/avatar\n */\n .bui-AvatarFallback {\n font-weight: var(--bui-font-weight-bold);\n }\n\n /*\n * Align Badge to https://www.patternfly.org/components/badge\n */\n .bui-Badge {\n border-radius: var(--bui-radius-full);\n font-weight: var(--bui-font-weight-bold);\n min-width: 2rem;\n background-color: var(--pf-v6-c-badge--m-read--BackgroundColor, #e0e0e0);\n }\n\n /*\n * Align form controls to https://www.patternfly.org/components/forms/form-control\n */\n .bui-FieldLabel {\n font-weight: var(--pf-v6-c-form__label-text--FontWeight, 600);\n }\n .bui-Input,\n .bui-PasswordFieldInputWrapper,\n .bui-SearchFieldInputWrapper,\n .bui-SearchAutocomplete,\n .bui-ComboboxInput,\n .bui-DatePickerGroup {\n border: 1px solid\n var(--pf-t--global--border--color--control--default, #8c8c8c);\n border-radius: var(--bui-radius-2);\n background-color: var(\n --pf-t--global--background--color--control--default,\n var(--bui-bg-neutral-1)\n );\n }\n .bui-Input::placeholder,\n .bui-PasswordFieldInput::placeholder,\n .bui-SearchFieldInputWrapper input::placeholder,\n .bui-ComboboxInput::placeholder {\n color: var(--pf-v6-c-form-control--m-placeholder--Color, #4d4d4d);\n }\n .bui-Input,\n .bui-PasswordFieldInput {\n padding-block: var(--bui-space-2);\n padding-inline-end: var(--bui-space-4);\n }\n .bui-Input:not([data-icon]),\n .bui-PasswordFieldInput:not([data-icon]) {\n padding-inline-start: var(--bui-space-4);\n }\n .bui-Input[data-focused],\n .bui-PasswordFieldInput[data-focused] {\n box-shadow: none;\n outline: 2px solid var(--bui-bg-solid);\n outline-offset: -6px;\n }\n .bui-PasswordFieldInputWrapper:has([data-focused]),\n .bui-SearchFieldInputWrapper:has([data-focused]),\n .bui-SearchAutocomplete:has([data-focused]),\n .bui-ComboboxInput[data-focused],\n .bui-DatePickerGroup[data-focused] {\n border-color: var(--bui-bg-solid);\n box-shadow: none;\n }\n .bui-SearchFieldInputWrapper:has([data-focused]),\n .bui-SearchAutocomplete:has([data-focused]),\n .bui-ComboboxInput[data-focused],\n .bui-DatePickerGroup[data-focused] {\n outline: 2px solid var(--bui-bg-solid);\n outline-offset: -6px;\n }\n .bui-Input[data-invalid],\n .bui-PasswordFieldInputWrapper:has([data-invalid]),\n .bui-SearchFieldInputWrapper:has([data-invalid]),\n .bui-SearchAutocomplete:has([data-invalid]),\n .bui-ComboboxInput[data-invalid] {\n border-color: var(--bui-border-danger);\n }\n .bui-Input[readonly],\n .bui-PasswordFieldInput[readonly] {\n background-color: var(--bui-redhat-theme-readonly-bg);\n border-color: var(--bui-redhat-theme-readonly-border);\n }\n .bui-Input[data-disabled],\n .bui-PasswordFieldInputWrapper:has([data-disabled]),\n .bui-SearchFieldInputWrapper:has([data-disabled]),\n .bui-SearchAutocomplete:has([data-disabled]),\n .bui-ComboboxInput[data-disabled],\n .bui-SelectTrigger[disabled] {\n background-color: var(--bui-bg-solid-disabled);\n color: var(--bui-fg-solid-disabled);\n & * {\n color: inherit;\n }\n }\n\n /*\n * Align Select and Combobox to PatternFly MenuToggle\n * https://www.patternfly.org/components/menus/menu-toggle\n */\n .bui-SelectTrigger,\n .bui-ComboboxInput {\n transition-property: color, background-color, border-width, border-color;\n transition-duration: 100ms;\n transition-timing-function: ease;\n }\n .bui-SelectTrigger {\n border: 1px solid var(--bui-border-2);\n border-radius: var(--bui-radius-2);\n background-color: var(--bui-redhat-theme-bg-floating);\n padding: var(--bui-space-2) var(--bui-space-4);\n }\n .bui-SelectPopover,\n .bui-ComboboxPopover {\n border-radius: var(--bui-radius-3);\n &,\n & .bui-Popover,\n & .bui-PopoverContent {\n background: var(\n --pf-v6-c-popover__content--BackgroundColor,\n var(--bui-redhat-theme-bg-floating)\n );\n }\n & .bui-Popover {\n --bui-bg-app: var(\n --pf-v6-c-popover__content--BackgroundColor,\n var(--bui-redhat-theme-bg-floating)\n );\n --bui-bg-neutral-1: var(\n --pf-v6-c-popover__content--BackgroundColor,\n var(--bui-redhat-theme-bg-floating)\n );\n --bui-border-1: var(\n --pf-v6-c-popover__content--BackgroundColor,\n var(--bui-redhat-theme-bg-floating)\n );\n margin: 0;\n border: none;\n box-shadow: var(\n --pf-t--global--box-shadow--md,\n 0px 4px 10px 0px rgba(41, 41, 41, 0.15)\n );\n }\n & .bui-PopoverContent {\n padding: var(--bui-space-1);\n }\n }\n .bui-SelectItem:has(> .bui-SelectItemIndicator),\n .bui-ComboboxItem:has(> .bui-ComboboxItemIndicator) {\n grid-template-areas: 'text icon';\n grid-template-columns: 1fr 1rem;\n }\n .bui-SelectItem {\n padding: var(--bui-space-2) var(--bui-space-4);\n border-radius: var(--bui-radius-2);\n }\n .bui-SelectItem[data-focused] {\n background-color: var(--bui-bg-neutral-2);\n }\n .bui-SelectTrigger:hover,\n .bui-ComboboxInput:hover {\n border-color: var(--bui-bg-solid);\n }\n .bui-Select[data-focused] .bui-SelectTrigger {\n border-color: var(--bui-bg-solid);\n border-width: 2px;\n padding: calc(var(--bui-space-2) - 1px) calc(var(--bui-space-4) - 1px);\n }\n .bui-ComboboxInput[data-focused] {\n border-width: 2px;\n }\n\n /*\n * Align Table to https://www.patternfly.org/components/table\n */\n .bui-TableHead {\n padding: var(--bui-space-4);\n font-size: var(--bui-font-size-2);\n font-weight: var(--bui-font-weight-bold);\n }\n .bui-TableCell {\n padding: var(--bui-space-4);\n }\n .bui-TableHeader {\n border-bottom: 1px solid var(--bui-border-1);\n }\n .bui-TableRow {\n border-bottom: 1px solid var(--bui-border-1);\n }\n .bui-TableRow:hover {\n background-color: var(\n --pf-v6-c-table__tr--m-clickable--BackgroundColor,\n #f2f2f2\n );\n }\n /*\n * Hover/focus parity: BUI only reveals the sort chevron on .bui-TableHead:hover\n * (or when already sorted). Show it on keyboard focus too so mouse and keyboard\n * users get the same sortable affordance.\n *\n * Keyboard note (React Aria / BUI table): Tab enters or leaves the table as a\n * single stop. To move between sortable headers while one is focused, use the\n * arrow keys — not Tab.\n */\n .bui-TableHead:focus-visible .bui-TableHeadSortButton,\n .bui-TableHead[data-focused] .bui-TableHeadSortButton,\n .bui-TableHead[data-focus-visible] .bui-TableHeadSortButton {\n opacity: 1;\n }\n .bui-TableHead:focus-visible,\n .bui-TableHead[data-focused],\n .bui-TableHead[data-focus-visible] {\n outline: 2px solid var(--bui-ring, var(--bui-bg-solid));\n outline-offset: -2px;\n }\n .bui-TableHead[data-sort-direction='ascending'] .bui-TableHeadSortButton,\n .bui-TableHead[data-sort-direction='descending'] .bui-TableHeadSortButton {\n color: var(--pf-t--global--color--brand--clicked, #004d99);\n }\n\n /*\n * Align Link to https://www.patternfly.org/components/content (links)\n */\n .bui-Link {\n text-decoration-style: dashed;\n }\n\n /*\n * Align Menu to https://www.patternfly.org/components/menu\n */\n .bui-MenuPopover {\n border: none;\n border-radius: var(--bui-radius-3);\n padding: var(--bui-space-1);\n background-color: var(--bui-redhat-theme-bg-floating);\n box-shadow: var(\n --pf-v6-c-menu--BoxShadow,\n 0px 4px 10px 0px rgba(41, 41, 41, 0.15)\n );\n }\n\n .bui-MenuInner {\n background-color: var(--bui-redhat-theme-bg-floating);\n & .bui-MenuContent {\n padding-block: 0;\n background-color: var(--bui-redhat-theme-bg-floating);\n }\n }\n\n .bui-MenuItem {\n border-radius: var(--bui-radius-2);\n margin-inline: 0;\n }\n\n .bui-MenuSection {\n padding-inline: 0;\n }\n\n .bui-MenuSectionHeader {\n font-size: var(--bui-font-size-2);\n padding-inline-start: var(--bui-space-2);\n padding-inline-end: var(--bui-space-2);\n padding-top: var(--bui-space-2);\n padding-bottom: var(--bui-space-2);\n text-transform: none;\n letter-spacing: normal;\n font-weight: var(--bui-font-weight-bold);\n }\n .bui-MenuSeparator {\n background: var(--pf-t--global--border--color--default, #e0e0e0);\n margin-inline: 0;\n }\n\n /*\n * Align Popover to https://www.patternfly.org/components/popover\n * PF uses shadow without border; content surface is white / gray-70 dark.\n *\n * Arrow SVG fills come from --bui-bg-app / --bui-bg-neutral-1 / --bui-border-1\n * (same as Tooltip). Override those on the root so the arrow matches the shell —\n * property-level `background` alone leaves the arrow on page --bui-bg-app and it\n * disappears into the inset gray. With border removed, pull the arrow in further\n * so it does not leave a hairline gap at the join.\n */\n .bui-Popover {\n --popover-border-radius: var(--bui-radius-5);\n --bui-bg-app: var(--pf-v6-c-popover__content--BackgroundColor, #ffffff);\n --bui-bg-neutral-1: var(\n --pf-v6-c-popover__content--BackgroundColor,\n #ffffff\n );\n --bui-border-1: var(--pf-v6-c-popover__content--BackgroundColor, #ffffff);\n border: none;\n box-shadow: var(\n --pf-t--global--box-shadow--md,\n 0px 4px 10px 0px rgba(41, 41, 41, 0.15)\n );\n background: var(--bui-bg-app);\n }\n .bui-PopoverContent {\n background: var(--bui-bg-neutral-1);\n }\n .bui-PopoverArrow svg {\n /* BUI default -2px assumes a 1px border; border:none needs a deeper overlap. */\n --popover-arrow-overlap: -4px;\n }\n\n /*\n * Align Radio to https://www.patternfly.org/components/radio\n */\n .bui-Radio {\n font-size: var(--bui-font-size-3);\n }\n\n /*\n * Align Checkbox disabled state to PatternFly\n */\n .bui-Checkbox[data-disabled] .bui-CheckboxIndicator {\n background-color: light-dark(\n rgba(239, 239, 239, 0.3),\n rgba(59, 59, 59, 0.3)\n );\n }\n\n /*\n * Align Skeleton to https://www.patternfly.org/components/skeleton\n * PatternFly uses a shimmer gradient animation instead of opacity pulse.\n */\n @keyframes bui-shimmer {\n 0% {\n background-position: 200% 0;\n }\n 100% {\n background-position: -200% 0;\n }\n }\n .bui-Skeleton {\n animation: bui-shimmer 3s linear infinite 0.5s;\n background-image: linear-gradient(\n 90deg,\n var(--bui-bg-neutral-2) 0%,\n var(--bui-bg-neutral-3) 50%,\n var(--bui-bg-neutral-2) 100%\n );\n background-size: 200% 100%;\n }\n @media (prefers-reduced-motion: reduce) {\n .bui-Skeleton {\n animation: none;\n }\n }\n\n /*\n * Align Slider to https://www.patternfly.org/components/slider\n */\n .bui-SliderThumb {\n width: 16px;\n height: 16px;\n }\n .bui-SliderTrack {\n border-radius: var(--bui-radius-1);\n }\n\n /*\n * Align Tooltip to https://www.patternfly.org/components/tooltip\n * PatternFly tooltips use inverse background with contrasting text.\n *\n * BUI paints the shell/arrow from --bui-bg-app / --bui-bg-neutral-1 / --bui-border-1\n * and text from --bui-fg-primary. Override those tokens on the tooltip root so\n * background, text, and arrow stay in sync (property-level background overrides\n * lose to BUI module CSS). With border removed, deepen arrow overlap to close\n * the hairline gap at the arrow join.\n */\n .bui-Tooltip {\n --tooltip-border-radius: var(--bui-radius-2);\n --bui-bg-app: var(--pf-v6-c-tooltip__content--BackgroundColor, #292929);\n --bui-bg-neutral-1: var(\n --pf-v6-c-tooltip__content--BackgroundColor,\n #292929\n );\n --bui-border-1: var(--pf-v6-c-tooltip__arrow--BackgroundColor, #292929);\n --bui-fg-primary: var(--pf-v6-c-tooltip__content--Color, #ffffff);\n border: none;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);\n max-width: 300px;\n font-size: var(--bui-font-size-2);\n text-align: center;\n }\n .bui-TooltipArrow svg {\n /* BUI default -2px assumes a 1px border; border:none needs a deeper overlap. */\n --tooltip-arrow-overlap: -4px;\n }\n\n /*\n * Align Switch to https://www.patternfly.org/components/switch\n */\n .bui-SwitchIndicator {\n --switch-indicator-bg: var(\n --pf-t--global--background--color--control--default,\n var(--bui-bg-neutral-1)\n );\n width: calc(var(--bui-font-size-2) * 2.5);\n height: calc(var(--bui-font-size-2) * 1.5);\n border: 1px solid var(--bui-border-2);\n border-radius: calc(var(--bui-font-size-2) * 1.5);\n &:before {\n width: calc(var(--bui-font-size-2) - 2px);\n height: calc(var(--bui-font-size-2) - 2px);\n margin: calc(var(--bui-font-size-2) * 0.2 + 1px);\n background: var(--bui-fg-secondary);\n }\n }\n .bui-Switch[data-selected] .bui-SwitchIndicator {\n border-color: transparent;\n &:before {\n background: var(--bui-accent-fg);\n transform: translateX(calc(100% + 2px));\n }\n }\n .bui-Switch[data-disabled] .bui-SwitchIndicator {\n border-color: transparent;\n background: var(--bui-bg-solid-disabled);\n &:before {\n background: var(--bui-fg-solid-disabled);\n }\n }\n\n /*\n * Page inset / rounded content well:\n * BackstageSidebarPage is the sole scrollport. createComponents.ts applies\n * margin inset + clip-path, sticky left-edge corner masks, and\n * overscroll-behavior: none — for both classic <main> and fragmented BUI\n * Header + Container siblings; no extra DOM wrapper.\n */\n}\n\nbody[data-theme-name='light'][data-theme-mode='light'],\nbody[data-theme-name='light-customized'][data-theme-mode='light'] {\n .bui-DialogContent {\n background-color: var(--pf-v6-c-modal-box--BackgroundColor, #ffffff);\n }\n .bui-DialogHeader > .bui-Button[slot='close'] {\n color: var(--bui-black);\n }\n}\n\nbody[data-theme-name='dark'][data-theme-mode='dark'],\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n .bui-DialogContent {\n background-color: var(--pf-v6-c-modal-box--BackgroundColor, #383838);\n }\n .bui-DialogHeader > .bui-Button[slot='close'] {\n color: var(--bui-white);\n }\n\n .bui-ButtonLink,\n .bui-ButtonLink[data-variant='primary'] {\n --fg: var(--pf-v6-c-button--m-primary--BackgroundColor, #92c5f9);\n }\n .bui-ButtonLink:hover,\n .bui-ButtonLink[data-hovered] {\n --fg: var(--pf-v6-c-button--hover--Color, #e0f0ff);\n }\n\n .bui-TableRow:hover {\n background-color: var(\n --pf-v6-c-table__tr--m-clickable--BackgroundColor,\n #383838\n );\n }\n .bui-TableHead[data-sort-direction='ascending'] .bui-TableHeadSortButton,\n .bui-TableHead[data-sort-direction='descending'] .bui-TableHeadSortButton {\n color: var(--pf-t--global--color--brand--clicked, #b9dafc);\n }\n\n .bui-MenuSeparator {\n background: var(--pf-t--global--border--color--default, #4d4d4d);\n }\n .bui-MenuItem[data-color='danger'] {\n color: var(--pf-v6-c-menu__item--Color, #f89b78);\n }\n\n .bui-Input,\n .bui-PasswordFieldInputWrapper,\n .bui-SearchFieldInputWrapper,\n .bui-SearchAutocomplete,\n .bui-ComboboxInput,\n .bui-DatePickerGroup {\n border-color: var(--pf-t--global--border--color--control--default, #a3a3a3);\n }\n .bui-Input::placeholder,\n .bui-PasswordFieldInput::placeholder,\n .bui-SearchFieldInputWrapper input::placeholder,\n .bui-ComboboxInput::placeholder {\n color: var(--pf-v6-c-form-control--m-placeholder--Color, #c7c7c7);\n }\n\n .bui-SelectPopover .bui-Popover,\n .bui-ComboboxPopover .bui-Popover,\n .bui-Popover {\n --bui-bg-app: var(--pf-v6-c-popover__content--BackgroundColor, #383838);\n --bui-bg-neutral-1: var(\n --pf-v6-c-popover__content--BackgroundColor,\n #383838\n );\n --bui-border-1: var(--pf-v6-c-popover__content--BackgroundColor, #383838);\n box-shadow: var(\n --pf-t--global--box-shadow--md,\n 0px 4px 10px 0px rgba(0, 0, 0, 0.5)\n );\n background: var(--bui-bg-app);\n }\n .bui-SelectPopover .bui-PopoverContent,\n .bui-ComboboxPopover .bui-PopoverContent,\n .bui-PopoverContent {\n background: var(--bui-bg-neutral-1);\n }\n\n .bui-Tooltip {\n --bui-bg-app: var(--pf-v6-c-tooltip__content--BackgroundColor, #ffffff);\n --bui-bg-neutral-1: var(\n --pf-v6-c-tooltip__content--BackgroundColor,\n #ffffff\n );\n --bui-border-1: var(--pf-v6-c-tooltip__arrow--BackgroundColor, #ffffff);\n --bui-fg-primary: var(--pf-v6-c-tooltip__content--Color, #292929);\n }\n\n .bui-Badge {\n background-color: var(--pf-v6-c-badge--m-read--BackgroundColor, #4d4d4d);\n }\n}\n";
3
+ var css_248z = "/*\n * Page-inset shell: never scroll the document on desktop. Wheel/trackpad\n * chaining from the main well must not move html/body/#root.\n */\n@media (min-width: 600px) {\n html:has(body[data-theme-name]),\n html:has(body[data-theme-name]) #root {\n height: 100%;\n overflow: hidden;\n overscroll-behavior: none;\n }\n}\n\nbody[data-theme-name='light'][data-theme-mode='light'],\nbody[data-theme-name='dark'][data-theme-mode='dark'],\nbody[data-theme-name='light-customized'][data-theme-mode='light'],\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n /*\n * Override some Backstage UI component styles to match the PatternFly design.\n */\n background-color: var(--bui-redhat-theme-page-inset-bg);\n\n /*\n * Keep scrolling inside the main well (pairs with html/#root rule above).\n */\n @media (min-width: 600px) {\n overflow: hidden;\n overscroll-behavior: none;\n height: 100%;\n }\n\n /*\n * Align Accordion to https://www.patternfly.org/components/accordion\n */\n .bui-AccordionGroup {\n gap: var(--bui-space-1);\n }\n .bui-Accordion {\n padding: 0;\n border-radius: var(--bui-radius-2);\n }\n .bui-AccordionTriggerButton {\n border-radius: var(--bui-radius-2);\n padding: var(--bui-space-2) var(--bui-space-4);\n transition: background-color 100ms ease;\n &:hover,\n &:focus {\n background-color: var(--bui-bg-neutral-2);\n }\n }\n .bui-AccordionTriggerTitle {\n font-size: var(--bui-font-size-3);\n font-weight: var(--bui-font-weight-regular);\n }\n .bui-Accordion[data-expanded='true'] .bui-AccordionTriggerTitle {\n font-weight: var(--bui-font-weight-bold);\n }\n .bui-Accordion[data-expanded='true'] > .bui-AccordionPanel {\n margin: 0 var(--bui-space-4) var(--bui-space-4);\n padding: var(--bui-space-2);\n border-radius: var(--bui-radius-2);\n background-color: var(--bui-redhat-theme-bg-primary);\n }\n\n /*\n * Align Alert to https://www.patternfly.org/components/alert\n */\n .bui-Alert {\n --alert-border-color: var(--bui-border-1);\n\n background-color: var(--bui-bg-neutral-1);\n color: var(--bui-fg-primary);\n border: 2px solid var(--alert-border-color);\n border-radius: var(--bui-radius-5);\n box-shadow: var(--bui-shadow);\n }\n\n .bui-Alert[data-status='info'] {\n --alert-border-color: var(--bui-border-info);\n }\n .bui-Alert[data-status='success'] {\n --alert-border-color: var(--bui-border-success);\n }\n .bui-Alert[data-status='warning'] {\n --alert-border-color: var(--bui-border-warning);\n }\n .bui-Alert[data-status='danger'] {\n --alert-border-color: var(--bui-border-danger);\n }\n .bui-AlertIcon {\n color: var(--alert-border-color);\n }\n\n /*\n * Align Button to https://www.patternfly.org/components/button/\n */\n .bui-Button {\n background: var(--bg)\n radial-gradient(\n circle,\n transparent 1%,\n color-mix(in srgb, currentcolor 15%, transparent) 2%\n )\n center/15000% 15000%;\n border-radius: var(--bui-radius-full);\n font-weight: var(--bui-font-weight-regular);\n padding: 8px 24px;\n transition-duration: var(\n --pf-t--global--motion--duration--fade--default,\n 200ms\n );\n transition-timing-function: var(\n --pf-t--global--motion--timing-function--accelerate,\n cubic-bezier(0.4, 0, 0.7, 0.2)\n );\n transition-property: color, background, border-color;\n }\n .bui-Button:active {\n background-size: 100% 100%;\n transition-duration: 0s;\n }\n\n .bui-Button[data-variant='primary'] {\n --bg: var(--bui-bg-solid);\n --bg-hover: var(--bui-bg-solid-hover);\n --bg-active: var(--bui-bg-solid-pressed);\n --fg: var(--bui-fg-solid);\n }\n /* Our unlayered `background` shorthand beats BUI's layered :hover\n * background-color, so flip the tokens on hover like ButtonLink does. */\n .bui-Button[data-variant='primary']:hover,\n .bui-Button[data-variant='primary'][data-hovered] {\n --bg: var(--bui-bg-solid-hover);\n }\n .bui-Button[data-variant='primary']:active,\n .bui-Button[data-variant='primary'][data-pressed] {\n --bg: var(--bui-bg-solid-pressed);\n }\n .bui-Button[data-variant='secondary'] {\n --bg: transparent;\n --bg-hover: transparent;\n --bg-active: transparent;\n --fg: var(--bui-bg-solid);\n border: 1px solid var(--bui-bg-solid);\n }\n .bui-Button[data-variant='secondary']:hover,\n .bui-Button[data-variant='secondary'][data-hovered] {\n --fg: var(--bui-bg-solid-hover);\n border-color: var(--bui-bg-solid-hover);\n outline: 1px solid var(--bui-bg-solid-hover);\n }\n .bui-Button[data-variant='tertiary'] {\n --bg: transparent;\n --bg-hover: transparent;\n --bg-active: transparent;\n --fg: var(--bui-bg-solid);\n border: 1px solid var(--pf-v6-c-button--m-tertiary--BorderColor, #c7c7c7);\n }\n .bui-Button[data-variant='tertiary']:hover,\n .bui-Button[data-variant='tertiary'][data-hovered] {\n --fg: var(--bui-bg-solid-hover);\n border-color: var(--pf-v6-c-button--hover--BorderColor, #c7c7c7);\n outline: 1px solid var(--bui-bg-solid-hover);\n }\n\n .bui-Button[data-variant='primary'][data-destructive='true'] {\n --bg: var(--pf-v6-c-button--m-danger--BackgroundColor, #f0561d);\n }\n .bui-Button[data-variant='primary'][data-destructive='true']:hover,\n .bui-Button[data-variant='primary'][data-destructive='true'][data-hovered] {\n --bg: var(--pf-v6-c-button--m-danger--hover--BackgroundColor, #c72300);\n }\n .bui-Button[data-variant='secondary'][data-destructive='true'] {\n --fg: var(--pf-v6-c-button--m-danger--Color, #f89b78);\n border: 1px solid\n var(--pf-v6-c-button--m-secondary--m-danger--BorderColor, #f0561d);\n }\n .bui-Button[data-variant='tertiary'][data-destructive='true'] {\n --fg: var(--pf-v6-c-button--m-danger--Color, #f89b78);\n }\n\n .bui-Button[data-variant='primary'][data-disabled='true'],\n .bui-Button[data-variant='secondary'][data-disabled='true'],\n .bui-Button[data-variant='tertiary'][data-disabled='true'] {\n --bg: var(--bui-bg-solid-disabled);\n --bg-hover: var(--bui-bg-solid-disabled);\n --bg-active: var(--bui-bg-solid-disabled);\n --fg: var(--bui-fg-solid-disabled);\n border: 1px solid var(--bg);\n &:hover {\n border-color: var(--bg);\n outline: none;\n }\n }\n\n /*\n * Align ButtonLink to https://www.patternfly.org/components/button/\n *\n * By default they look in Backstage UI more like buttons but in PatternFly they look more like links.\n */\n .bui-ButtonLink,\n .bui-ButtonLink[data-variant='primary'] {\n --bg: transparent;\n --bg-hover: transparent;\n --bg-active: transparent;\n --fg: var(--pf-t--global--link--color--default, #0066cc);\n\n font-weight: var(--bui-font-weight-regular);\n }\n .bui-ButtonLink[data-variant='primary'] {\n font-weight: var(--bui-font-weight-bold);\n }\n .bui-ButtonLink:hover,\n .bui-ButtonLink[data-hovered] {\n --fg: var(--pf-v6-c-button--hover--Color, #004d99);\n }\n .bui-ButtonLink[data-disabled='true'] {\n --bg: transparent;\n --bg-hover: transparent;\n --bg-active: transparent;\n --fg: var(--bui-fg-solid-disabled);\n }\n\n /*\n * Align Card to https://www.patternfly.org/components/card\n */\n .bui-Card {\n border: 1px solid var(--pf-t--global--border--color--default, #c7c7c7);\n border-radius: var(\n --bui-radius-5\n ); /* pf-t--global--border--radius--medium is use for moderately rounded corners, like cards. */\n padding: var(--bui-space-4);\n }\n /* TODO: improve scroll gradient in Card.module.css. For now, we have disabled that gradient shadow. */\n /* https://www.bram.us/2023/09/16/solved-by-css-scroll-driven-animations-detect-if-an-element-can-scroll-or-not/ */\n .bui-Card:has(.bui-CardHeader) .bui-CardBody {\n &::before {\n background: none;\n }\n }\n .bui-Card:has(.bui-CardFooter) .bui-CardBody {\n &::after {\n background: none;\n }\n }\n .bui-CardBody::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 7px;\n }\n .bui-CardBody::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(0, 0, 0, 0.5);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n\n /*\n * Disable max-width until common pages are aligned.\n * max-width might be a good idea but the catalog table and buttons should be still aligned.\n */\n .bui-Container {\n max-width: none;\n }\n\n /*\n * Align the Dialog with PatternFly Modal https://www.patternfly.org/components/modal\n */\n .bui-Dialog {\n --dialog-border-radius: var(--bui-radius-6);\n }\n .bui-DialogHeader {\n padding-inline-start: var(--bui-space-5);\n padding-block-start: var(--bui-space-4);\n border-bottom: none;\n }\n .bui-DialogHeader > .bui-Button[slot='close'] {\n border: none;\n border-radius: var(--bui-radius-3);\n color: var(--bui-black);\n background-color: transparent;\n padding: var(--bui-space-2);\n }\n .bui-DialogHeader > .bui-Button[slot='close']:hover {\n background-color: var(--bui-bg-neutral-1-hover);\n border: none;\n outline: none;\n }\n .bui-DialogHeader > .bui-Button[slot='close'] > span > svg {\n width: 1.25rem;\n height: 1.25rem;\n }\n .bui-DialogBody {\n padding: var(--bui-space-5);\n }\n .bui-DialogFooter {\n padding-inline-start: var(--bui-space-5);\n padding-block-end: var(--bui-space-5);\n border-top: none;\n /* This is probably a bit \"dangerous\" ... swap buttons to the left and also change their order. */\n justify-content: start;\n flex-direction: row-reverse;\n }\n\n /*\n * Align Header nav and Tabs to https://www.patternfly.org/components/tabs\n */\n .bui-HeaderNavList,\n .bui-TabList {\n border-bottom: 1px solid var(--bui-border-1);\n }\n .bui-HeaderNavItem,\n .bui-Tab {\n height: auto;\n margin: var(--bui-space-1);\n padding: var(--bui-space-3) var(--bui-space-2);\n }\n .bui-Tab[data-disabled] {\n color: var(--bui-fg-disabled);\n cursor: not-allowed;\n }\n .bui-HeaderNavActive,\n .bui-TabActive {\n bottom: 1px;\n height: 3px;\n box-shadow:\n -0.5em 0 0 0 var(--bui-redhat-theme-brand-accent),\n 0.5em 0 0 0 var(--bui-redhat-theme-brand-accent);\n --bui-fg-primary: var(--bui-redhat-theme-brand-accent);\n }\n\n /*\n * Aligned Tags to PatternFly Label https://www.patternfly.org/components/label\n */\n .bui-Tag {\n border-radius: var(--bui-radius-full);\n }\n\n /*\n * Aligned ToggleButton to PatternFly ToggleGroup https://www.patternfly.org/components/toggle-group\n */\n .bui-ToggleButton {\n border: 1px solid var(--bui-border-2);\n background-color: var(\n --pf-t--global--background--color--control--default,\n var(--bui-bg-neutral-1)\n );\n color: var(--bui-fg-primary);\n font-weight: var(--bui-font-weight-regular);\n height: auto;\n padding: var(--bui-space-2) var(--bui-space-4);\n }\n .bui-ToggleButton:not([data-selected])[data-hovered] {\n background-color: var(--bui-redhat-theme-brand-subtle);\n border-color: var(--bui-redhat-theme-brand-subtle-border);\n }\n .bui-ToggleButton[data-selected],\n .bui-ToggleButton[data-pressed] {\n background-color: var(--bui-redhat-theme-brand-subtle);\n color: var(--bui-fg-primary);\n border-color: var(--bui-redhat-theme-brand-subtle-border);\n box-shadow: inset 0 0 0 1px var(--bui-redhat-theme-brand-subtle-border);\n }\n .bui-ToggleButton[data-disabled] {\n background-color: var(--bui-bg-solid-disabled);\n color: var(--bui-fg-solid-disabled);\n border-color: var(--bui-border-2);\n box-shadow: none;\n }\n\n /*\n * Use heading font family, weight, and PF Content line-heights for title-level text\n * PatternFly uses \"Red Hat Display\" for headings and \"Red Hat Text\" for body.\n * Line heights: --pf-v6-c-content--h*--LineHeight 1.3; body/small 1.5.\n */\n .bui-Text[data-variant='title-large'],\n .bui-Text[data-variant='title-medium'],\n .bui-Text[data-variant='title-small'],\n .bui-Text[data-variant='title-x-small'] {\n font-family: var(--bui-redhat-theme-font-heading);\n line-height: var(--pf-v6-c-content--h1--LineHeight, 1.3);\n }\n .bui-Text[data-variant^='title'][data-weight='regular'] {\n font-weight: var(--bui-redhat-theme-font-weight-heading-regular);\n }\n .bui-Text[data-variant^='title'][data-weight='bold'] {\n font-weight: var(--bui-redhat-theme-font-weight-heading-bold);\n }\n .bui-Text[data-variant='body-large'],\n .bui-Text[data-variant='body-medium'],\n .bui-Text[data-variant='body-small'],\n .bui-Text[data-variant='body-x-small'] {\n line-height: var(--pf-v6-c-content--LineHeight, 1.5);\n }\n .bui-DialogHeaderTitle {\n font-family: var(--bui-redhat-theme-font-heading);\n font-size: var(--bui-font-size-5);\n }\n .bui-HeaderTitle {\n font-family: var(--bui-redhat-theme-font-heading);\n }\n /*\n * Align PluginHeader to PF component-groups PageHeader\n * https://www.patternfly.org/extensions/component-groups/page-header\n */\n .bui-PluginHeader {\n padding-block: var(--bui-space-4) 0;\n padding-inline: var(--bui-space-6);\n }\n .bui-PluginHeaderToolbar {\n border-bottom: none;\n padding-bottom: var(--bui-space-4);\n }\n .bui-PluginHeaderToolbarName {\n font-family: var(--bui-redhat-theme-font-heading);\n font-size: var(--bui-font-size-6);\n font-weight: var(--bui-font-weight-bold);\n line-height: 1.3;\n & .bui-Link,\n & .bui-Text {\n font-size: inherit;\n font-weight: inherit;\n font-family: inherit;\n }\n }\n\n /*\n * Align Avatar to https://www.patternfly.org/components/avatar\n */\n .bui-AvatarFallback {\n font-weight: var(--bui-font-weight-bold);\n }\n\n /*\n * Align Badge to https://www.patternfly.org/components/badge\n */\n .bui-Badge {\n border-radius: var(--bui-radius-full);\n font-weight: var(--bui-font-weight-bold);\n min-width: 2rem;\n background-color: var(--pf-v6-c-badge--m-read--BackgroundColor, #e0e0e0);\n }\n\n /*\n * Align form controls to https://www.patternfly.org/components/forms/form-control\n */\n .bui-FieldLabel {\n font-weight: var(--pf-v6-c-form__label-text--FontWeight, 600);\n }\n .bui-Input,\n .bui-PasswordFieldInputWrapper,\n .bui-SearchFieldInputWrapper,\n .bui-SearchAutocomplete,\n .bui-ComboboxInput,\n .bui-DatePickerGroup {\n border: 1px solid\n var(--pf-t--global--border--color--control--default, #8c8c8c);\n border-radius: var(--bui-radius-2);\n background-color: var(\n --pf-t--global--background--color--control--default,\n var(--bui-bg-neutral-1)\n );\n }\n .bui-Input::placeholder,\n .bui-PasswordFieldInput::placeholder,\n .bui-SearchFieldInputWrapper input::placeholder,\n .bui-ComboboxInput::placeholder {\n color: var(--pf-v6-c-form-control--m-placeholder--Color, #4d4d4d);\n }\n .bui-Input,\n .bui-PasswordFieldInput {\n padding-block: var(--bui-space-2);\n padding-inline-end: var(--bui-space-4);\n }\n .bui-Input:not([data-icon]),\n .bui-PasswordFieldInput:not([data-icon]) {\n padding-inline-start: var(--bui-space-4);\n }\n .bui-Input[data-focused],\n .bui-PasswordFieldInput[data-focused] {\n box-shadow: none;\n outline: 2px solid var(--bui-bg-solid);\n outline-offset: -6px;\n }\n .bui-PasswordFieldInputWrapper:has([data-focused]),\n .bui-SearchFieldInputWrapper:has([data-focused]),\n .bui-SearchAutocomplete:has([data-focused]),\n .bui-ComboboxInput[data-focused],\n .bui-DatePickerGroup[data-focused] {\n border-color: var(--bui-bg-solid);\n box-shadow: none;\n }\n .bui-SearchFieldInputWrapper:has([data-focused]),\n .bui-SearchAutocomplete:has([data-focused]),\n .bui-ComboboxInput[data-focused],\n .bui-DatePickerGroup[data-focused] {\n outline: 2px solid var(--bui-bg-solid);\n outline-offset: -6px;\n }\n .bui-Input[data-invalid],\n .bui-PasswordFieldInputWrapper:has([data-invalid]),\n .bui-SearchFieldInputWrapper:has([data-invalid]),\n .bui-SearchAutocomplete:has([data-invalid]),\n .bui-ComboboxInput[data-invalid] {\n border-color: var(--bui-border-danger);\n }\n .bui-Input[readonly],\n .bui-PasswordFieldInput[readonly] {\n background-color: var(--bui-redhat-theme-readonly-bg);\n border-color: var(--bui-redhat-theme-readonly-border);\n }\n .bui-Input[data-disabled],\n .bui-PasswordFieldInputWrapper:has([data-disabled]),\n .bui-SearchFieldInputWrapper:has([data-disabled]),\n .bui-SearchAutocomplete:has([data-disabled]),\n .bui-ComboboxInput[data-disabled],\n .bui-SelectTrigger[disabled] {\n background-color: var(--bui-bg-solid-disabled);\n color: var(--bui-fg-solid-disabled);\n & * {\n color: inherit;\n }\n }\n\n /*\n * Align Select and Combobox to PatternFly MenuToggle\n * https://www.patternfly.org/components/menus/menu-toggle\n */\n .bui-SelectTrigger,\n .bui-ComboboxInput {\n transition-property: color, background-color, border-width, border-color;\n transition-duration: 100ms;\n transition-timing-function: ease;\n }\n .bui-SelectTrigger {\n border: 1px solid var(--bui-border-2);\n border-radius: var(--bui-radius-2);\n background-color: var(--bui-redhat-theme-bg-floating);\n padding: var(--bui-space-2) var(--bui-space-4);\n }\n .bui-SelectPopover,\n .bui-ComboboxPopover {\n border-radius: var(--bui-radius-3);\n &,\n & .bui-Popover,\n & .bui-PopoverContent {\n background: var(\n --pf-v6-c-popover__content--BackgroundColor,\n var(--bui-redhat-theme-bg-floating)\n );\n }\n & .bui-Popover {\n --bui-bg-app: var(\n --pf-v6-c-popover__content--BackgroundColor,\n var(--bui-redhat-theme-bg-floating)\n );\n --bui-bg-neutral-1: var(\n --pf-v6-c-popover__content--BackgroundColor,\n var(--bui-redhat-theme-bg-floating)\n );\n --bui-border-1: var(\n --pf-v6-c-popover__content--BackgroundColor,\n var(--bui-redhat-theme-bg-floating)\n );\n margin: 0;\n border: none;\n box-shadow: var(\n --pf-t--global--box-shadow--md,\n 0px 4px 10px 0px rgba(41, 41, 41, 0.15)\n );\n }\n & .bui-PopoverContent {\n padding: var(--bui-space-1);\n }\n }\n .bui-SelectItem:has(> .bui-SelectItemIndicator),\n .bui-ComboboxItem:has(> .bui-ComboboxItemIndicator) {\n grid-template-areas: 'text icon';\n grid-template-columns: 1fr 1rem;\n }\n .bui-SelectItem {\n padding: var(--bui-space-2) var(--bui-space-4);\n border-radius: var(--bui-radius-2);\n }\n .bui-SelectItem[data-focused] {\n background-color: var(--bui-bg-neutral-2);\n }\n .bui-SelectTrigger:hover,\n .bui-ComboboxInput:hover {\n border-color: var(--bui-bg-solid);\n }\n .bui-Select[data-focused] .bui-SelectTrigger {\n border-color: var(--bui-bg-solid);\n border-width: 2px;\n padding: calc(var(--bui-space-2) - 1px) calc(var(--bui-space-4) - 1px);\n }\n .bui-ComboboxInput[data-focused] {\n border-width: 2px;\n }\n\n /*\n * Align Table to https://www.patternfly.org/components/table\n */\n .bui-TableHead {\n padding: var(--bui-space-4);\n font-size: var(--bui-font-size-2);\n font-weight: var(--bui-font-weight-bold);\n }\n .bui-TableCell {\n padding: var(--bui-space-4);\n }\n .bui-TableHeader {\n border-bottom: 1px solid var(--bui-border-1);\n }\n .bui-TableRow {\n border-bottom: 1px solid var(--bui-border-1);\n }\n .bui-TableRow:hover {\n background-color: var(\n --pf-v6-c-table__tr--m-clickable--BackgroundColor,\n #f2f2f2\n );\n }\n /*\n * Hover/focus parity: BUI only reveals the sort chevron on .bui-TableHead:hover\n * (or when already sorted). Show it on keyboard focus too so mouse and keyboard\n * users get the same sortable affordance.\n *\n * Keyboard note (React Aria / BUI table): Tab enters or leaves the table as a\n * single stop. To move between sortable headers while one is focused, use the\n * arrow keys — not Tab.\n */\n .bui-TableHead:focus-visible .bui-TableHeadSortButton,\n .bui-TableHead[data-focused] .bui-TableHeadSortButton,\n .bui-TableHead[data-focus-visible] .bui-TableHeadSortButton {\n opacity: 1;\n }\n .bui-TableHead:focus-visible,\n .bui-TableHead[data-focused],\n .bui-TableHead[data-focus-visible] {\n outline: 2px solid var(--bui-ring, var(--bui-bg-solid));\n outline-offset: -2px;\n }\n .bui-TableHead[data-sort-direction='ascending'] .bui-TableHeadSortButton,\n .bui-TableHead[data-sort-direction='descending'] .bui-TableHeadSortButton {\n color: var(--pf-t--global--color--brand--clicked, #004d99);\n }\n\n /*\n * Align Link to https://www.patternfly.org/components/content (links)\n */\n .bui-Link {\n text-decoration-style: dashed;\n }\n\n /*\n * Align Menu to https://www.patternfly.org/components/menu\n */\n .bui-MenuPopover {\n border: none;\n border-radius: var(--bui-radius-3);\n padding: var(--bui-space-1);\n background-color: var(--bui-redhat-theme-bg-floating);\n box-shadow: var(\n --pf-v6-c-menu--BoxShadow,\n 0px 4px 10px 0px rgba(41, 41, 41, 0.15)\n );\n }\n\n .bui-MenuInner {\n background-color: var(--bui-redhat-theme-bg-floating);\n & .bui-MenuContent {\n padding-block: 0;\n background-color: var(--bui-redhat-theme-bg-floating);\n }\n }\n\n .bui-MenuItem {\n border-radius: var(--bui-radius-2);\n margin-inline: 0;\n }\n\n .bui-MenuSection {\n padding-inline: 0;\n }\n\n .bui-MenuSectionHeader {\n font-size: var(--bui-font-size-2);\n padding-inline-start: var(--bui-space-2);\n padding-inline-end: var(--bui-space-2);\n padding-top: var(--bui-space-2);\n padding-bottom: var(--bui-space-2);\n text-transform: none;\n letter-spacing: normal;\n font-weight: var(--bui-font-weight-bold);\n }\n .bui-MenuSeparator {\n background: var(--pf-t--global--border--color--default, #e0e0e0);\n margin-inline: 0;\n }\n\n /*\n * Align Popover to https://www.patternfly.org/components/popover\n * PF uses shadow without border; content surface is white / gray-70 dark.\n *\n * Arrow SVG fills come from --bui-bg-app / --bui-bg-neutral-1 / --bui-border-1\n * (same as Tooltip). Override those on the root so the arrow matches the shell —\n * property-level `background` alone leaves the arrow on page --bui-bg-app and it\n * disappears into the inset gray. With border removed, pull the arrow in further\n * so it does not leave a hairline gap at the join.\n */\n .bui-Popover {\n --popover-border-radius: var(--bui-radius-5);\n --bui-bg-app: var(--pf-v6-c-popover__content--BackgroundColor, #ffffff);\n --bui-bg-neutral-1: var(\n --pf-v6-c-popover__content--BackgroundColor,\n #ffffff\n );\n --bui-border-1: var(--pf-v6-c-popover__content--BackgroundColor, #ffffff);\n border: none;\n box-shadow: var(\n --pf-t--global--box-shadow--md,\n 0px 4px 10px 0px rgba(41, 41, 41, 0.15)\n );\n background: var(--bui-bg-app);\n }\n .bui-PopoverContent {\n background: var(--bui-bg-neutral-1);\n }\n .bui-PopoverArrow svg {\n /* BUI default -2px assumes a 1px border; border:none needs a deeper overlap. */\n --popover-arrow-overlap: -4px;\n }\n\n /*\n * Align Radio to https://www.patternfly.org/components/radio\n */\n .bui-Radio {\n font-size: var(--bui-font-size-3);\n }\n\n /*\n * Align Checkbox disabled state to PatternFly\n */\n .bui-Checkbox[data-disabled] .bui-CheckboxIndicator {\n background-color: light-dark(\n rgba(239, 239, 239, 0.3),\n rgba(59, 59, 59, 0.3)\n );\n }\n\n /*\n * Align Skeleton to https://www.patternfly.org/components/skeleton\n * PatternFly uses a shimmer gradient animation instead of opacity pulse.\n */\n @keyframes bui-shimmer {\n 0% {\n background-position: 200% 0;\n }\n 100% {\n background-position: -200% 0;\n }\n }\n .bui-Skeleton {\n animation: bui-shimmer 3s linear infinite 0.5s;\n background-image: linear-gradient(\n 90deg,\n var(--bui-bg-neutral-2) 0%,\n var(--bui-bg-neutral-3) 50%,\n var(--bui-bg-neutral-2) 100%\n );\n background-size: 200% 100%;\n }\n @media (prefers-reduced-motion: reduce) {\n .bui-Skeleton {\n animation: none;\n }\n }\n\n /*\n * Align Slider to https://www.patternfly.org/components/slider\n */\n .bui-SliderThumb {\n width: 16px;\n height: 16px;\n }\n .bui-SliderTrack {\n border-radius: var(--bui-radius-1);\n }\n\n /*\n * Align Tooltip to https://www.patternfly.org/components/tooltip\n * PatternFly tooltips use inverse background with contrasting text.\n *\n * BUI paints the shell/arrow from --bui-bg-app / --bui-bg-neutral-1 / --bui-border-1\n * and text from --bui-fg-primary. Override those tokens on the tooltip root so\n * background, text, and arrow stay in sync (property-level background overrides\n * lose to BUI module CSS). With border removed, deepen arrow overlap to close\n * the hairline gap at the arrow join.\n */\n .bui-Tooltip {\n --tooltip-border-radius: var(--bui-radius-2);\n --bui-bg-app: var(--pf-v6-c-tooltip__content--BackgroundColor, #292929);\n --bui-bg-neutral-1: var(\n --pf-v6-c-tooltip__content--BackgroundColor,\n #292929\n );\n --bui-border-1: var(--pf-v6-c-tooltip__arrow--BackgroundColor, #292929);\n --bui-fg-primary: var(--pf-v6-c-tooltip__content--Color, #ffffff);\n border: none;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);\n max-width: 300px;\n font-size: var(--bui-font-size-2);\n text-align: center;\n }\n .bui-TooltipArrow svg {\n /* BUI default -2px assumes a 1px border; border:none needs a deeper overlap. */\n --tooltip-arrow-overlap: -4px;\n }\n\n /*\n * Align Switch to https://www.patternfly.org/components/switch\n */\n .bui-SwitchIndicator {\n --switch-indicator-bg: var(\n --pf-t--global--background--color--control--default,\n var(--bui-bg-neutral-1)\n );\n width: calc(var(--bui-font-size-2) * 2.5);\n height: calc(var(--bui-font-size-2) * 1.5);\n border: 1px solid var(--bui-border-2);\n border-radius: calc(var(--bui-font-size-2) * 1.5);\n &:before {\n width: calc(var(--bui-font-size-2) - 2px);\n height: calc(var(--bui-font-size-2) - 2px);\n margin: calc(var(--bui-font-size-2) * 0.2 + 1px);\n background: var(--bui-fg-secondary);\n }\n }\n .bui-Switch[data-selected] .bui-SwitchIndicator {\n border-color: transparent;\n &:before {\n background: var(--bui-accent-fg);\n transform: translateX(calc(100% + 2px));\n }\n }\n .bui-Switch[data-disabled] .bui-SwitchIndicator {\n border-color: transparent;\n background: var(--bui-bg-solid-disabled);\n &:before {\n background: var(--bui-fg-solid-disabled);\n }\n }\n\n /*\n * Page inset / rounded content well:\n * BackstageSidebarPage is the sole scrollport. createComponents.ts applies\n * margin inset + right-edge clip-path (left border-box stays square under\n * the drawer), sticky content-edge corner masks, and\n * overscroll-behavior: none — for both classic <main> and fragmented BUI\n * Header + Container siblings; no extra DOM wrapper.\n */\n}\n\nbody[data-theme-name='light'][data-theme-mode='light'],\nbody[data-theme-name='light-customized'][data-theme-mode='light'] {\n .bui-DialogContent {\n background-color: var(--pf-v6-c-modal-box--BackgroundColor, #ffffff);\n }\n .bui-DialogHeader > .bui-Button[slot='close'] {\n color: var(--bui-black);\n }\n}\n\nbody[data-theme-name='dark'][data-theme-mode='dark'],\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n .bui-DialogContent {\n background-color: var(--pf-v6-c-modal-box--BackgroundColor, #383838);\n }\n .bui-DialogHeader > .bui-Button[slot='close'] {\n color: var(--bui-white);\n }\n\n .bui-ButtonLink,\n .bui-ButtonLink[data-variant='primary'] {\n --fg: var(--pf-v6-c-button--m-primary--BackgroundColor, #92c5f9);\n }\n .bui-ButtonLink:hover,\n .bui-ButtonLink[data-hovered] {\n --fg: var(--pf-v6-c-button--hover--Color, #e0f0ff);\n }\n\n .bui-TableRow:hover {\n background-color: var(\n --pf-v6-c-table__tr--m-clickable--BackgroundColor,\n #383838\n );\n }\n .bui-TableHead[data-sort-direction='ascending'] .bui-TableHeadSortButton,\n .bui-TableHead[data-sort-direction='descending'] .bui-TableHeadSortButton {\n color: var(--pf-t--global--color--brand--clicked, #b9dafc);\n }\n\n .bui-MenuSeparator {\n background: var(--pf-t--global--border--color--default, #4d4d4d);\n }\n .bui-MenuItem[data-color='danger'] {\n color: var(--pf-v6-c-menu__item--Color, #f89b78);\n }\n\n .bui-Input,\n .bui-PasswordFieldInputWrapper,\n .bui-SearchFieldInputWrapper,\n .bui-SearchAutocomplete,\n .bui-ComboboxInput,\n .bui-DatePickerGroup {\n border-color: var(--pf-t--global--border--color--control--default, #a3a3a3);\n }\n .bui-Input::placeholder,\n .bui-PasswordFieldInput::placeholder,\n .bui-SearchFieldInputWrapper input::placeholder,\n .bui-ComboboxInput::placeholder {\n color: var(--pf-v6-c-form-control--m-placeholder--Color, #c7c7c7);\n }\n\n .bui-SelectPopover .bui-Popover,\n .bui-ComboboxPopover .bui-Popover,\n .bui-Popover {\n --bui-bg-app: var(--pf-v6-c-popover__content--BackgroundColor, #383838);\n --bui-bg-neutral-1: var(\n --pf-v6-c-popover__content--BackgroundColor,\n #383838\n );\n --bui-border-1: var(--pf-v6-c-popover__content--BackgroundColor, #383838);\n box-shadow: var(\n --pf-t--global--box-shadow--md,\n 0px 4px 10px 0px rgba(0, 0, 0, 0.5)\n );\n background: var(--bui-bg-app);\n }\n .bui-SelectPopover .bui-PopoverContent,\n .bui-ComboboxPopover .bui-PopoverContent,\n .bui-PopoverContent {\n background: var(--bui-bg-neutral-1);\n }\n\n .bui-Tooltip {\n --bui-bg-app: var(--pf-v6-c-tooltip__content--BackgroundColor, #ffffff);\n --bui-bg-neutral-1: var(\n --pf-v6-c-tooltip__content--BackgroundColor,\n #ffffff\n );\n --bui-border-1: var(--pf-v6-c-tooltip__arrow--BackgroundColor, #ffffff);\n --bui-fg-primary: var(--pf-v6-c-tooltip__content--Color, #292929);\n }\n\n .bui-Badge {\n background-color: var(--pf-v6-c-badge--m-read--BackgroundColor, #4d4d4d);\n }\n}\n";
4
4
  styleInject(css_248z);
5
5
  //# sourceMappingURL=component-overrides.css.esm.js.map
@@ -1,5 +1,5 @@
1
1
  import styleInject from '../../node_modules_dist/style-inject/dist/style-inject.es.esm.js';
2
2
 
3
- var css_248z = "body[data-theme-name='light'][data-theme-mode='light'],\nbody[data-theme-name='dark'][data-theme-mode='dark'],\nbody[data-theme-name='light-customized'][data-theme-mode='light'],\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n /*\n * Override BUI tokens with PatternFly tokens. In this storybook and in ui-docs the fallback is always used.\n * These tokens are used here for documentation purposes to show how the BUI tokens map to PatternFly tokens.\n */\n\n /* Font families */\n --bui-font-regular: var(\n --pf-t--global--font--family--body,\n 'Red Hat Text',\n 'RedHatText',\n 'Noto Sans Arabic',\n 'Noto Sans Hebrew',\n 'Noto Sans JP',\n 'Noto Sans KR',\n 'Noto Sans Malayalam',\n 'Noto Sans SC',\n 'Noto Sans TC',\n 'Noto Sans Thai',\n Helvetica,\n Arial,\n sans-serif\n );\n /* This `--bui-redhat-` prefixed variable does NOT exist in BUI but is used only in this theme by some components below */\n --bui-redhat-theme-font-heading: var(\n --pf-t--global--font--family--heading,\n 'Red Hat Display',\n 'RedHatDisplay',\n 'Noto Sans Arabic',\n 'Noto Sans Hebrew',\n 'Noto Sans JP',\n 'Noto Sans KR',\n 'Noto Sans Malayalam',\n 'Noto Sans SC',\n 'Noto Sans TC',\n 'Noto Sans Thai',\n Helvetica,\n Arial,\n sans-serif\n );\n --bui-font-monospace: var(\n --pf-t--global--font--family--mono,\n 'Red Hat Mono',\n 'RedHatMono',\n 'Courier New',\n Courier,\n monospace\n );\n\n /* Font weights */\n --bui-font-weight-regular: var(\n --pf-t--global--font--weight--body--default,\n 400\n );\n --bui-font-weight-bold: var(--pf-t--global--font--weight--body--bold, 600);\n /* This `--bui-redhat-` prefixed variable does NOT exist in BUI but is used only in this theme by some components below */\n --bui-redhat-theme-font-weight-heading-regular: var(\n --pf-t--global--font--weight--heading--default,\n 400\n );\n /* This `--bui-redhat-` prefixed variable does NOT exist in BUI but is used only in this theme by some components below */\n --bui-redhat-theme-font-weight-heading-bold: var(\n --pf-t--global--font--weight--heading--bold,\n 600\n );\n\n /*\n * Font sizes are mostly similar between BUI and this theme. We used a slightly bigger font size.\n *\n * BUI \"Body Medium\" = --bui-font-size-3 is 0.875rem but we aligned with --pf-t--global--font--size--md which is 1rem.\n *\n * Line heights are applied per Text variant in component-overrides.css to match PatternFly Content\n * (--pf-v6-c-content--h*--LineHeight: 1.3, --pf-v6-c-content--LineHeight: 1.5).\n */\n --bui-font-size-1: var(\n --pf-t--global--font--size--xs,\n 0.75rem\n ); /* BUI default 0.625rem = 10px */\n --bui-font-size-2: var(\n --pf-t--global--font--size--sm,\n 0.875rem\n ); /* BUI default 0.75rem = 12px */\n --bui-font-size-3: var(\n --pf-t--global--font--size--md,\n 14px /*1rem*/\n ); /* BUI default 0.875rem = 14px */\n --bui-font-size-4: var(\n --pf-t--global--font--size--lg,\n 1.125rem\n ); /* BUI default 1rem = 16px */\n --bui-font-size-5: var(\n --pf-t--global--font--size--xl,\n 1.25rem\n ); /* BUI default 1.25rem = 20px */\n --bui-font-size-6: var(\n --pf-t--global--font--size--2xl,\n 1.5rem\n ); /* BUI default 1.5rem = 24px */\n --bui-font-size-7: var(\n --pf-t--global--font--size--3xl,\n 1.75rem\n ); /* BUI default 2rem = 32px */\n --bui-font-size-8: var(\n --pf-t--global--font--size--4xl,\n 2.25rem\n ); /* BUI default 3rem = 48px */\n --bui-font-size-9: var(\n --pf-t--global--font--size--5xl,\n 3rem\n ); /* BUI default 4rem = 64px */\n --bui-font-size-10: var(\n --pf-t--global--font--size--6xl,\n 4rem\n ); /* BUI default 5.75rem = 92px */\n\n /*\n * Spacing\n *\n * Use default BUI spacing tokens because they are matching mostly the PatternFly tokens.\n *\n * For example `--bui-space: 0.25rem` is same as `pf-t--global--spacer--xs: 0.25rem`\n */\n\n /*\n * Radius\n *\n * While BUI has 6 radius tokens and a `full` token, PatternFly has just 4 radius tokens and a `sharp` (0px) and a `pill` token.\n * We mapped the BUI tokens to the closest PatternFly tokens and used custom values in the middle between `small` and `medium`\n * so that BUI component users can still expect different radius options.\n *\n * The `full` token is mapped to the `pill` token in PatternFly but we kept 9999px instead of 999px from PF.\n */\n --bui-radius-1: var(\n --pf-t--global--border--radius--tiny,\n 4px\n ); /* default: 0.125rem */\n --bui-radius-2: var(\n --pf-t--global--border--radius--small,\n 6px\n ); /* default: 0.25rem */\n --bui-radius-3: 8px; /* default: 0.5rem */\n --bui-radius-4: 12px; /* default: 0.75rem */\n --bui-radius-5: var(\n --pf-t--global--border--radius--medium,\n 16px\n ); /* default: 1rem */\n --bui-radius-6: var(\n --pf-t--global--border--radius--large,\n 24px\n ); /* default: 1.25rem */\n --bui-radius-full: var(\n --pf-t--global--border--radius--pill,\n 9999px\n ); /* default: 9999px */\n}\n\nbody[data-theme-name='light'][data-theme-mode='light'],\nbody[data-theme-name='light-customized'][data-theme-mode='light'] {\n /* Base Colors */\n --bui-black: #151515;\n --bui-white: #ffffff;\n\n /* Solid background colors */\n --bui-bg-solid: var(--pf-t--global--icon--color--brand--default, #0066cc);\n --bui-bg-solid-hover: var(--pf-t--global--icon--color--brand--hover, #004d99);\n --bui-bg-solid-pressed: var(\n --pf-t--global--icon--color--brand--clicked,\n #004d99\n );\n --bui-bg-solid-disabled: var(\n --pf-t--global--background--color--disabled--default,\n #c7c7c7\n );\n\n /* Neutral background colors */\n /* App / outer-shell surface — PF masthead background */\n --bui-bg-app: var(--pf-v6-c-masthead--BackgroundColor, #f2f2f2);\n\n --bui-bg-neutral-1: #fff;\n --bui-bg-neutral-1-hover: oklch(0% 0 0 / 6%);\n --bui-bg-neutral-1-pressed: oklch(0% 0 0 / 12%);\n --bui-bg-neutral-1-disabled: oklch(0% 0 0 / 6%);\n\n --bui-bg-neutral-2: oklch(0% 0 0 / 6%);\n --bui-bg-neutral-2-hover: oklch(0% 0 0 / 12%);\n --bui-bg-neutral-2-pressed: oklch(0% 0 0 / 16%);\n --bui-bg-neutral-2-disabled: oklch(0% 0 0 / 6%);\n\n --bui-bg-neutral-3: oklch(0% 0 0 / 6%);\n --bui-bg-neutral-3-hover: oklch(0% 0 0 / 12%);\n --bui-bg-neutral-3-pressed: oklch(0% 0 0 / 16%);\n --bui-bg-neutral-3-disabled: oklch(0% 0 0 / 6%);\n\n --bui-bg-neutral-4: oklch(0% 0 0 / 6%);\n --bui-bg-neutral-4-hover: oklch(0% 0 0 / 12%);\n --bui-bg-neutral-4-pressed: oklch(0% 0 0 / 16%);\n --bui-bg-neutral-4-disabled: oklch(0% 0 0 / 6%);\n\n /* Status background colors */\n --bui-bg-danger: #ffe2e2;\n --bui-bg-warning: #ffedd5;\n --bui-bg-success: #dcfce7;\n --bui-bg-info: #dbeafe;\n\n /* Foreground colors */\n --bui-fg-primary: var(--bui-black);\n --bui-fg-secondary: var(\n --pf-t--global--text--color--subtle,\n #4d4d4d\n ); /* PF gray-60 */\n --bui-fg-disabled: var(\n --pf-t--global--text--color--disabled,\n #a3a3a3\n ); /* PF gray-40 */\n --bui-fg-solid: var(--bui-white);\n --bui-fg-solid-disabled: var(\n --pf-t--global--text--color--on-disabled,\n #707070\n ); /* PF gray-50 */\n\n /* Foreground Statuses — used as icon/border accent on status backgrounds */\n --bui-fg-danger-on-bg: var(\n --pf-t--global--color--status--danger--default,\n #b1380b\n ); /* PF red-orange-60 */\n --bui-fg-warning-on-bg: var(\n --pf-t--global--color--status--warning--default,\n #dca614\n ); /* PF yellow-40 */\n --bui-fg-success-on-bg: var(\n --pf-t--global--color--status--success--default,\n #3d7317\n ); /* PF green-60 */\n --bui-fg-info-on-bg: var(\n --pf-t--global--color--status--info--default,\n #5e40be\n ); /* PF purple-50 */\n --bui-fg-danger: var(\n --pf-t--global--color--status--danger--default,\n #b1380b\n ); /* PF red-orange-60 */\n --bui-fg-warning: var(\n --pf-t--global--color--status--warning--default,\n #dca614\n ); /* PF yellow-40 */\n --bui-fg-success: var(\n --pf-t--global--color--status--success--default,\n #3d7317\n ); /* PF green-60 */\n --bui-fg-info: var(\n --pf-t--global--color--status--info--default,\n #5e40be\n ); /* PF purple-50 */\n\n /* Border colors */\n --bui-border-1: var(\n --pf-t--global--border--color--default,\n #c7c7c7\n ); /* PF gray-30 */\n --bui-border-2: var(\n --pf-t--global--border--color--control--default,\n #a3a3a3\n ); /* PF gray-40 */\n --bui-border-info: var(\n --pf-t--global--border--color--status--info--default,\n #5e40be\n ); /* PF purple-50 */\n --bui-border-danger: var(\n --pf-t--global--border--color--status--danger--default,\n #b1380b\n ); /* PF red-orange-60 */\n --bui-border-warning: var(\n --pf-t--global--border--color--status--warning--default,\n #dca614\n ); /* PF yellow-40 */\n --bui-border-success: var(\n --pf-t--global--border--color--status--success--default,\n #3d7317\n ); /* PF green-60 */\n\n /* Accent colors (used by Switch and other interactive components) */\n --bui-accent-bg: var(--bui-bg-solid);\n --bui-accent-bg-hover: var(--bui-bg-solid-hover);\n --bui-accent-bg-disabled: var(--bui-bg-solid-disabled);\n --bui-accent-fg: var(--bui-fg-solid);\n --bui-accent-fg-disabled: var(--bui-fg-solid-disabled);\n\n /*\n * Brand accent for tab/nav indicators — separate from the button brand.\n * Defaults to the brand color; felt variants override to red.\n */\n --bui-redhat-theme-brand-accent: var(--bui-bg-solid);\n\n /* Readonly form control colors — PF gray-10 bg, gray-30 border */\n --bui-redhat-theme-readonly-bg: #f2f2f2;\n --bui-redhat-theme-readonly-border: #c7c7c7;\n\n /* Primary background — PF background-color-primary-default */\n --bui-redhat-theme-bg-primary: #ffffff; /* PF white */\n\n /* Floating background — PF background-color-floating-default (menus, popovers) */\n --bui-redhat-theme-bg-floating: #ffffff; /* PF white */\n\n /* Page inset — the shell background behind the rounded content well */\n --bui-redhat-theme-page-inset: 1.5rem;\n --bui-redhat-theme-page-inset-bg: #f2f2f2;\n\n /* Brand subtle — used by ToggleButton selected/hover states */\n --bui-redhat-theme-brand-subtle: #e0f0ff; /* PF blue-10 */\n --bui-redhat-theme-brand-subtle-hover: #b9dafc; /* PF blue-20 */\n --bui-redhat-theme-brand-subtle-border: #4394e5; /* PF blue-40 */\n\n /* Special colors */\n --bui-ring: var(--bui-bg-solid);\n --bui-scrollbar: #a0a0a03b;\n --bui-scrollbar-thumb: #a0a0a0;\n\n /* Shadows */\n --bui-shadow: rgba(41, 41, 41, 0.15) 0px 10px 20px 0px;\n\n --bui-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\nbody[data-theme-name='dark'][data-theme-mode='dark'],\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n /* Base Colors */\n --bui-black: #151515;\n --bui-white: #ffffff;\n\n /* Solid background colors — dark brand uses lighter blue for contrast on dark bg */\n --bui-bg-solid: var(\n --pf-t--global--icon--color--brand--default,\n #92c5f9\n ); /* PF dark brand = blue-30 */\n --bui-bg-solid-hover: var(\n --pf-t--global--icon--color--brand--hover,\n #b9dafc\n ); /* PF dark = blue-20 */\n --bui-bg-solid-pressed: var(\n --pf-t--global--icon--color--brand--clicked,\n #b9dafc\n );\n --bui-bg-solid-disabled: var(\n --pf-t--global--background--color--disabled--default,\n #a3a3a3\n ); /* PF dark gray-40 */\n\n /* Neutral background colors */\n /* App / outer-shell surface — PF masthead background (dark) */\n --bui-bg-app: var(--pf-v6-c-masthead--BackgroundColor, #151515);\n\n --bui-bg-neutral-1: oklch(100% 0 0 / 10%);\n --bui-bg-neutral-1-hover: oklch(100% 0 0 / 14%);\n --bui-bg-neutral-1-pressed: oklch(100% 0 0 / 20%);\n --bui-bg-neutral-1-disabled: oklch(100% 0 0 / 10%);\n\n --bui-bg-neutral-2: oklch(100% 0 0 / 6%);\n --bui-bg-neutral-2-hover: oklch(100% 0 0 / 10%);\n --bui-bg-neutral-2-pressed: oklch(100% 0 0 / 16%);\n --bui-bg-neutral-2-disabled: oklch(100% 0 0 / 6%);\n\n --bui-bg-neutral-3: oklch(100% 0 0 / 8%);\n --bui-bg-neutral-3-hover: oklch(100% 0 0 / 12%);\n --bui-bg-neutral-3-pressed: oklch(100% 0 0 / 20%);\n --bui-bg-neutral-3-disabled: oklch(100% 0 0 / 8%);\n\n --bui-bg-neutral-4: oklch(100% 0 0 / 8%);\n --bui-bg-neutral-4-hover: oklch(100% 0 0 / 12%);\n --bui-bg-neutral-4-pressed: oklch(100% 0 0 / 20%);\n --bui-bg-neutral-4-disabled: oklch(100% 0 0 / 8%);\n\n /* Status background colors — BUI uses tinted backgrounds for alerts */\n --bui-bg-danger: #ffe2e2;\n --bui-bg-warning: #ffedd5;\n --bui-bg-success: #dcfce7;\n --bui-bg-info: #dbeafe;\n\n /* Foreground colors */\n --bui-fg-primary: var(--bui-white);\n --bui-fg-secondary: var(\n --pf-t--global--text--color--subtle,\n #c7c7c7\n ); /* PF dark = gray-30 */\n --bui-fg-disabled: var(\n --pf-t--global--text--color--disabled,\n #707070\n ); /* PF dark = gray-50 */\n --bui-fg-solid: #151515;\n --bui-fg-solid-disabled: var(\n --pf-t--global--text--color--on-disabled,\n #383838\n ); /* PF dark = gray-70 */\n\n /* Foreground Statuses — dark mode uses lighter status colors for contrast */\n --bui-fg-danger-on-bg: var(\n --pf-t--global--color--status--danger--default,\n #f0561d\n ); /* PF dark = red-orange-50 */\n --bui-fg-warning-on-bg: var(\n --pf-t--global--color--status--warning--default,\n #ffcc17\n ); /* PF dark = yellow-30 */\n --bui-fg-success-on-bg: var(\n --pf-t--global--color--status--success--default,\n #87bb62\n ); /* PF dark = green-40 */\n --bui-fg-info-on-bg: var(\n --pf-t--global--color--status--info--default,\n #b6a6e9\n ); /* PF dark = purple-30 */\n --bui-fg-danger: var(\n --pf-t--global--color--status--danger--default,\n #f0561d\n ); /* PF dark = red-orange-50 */\n --bui-fg-warning: var(\n --pf-t--global--color--status--warning--default,\n #ffcc17\n ); /* PF dark = yellow-30 */\n --bui-fg-success: var(\n --pf-t--global--color--status--success--default,\n #87bb62\n ); /* PF dark = green-40 */\n --bui-fg-info: var(\n --pf-t--global--color--status--info--default,\n #b6a6e9\n ); /* PF dark = purple-30 */\n\n /* Border colors */\n --bui-border-1: var(\n --pf-t--global--border--color--default,\n #4d4d4d\n ); /* PF dark = gray-60 */\n --bui-border-2: var(\n --pf-t--global--border--color--control--default,\n #a3a3a3\n ); /* PF dark = gray-40 */\n --bui-border-info: var(\n --pf-t--global--border--color--status--info--default,\n #b6a6e9\n ); /* PF dark = purple-30 */\n --bui-border-danger: var(\n --pf-t--global--border--color--status--danger--default,\n #f0561d\n ); /* PF dark = red-orange-50 */\n --bui-border-warning: var(\n --pf-t--global--border--color--status--warning--default,\n #ffcc17\n ); /* PF dark = yellow-30 */\n --bui-border-success: var(\n --pf-t--global--border--color--status--success--default,\n #87bb62\n ); /* PF dark = green-40 */\n\n /* Accent colors (used by Switch and other interactive components) */\n --bui-accent-bg: var(--bui-bg-solid);\n --bui-accent-bg-hover: var(--bui-bg-solid-hover);\n --bui-accent-bg-disabled: var(--bui-bg-solid-disabled);\n --bui-accent-fg: var(--bui-fg-solid);\n --bui-accent-fg-disabled: var(--bui-fg-solid-disabled);\n\n --bui-redhat-theme-brand-accent: var(--bui-bg-solid);\n\n /* Readonly form control colors — PF dark: gray-80 bg, gray-60 border */\n --bui-redhat-theme-readonly-bg: #292929;\n --bui-redhat-theme-readonly-border: #4d4d4d;\n\n /* Primary background — PF dark: gray-80 */\n --bui-redhat-theme-bg-primary: #292929;\n\n /* Floating background — PF dark: gray-70 */\n --bui-redhat-theme-bg-floating: #383838;\n\n /* Page inset — dark shell background */\n --bui-redhat-theme-page-inset: 1.5rem;\n --bui-redhat-theme-page-inset-bg: #151515;\n\n /* Brand subtle — PF dark: blue-70, blue-60, blue-30 */\n --bui-redhat-theme-brand-subtle: #003366; /* PF blue-70 */\n --bui-redhat-theme-brand-subtle-hover: #004d99; /* PF blue-60 */\n --bui-redhat-theme-brand-subtle-border: #92c5f9; /* PF blue-30 */\n\n /* Special colors */\n --bui-ring: var(--bui-bg-solid);\n --bui-scrollbar: #a0a0a03b;\n --bui-scrollbar-thumb: #a0a0a0;\n\n /* Shadows */\n --bui-shadow: rgba(0, 0, 0, 0.5) 0px 10px 20px 0px;\n\n --bui-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\n/*\n * Felt theme overrides for the customized variants.\n */\nbody[data-theme-name='light-customized'][data-theme-mode='light'] {\n /* Brand accent → red (buttons stay blue via --bui-bg-solid) */\n --bui-redhat-theme-brand-accent: #ee0000;\n}\n\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n /* Brand accent → red */\n --bui-redhat-theme-brand-accent: #ee0000;\n}\n";
3
+ var css_248z = "body[data-theme-name='light'][data-theme-mode='light'],\nbody[data-theme-name='dark'][data-theme-mode='dark'],\nbody[data-theme-name='light-customized'][data-theme-mode='light'],\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n /*\n * Override BUI tokens with PatternFly tokens. In this storybook and in ui-docs the fallback is always used.\n * These tokens are used here for documentation purposes to show how the BUI tokens map to PatternFly tokens.\n */\n\n /* Font families */\n --bui-font-regular: var(\n --pf-t--global--font--family--body,\n 'Red Hat Text',\n 'RedHatText',\n 'Noto Sans Arabic',\n 'Noto Sans Hebrew',\n 'Noto Sans JP',\n 'Noto Sans KR',\n 'Noto Sans Malayalam',\n 'Noto Sans SC',\n 'Noto Sans TC',\n 'Noto Sans Thai',\n Helvetica,\n Arial,\n sans-serif\n );\n /* This `--bui-redhat-` prefixed variable does NOT exist in BUI but is used only in this theme by some components below */\n --bui-redhat-theme-font-heading: var(\n --pf-t--global--font--family--heading,\n 'Red Hat Display',\n 'RedHatDisplay',\n 'Noto Sans Arabic',\n 'Noto Sans Hebrew',\n 'Noto Sans JP',\n 'Noto Sans KR',\n 'Noto Sans Malayalam',\n 'Noto Sans SC',\n 'Noto Sans TC',\n 'Noto Sans Thai',\n Helvetica,\n Arial,\n sans-serif\n );\n --bui-font-monospace: var(\n --pf-t--global--font--family--mono,\n 'Red Hat Mono',\n 'RedHatMono',\n 'Courier New',\n Courier,\n monospace\n );\n\n /* Font weights */\n --bui-font-weight-regular: var(\n --pf-t--global--font--weight--body--default,\n 400\n );\n --bui-font-weight-bold: var(--pf-t--global--font--weight--body--bold, 600);\n /* This `--bui-redhat-` prefixed variable does NOT exist in BUI but is used only in this theme by some components below */\n --bui-redhat-theme-font-weight-heading-regular: var(\n --pf-t--global--font--weight--heading--default,\n 400\n );\n /* This `--bui-redhat-` prefixed variable does NOT exist in BUI but is used only in this theme by some components below */\n --bui-redhat-theme-font-weight-heading-bold: var(\n --pf-t--global--font--weight--heading--bold,\n 600\n );\n\n /*\n * Font sizes are mostly similar between BUI and this theme. We used a slightly bigger font size.\n *\n * BUI \"Body Medium\" = --bui-font-size-3 is 0.875rem but we aligned with --pf-t--global--font--size--md which is 1rem.\n *\n * Line heights are applied per Text variant in component-overrides.css to match PatternFly Content\n * (--pf-v6-c-content--h*--LineHeight: 1.3, --pf-v6-c-content--LineHeight: 1.5).\n */\n --bui-font-size-1: var(\n --pf-t--global--font--size--xs,\n 0.75rem\n ); /* BUI default 0.625rem = 10px */\n --bui-font-size-2: var(\n --pf-t--global--font--size--sm,\n 0.875rem\n ); /* BUI default 0.75rem = 12px */\n --bui-font-size-3: var(\n --pf-t--global--font--size--md,\n 14px /*1rem*/\n ); /* BUI default 0.875rem = 14px */\n --bui-font-size-4: var(\n --pf-t--global--font--size--lg,\n 1.125rem\n ); /* BUI default 1rem = 16px */\n --bui-font-size-5: var(\n --pf-t--global--font--size--xl,\n 1.25rem\n ); /* BUI default 1.25rem = 20px */\n --bui-font-size-6: var(\n --pf-t--global--font--size--2xl,\n 1.5rem\n ); /* BUI default 1.5rem = 24px */\n --bui-font-size-7: var(\n --pf-t--global--font--size--3xl,\n 1.75rem\n ); /* BUI default 2rem = 32px */\n --bui-font-size-8: var(\n --pf-t--global--font--size--4xl,\n 2.25rem\n ); /* BUI default 3rem = 48px */\n --bui-font-size-9: var(\n --pf-t--global--font--size--5xl,\n 3rem\n ); /* BUI default 4rem = 64px */\n --bui-font-size-10: var(\n --pf-t--global--font--size--6xl,\n 4rem\n ); /* BUI default 5.75rem = 92px */\n\n /*\n * Spacing\n *\n * Use default BUI spacing tokens because they are matching mostly the PatternFly tokens.\n *\n * For example `--bui-space: 0.25rem` is same as `pf-t--global--spacer--xs: 0.25rem`\n */\n\n /*\n * Radius\n *\n * While BUI has 6 radius tokens and a `full` token, PatternFly has just 4 radius tokens and a `sharp` (0px) and a `pill` token.\n * We mapped the BUI tokens to the closest PatternFly tokens and used custom values in the middle between `small` and `medium`\n * so that BUI component users can still expect different radius options.\n *\n * The `full` token is mapped to the `pill` token in PatternFly but we kept 9999px instead of 999px from PF.\n */\n --bui-radius-1: var(\n --pf-t--global--border--radius--tiny,\n 4px\n ); /* default: 0.125rem */\n --bui-radius-2: var(\n --pf-t--global--border--radius--small,\n 6px\n ); /* default: 0.25rem */\n --bui-radius-3: 8px; /* default: 0.5rem */\n --bui-radius-4: 12px; /* default: 0.75rem */\n --bui-radius-5: var(\n --pf-t--global--border--radius--medium,\n 16px\n ); /* default: 1rem */\n --bui-radius-6: var(\n --pf-t--global--border--radius--large,\n 24px\n ); /* default: 1.25rem */\n --bui-radius-full: var(\n --pf-t--global--border--radius--pill,\n 9999px\n ); /* default: 9999px */\n}\n\nbody[data-theme-name='light'][data-theme-mode='light'],\nbody[data-theme-name='light-customized'][data-theme-mode='light'] {\n /* Base Colors */\n --bui-black: #151515;\n --bui-white: #ffffff;\n\n /* Solid background colors */\n --bui-bg-solid: var(--pf-t--global--icon--color--brand--default, #0066cc);\n --bui-bg-solid-hover: var(--pf-t--global--icon--color--brand--hover, #004d99);\n --bui-bg-solid-pressed: var(\n --pf-t--global--icon--color--brand--clicked,\n #004d99\n );\n --bui-bg-solid-disabled: var(\n --pf-t--global--background--color--disabled--default,\n #c7c7c7\n );\n\n /* Neutral background colors */\n /* App / outer-shell surface — PF masthead background */\n --bui-bg-app: var(--pf-v6-c-masthead--BackgroundColor, #f2f2f2);\n\n --bui-bg-neutral-1: #fff;\n --bui-bg-neutral-1-hover: oklch(0% 0 0 / 6%);\n --bui-bg-neutral-1-pressed: oklch(0% 0 0 / 12%);\n --bui-bg-neutral-1-disabled: oklch(0% 0 0 / 6%);\n\n --bui-bg-neutral-2: oklch(0% 0 0 / 6%);\n --bui-bg-neutral-2-hover: oklch(0% 0 0 / 12%);\n --bui-bg-neutral-2-pressed: oklch(0% 0 0 / 16%);\n --bui-bg-neutral-2-disabled: oklch(0% 0 0 / 6%);\n\n --bui-bg-neutral-3: oklch(0% 0 0 / 6%);\n --bui-bg-neutral-3-hover: oklch(0% 0 0 / 12%);\n --bui-bg-neutral-3-pressed: oklch(0% 0 0 / 16%);\n --bui-bg-neutral-3-disabled: oklch(0% 0 0 / 6%);\n\n --bui-bg-neutral-4: oklch(0% 0 0 / 6%);\n --bui-bg-neutral-4-hover: oklch(0% 0 0 / 12%);\n --bui-bg-neutral-4-pressed: oklch(0% 0 0 / 16%);\n --bui-bg-neutral-4-disabled: oklch(0% 0 0 / 6%);\n\n /* Status background colors */\n --bui-bg-danger: #ffe2e2;\n --bui-bg-warning: #ffedd5;\n --bui-bg-success: #dcfce7;\n --bui-bg-info: #dbeafe;\n\n /* Foreground colors */\n --bui-fg-primary: var(--bui-black);\n --bui-fg-secondary: var(\n --pf-t--global--text--color--subtle,\n #4d4d4d\n ); /* PF gray-60 */\n --bui-fg-disabled: var(\n --pf-t--global--text--color--disabled,\n #a3a3a3\n ); /* PF gray-40 */\n --bui-fg-solid: var(--bui-white);\n --bui-fg-solid-disabled: var(\n --pf-t--global--text--color--on-disabled,\n #707070\n ); /* PF gray-50 */\n\n /* Foreground Statuses — used as icon/border accent on status backgrounds */\n --bui-fg-danger-on-bg: var(\n --pf-t--global--color--status--danger--default,\n #b1380b\n ); /* PF red-orange-60 */\n --bui-fg-warning-on-bg: var(\n --pf-t--global--color--status--warning--default,\n #dca614\n ); /* PF yellow-40 */\n --bui-fg-success-on-bg: var(\n --pf-t--global--color--status--success--default,\n #3d7317\n ); /* PF green-60 */\n --bui-fg-info-on-bg: var(\n --pf-t--global--color--status--info--default,\n #5e40be\n ); /* PF purple-50 */\n --bui-fg-danger: var(\n --pf-t--global--color--status--danger--default,\n #b1380b\n ); /* PF red-orange-60 */\n --bui-fg-warning: var(\n --pf-t--global--color--status--warning--default,\n #dca614\n ); /* PF yellow-40 */\n --bui-fg-success: var(\n --pf-t--global--color--status--success--default,\n #3d7317\n ); /* PF green-60 */\n --bui-fg-info: var(\n --pf-t--global--color--status--info--default,\n #5e40be\n ); /* PF purple-50 */\n\n /* Border colors */\n --bui-border-1: var(\n --pf-t--global--border--color--default,\n #c7c7c7\n ); /* PF gray-30 */\n --bui-border-2: var(\n --pf-t--global--border--color--control--default,\n #a3a3a3\n ); /* PF gray-40 */\n --bui-border-info: var(\n --pf-t--global--border--color--status--info--default,\n #5e40be\n ); /* PF purple-50 */\n --bui-border-danger: var(\n --pf-t--global--border--color--status--danger--default,\n #b1380b\n ); /* PF red-orange-60 */\n --bui-border-warning: var(\n --pf-t--global--border--color--status--warning--default,\n #dca614\n ); /* PF yellow-40 */\n --bui-border-success: var(\n --pf-t--global--border--color--status--success--default,\n #3d7317\n ); /* PF green-60 */\n\n /* Accent colors (used by Switch and other interactive components) */\n --bui-accent-bg: var(--bui-bg-solid);\n --bui-accent-bg-hover: var(--bui-bg-solid-hover);\n --bui-accent-bg-disabled: var(--bui-bg-solid-disabled);\n --bui-accent-fg: var(--bui-fg-solid);\n --bui-accent-fg-disabled: var(--bui-fg-solid-disabled);\n\n /*\n * Brand accent for tab/nav indicators — separate from the button brand.\n * Defaults to the brand color; felt variants override to red.\n */\n --bui-redhat-theme-brand-accent: var(--bui-bg-solid);\n\n /* Readonly form control colors — PF gray-10 bg, gray-30 border */\n --bui-redhat-theme-readonly-bg: #f2f2f2;\n --bui-redhat-theme-readonly-border: #c7c7c7;\n\n /* Primary background — PF background-color-primary-default */\n --bui-redhat-theme-bg-primary: #ffffff; /* PF white */\n\n /* Floating background — PF background-color-floating-default (menus, popovers) */\n --bui-redhat-theme-bg-floating: #ffffff; /* PF white */\n\n /* Page inset — default shell behind the rounded content well.\n * createComponents syncs this to branding pageInsetBackgroundColor /\n * appBar / sidebar when those are set in app-config. */\n --bui-redhat-theme-page-inset: 1.5rem;\n --bui-redhat-theme-page-inset-bg: #f2f2f2;\n\n /* Brand subtle — used by ToggleButton selected/hover states */\n --bui-redhat-theme-brand-subtle: #e0f0ff; /* PF blue-10 */\n --bui-redhat-theme-brand-subtle-hover: #b9dafc; /* PF blue-20 */\n --bui-redhat-theme-brand-subtle-border: #4394e5; /* PF blue-40 */\n\n /* Special colors */\n --bui-ring: var(--bui-bg-solid);\n --bui-scrollbar: #a0a0a03b;\n --bui-scrollbar-thumb: #a0a0a0;\n\n /* Shadows */\n --bui-shadow: rgba(41, 41, 41, 0.15) 0px 10px 20px 0px;\n\n --bui-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\nbody[data-theme-name='dark'][data-theme-mode='dark'],\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n /* Base Colors */\n --bui-black: #151515;\n --bui-white: #ffffff;\n\n /* Solid background colors — dark brand uses lighter blue for contrast on dark bg */\n --bui-bg-solid: var(\n --pf-t--global--icon--color--brand--default,\n #92c5f9\n ); /* PF dark brand = blue-30 */\n --bui-bg-solid-hover: var(\n --pf-t--global--icon--color--brand--hover,\n #b9dafc\n ); /* PF dark = blue-20 */\n --bui-bg-solid-pressed: var(\n --pf-t--global--icon--color--brand--clicked,\n #b9dafc\n );\n --bui-bg-solid-disabled: var(\n --pf-t--global--background--color--disabled--default,\n #a3a3a3\n ); /* PF dark gray-40 */\n\n /* Neutral background colors */\n /* App / outer-shell surface — PF masthead background (dark) */\n --bui-bg-app: var(--pf-v6-c-masthead--BackgroundColor, #151515);\n\n --bui-bg-neutral-1: oklch(100% 0 0 / 10%);\n --bui-bg-neutral-1-hover: oklch(100% 0 0 / 14%);\n --bui-bg-neutral-1-pressed: oklch(100% 0 0 / 20%);\n --bui-bg-neutral-1-disabled: oklch(100% 0 0 / 10%);\n\n --bui-bg-neutral-2: oklch(100% 0 0 / 6%);\n --bui-bg-neutral-2-hover: oklch(100% 0 0 / 10%);\n --bui-bg-neutral-2-pressed: oklch(100% 0 0 / 16%);\n --bui-bg-neutral-2-disabled: oklch(100% 0 0 / 6%);\n\n --bui-bg-neutral-3: oklch(100% 0 0 / 8%);\n --bui-bg-neutral-3-hover: oklch(100% 0 0 / 12%);\n --bui-bg-neutral-3-pressed: oklch(100% 0 0 / 20%);\n --bui-bg-neutral-3-disabled: oklch(100% 0 0 / 8%);\n\n --bui-bg-neutral-4: oklch(100% 0 0 / 8%);\n --bui-bg-neutral-4-hover: oklch(100% 0 0 / 12%);\n --bui-bg-neutral-4-pressed: oklch(100% 0 0 / 20%);\n --bui-bg-neutral-4-disabled: oklch(100% 0 0 / 8%);\n\n /* Status background colors — BUI uses tinted backgrounds for alerts */\n --bui-bg-danger: #ffe2e2;\n --bui-bg-warning: #ffedd5;\n --bui-bg-success: #dcfce7;\n --bui-bg-info: #dbeafe;\n\n /* Foreground colors */\n --bui-fg-primary: var(--bui-white);\n --bui-fg-secondary: var(\n --pf-t--global--text--color--subtle,\n #c7c7c7\n ); /* PF dark = gray-30 */\n --bui-fg-disabled: var(\n --pf-t--global--text--color--disabled,\n #707070\n ); /* PF dark = gray-50 */\n --bui-fg-solid: #151515;\n --bui-fg-solid-disabled: var(\n --pf-t--global--text--color--on-disabled,\n #383838\n ); /* PF dark = gray-70 */\n\n /* Foreground Statuses — dark mode uses lighter status colors for contrast */\n --bui-fg-danger-on-bg: var(\n --pf-t--global--color--status--danger--default,\n #f0561d\n ); /* PF dark = red-orange-50 */\n --bui-fg-warning-on-bg: var(\n --pf-t--global--color--status--warning--default,\n #ffcc17\n ); /* PF dark = yellow-30 */\n --bui-fg-success-on-bg: var(\n --pf-t--global--color--status--success--default,\n #87bb62\n ); /* PF dark = green-40 */\n --bui-fg-info-on-bg: var(\n --pf-t--global--color--status--info--default,\n #b6a6e9\n ); /* PF dark = purple-30 */\n --bui-fg-danger: var(\n --pf-t--global--color--status--danger--default,\n #f0561d\n ); /* PF dark = red-orange-50 */\n --bui-fg-warning: var(\n --pf-t--global--color--status--warning--default,\n #ffcc17\n ); /* PF dark = yellow-30 */\n --bui-fg-success: var(\n --pf-t--global--color--status--success--default,\n #87bb62\n ); /* PF dark = green-40 */\n --bui-fg-info: var(\n --pf-t--global--color--status--info--default,\n #b6a6e9\n ); /* PF dark = purple-30 */\n\n /* Border colors */\n --bui-border-1: var(\n --pf-t--global--border--color--default,\n #4d4d4d\n ); /* PF dark = gray-60 */\n --bui-border-2: var(\n --pf-t--global--border--color--control--default,\n #a3a3a3\n ); /* PF dark = gray-40 */\n --bui-border-info: var(\n --pf-t--global--border--color--status--info--default,\n #b6a6e9\n ); /* PF dark = purple-30 */\n --bui-border-danger: var(\n --pf-t--global--border--color--status--danger--default,\n #f0561d\n ); /* PF dark = red-orange-50 */\n --bui-border-warning: var(\n --pf-t--global--border--color--status--warning--default,\n #ffcc17\n ); /* PF dark = yellow-30 */\n --bui-border-success: var(\n --pf-t--global--border--color--status--success--default,\n #87bb62\n ); /* PF dark = green-40 */\n\n /* Accent colors (used by Switch and other interactive components) */\n --bui-accent-bg: var(--bui-bg-solid);\n --bui-accent-bg-hover: var(--bui-bg-solid-hover);\n --bui-accent-bg-disabled: var(--bui-bg-solid-disabled);\n --bui-accent-fg: var(--bui-fg-solid);\n --bui-accent-fg-disabled: var(--bui-fg-solid-disabled);\n\n --bui-redhat-theme-brand-accent: var(--bui-bg-solid);\n\n /* Readonly form control colors — PF dark: gray-80 bg, gray-60 border */\n --bui-redhat-theme-readonly-bg: #292929;\n --bui-redhat-theme-readonly-border: #4d4d4d;\n\n /* Primary background — PF dark: gray-80 */\n --bui-redhat-theme-bg-primary: #292929;\n\n /* Floating background — PF dark: gray-70 */\n --bui-redhat-theme-bg-floating: #383838;\n\n /* Page inset — default dark shell. Overridden at runtime from branding\n * chrome tokens (see createComponents MuiCssBaseline). */\n --bui-redhat-theme-page-inset: 1.5rem;\n --bui-redhat-theme-page-inset-bg: #151515;\n\n /* Brand subtle — PF dark: blue-70, blue-60, blue-30 */\n --bui-redhat-theme-brand-subtle: #003366; /* PF blue-70 */\n --bui-redhat-theme-brand-subtle-hover: #004d99; /* PF blue-60 */\n --bui-redhat-theme-brand-subtle-border: #92c5f9; /* PF blue-30 */\n\n /* Special colors */\n --bui-ring: var(--bui-bg-solid);\n --bui-scrollbar: #a0a0a03b;\n --bui-scrollbar-thumb: #a0a0a0;\n\n /* Shadows */\n --bui-shadow: rgba(0, 0, 0, 0.5) 0px 10px 20px 0px;\n\n --bui-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\n/*\n * Felt theme overrides for the customized variants.\n */\nbody[data-theme-name='light-customized'][data-theme-mode='light'] {\n /* Brand accent → red (buttons stay blue via --bui-bg-solid) */\n --bui-redhat-theme-brand-accent: #ee0000;\n}\n\nbody[data-theme-name='dark-customized'][data-theme-mode='dark'] {\n /* Brand accent → red */\n --bui-redhat-theme-brand-accent: #ee0000;\n}\n";
4
4
  styleInject(css_248z);
5
5
  //# sourceMappingURL=tokens.css.esm.js.map
@@ -8,7 +8,8 @@ const darkThemeOverrides = {
8
8
  main: "#92c5f9"
9
9
  },
10
10
  navigation: {
11
- background: "#292929",
11
+ // Match page-inset / app-bar / sidebar chrome (PatternFly shell).
12
+ background: "#151515",
12
13
  indicator: "transparent",
13
14
  color: "#ffffff",
14
15
  selectedColor: "#ffffff",
@@ -1 +1 @@
1
- {"version":3,"file":"darkTheme.esm.js","sources":["../src/darkTheme.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { palettes } from '@backstage/theme';\nimport { type PaletteOptions } from '@mui/material/styles';\n\nimport { type ThemeConfigPalette } from './types';\n\nexport const darkThemeOverrides: Partial<ThemeConfigPalette> = {\n primary: {\n main: '#92c5f9',\n },\n secondary: {\n main: '#92c5f9',\n },\n navigation: {\n background: '#292929',\n indicator: 'transparent',\n color: '#ffffff',\n selectedColor: '#ffffff',\n navItem: {\n hoverBackground: '#292929',\n },\n submenu: {\n background: '#292929',\n },\n },\n text: {\n primary: '#ffffff',\n secondary: '#c7c7c7',\n },\n background: {\n default: '#292929',\n paper: '#292929',\n },\n rhdh: {\n general: {\n pageInset: '1.5rem',\n pageInsetBackgroundColor: '#151515',\n\n disabled: '#AAABAC',\n disabledBackground: '#444548',\n\n paperBackgroundImage: 'none',\n paperBorderColor: '#A3A3A3',\n\n // Box shadow from PatternFly 5 (--pf-v5-global--BoxShadow--sm)\n popoverBoxShadow:\n '0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.48), 0 0 0.25rem 0 rgba(3, 3, 3, 0.24)',\n\n cardBackgroundColor: '#292929',\n cardBorderColor: '#A3A3A3',\n\n mainSectionBackgroundColor: '#292929',\n formControlBackgroundColor: '#36373A',\n\n sidebarBackgroundColor: '#151515',\n sidebarDividerColor: '#383838',\n sidebarItemSelectedBackgroundColor: '#292929',\n\n tableTitleColor: '#E0E0E0',\n tableSubtitleColor: '#E0E0E0',\n tableColumnTitleColor: '#E0E0E0',\n tableRowHover: '#292929',\n tableBorderColor: '#515151',\n tableBackgroundColor: '#292929',\n tabsLinkHoverBackgroundColor: 'rgba(199, 199, 199, 0.1500)',\n\n contrastText: '#FFF',\n\n appBarBackgroundScheme: 'dark',\n\n appBarBackgroundColor: '#151515',\n appBarForegroundColor: '#ffffff',\n appBarBackgroundImage: 'none',\n\n starredItemsColor: '#F3BA37',\n },\n primary: {\n main: '#92c5f9',\n focusVisibleBorder: '#ADD6FF',\n },\n secondary: {\n main: '#92c5f9',\n focusVisibleBorder: '#ADD6FF',\n },\n cards: {\n headerTextColor: '#FFF',\n headerBackgroundColor: '#292929',\n headerBackgroundImage: 'none',\n },\n },\n};\n\nexport const customDarkTheme = (): ThemeConfigPalette => {\n const palette: (typeof palettes)['dark'] & PaletteOptions = palettes.dark;\n return {\n ...palette,\n ...darkThemeOverrides,\n };\n};\n"],"names":[],"mappings":";;AAqBO,MAAM,kBAAA,GAAkD;AAAA,EAC7D,OAAA,EAAS;AAAA,IACP,IAAA,EAAM;AAAA,GACR;AAAA,EACA,SAAA,EAAW;AAAA,IACT,IAAA,EAAM;AAAA,GACR;AAAA,EACA,UAAA,EAAY;AAAA,IACV,UAAA,EAAY,SAAA;AAAA,IACZ,SAAA,EAAW,aAAA;AAAA,IACX,KAAA,EAAO,SAAA;AAAA,IACP,aAAA,EAAe,SAAA;AAAA,IACf,OAAA,EAAS;AAAA,MACP,eAAA,EAAiB;AAAA,KACnB;AAAA,IACA,OAAA,EAAS;AAAA,MACP,UAAA,EAAY;AAAA;AACd,GACF;AAAA,EACA,IAAA,EAAM;AAAA,I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AAoB;AAAA,KACtB;AAAA,IACA,KAAA,EAAO;AAAA,MACL,eAAA,EAAiB,MAAA;AAAA,MACjB,qBAAA,EAAuB,SAAA;AAAA,MACvB,qBAAA,EAAuB;AAAA;AACzB;AAEJ;AAEO,MAAM,kBAAkB,MAA0B;AACvD,EAAA,MAAM,UAAsD,QAAA,CAAS,IAAA;AACrE,EAAA,OAAO;AAAA,IACL,GAAG,OAAA;AAAA,IACH,GAAG;AAAA,GACL;AACF;;;;"}
1
+ {"version":3,"file":"darkTheme.esm.js","sources":["../src/darkTheme.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { palettes } from '@backstage/theme';\nimport { type PaletteOptions } from '@mui/material/styles';\n\nimport { type ThemeConfigPalette } from './types';\n\nexport const darkThemeOverrides: Partial<ThemeConfigPalette> = {\n primary: {\n main: '#92c5f9',\n },\n secondary: {\n main: '#92c5f9',\n },\n navigation: {\n // Match page-inset / app-bar / sidebar chrome (PatternFly shell).\n background: '#151515',\n indicator: 'transparent',\n color: '#ffffff',\n selectedColor: '#ffffff',\n navItem: {\n hoverBackground: '#292929',\n },\n submenu: {\n background: '#292929',\n },\n },\n text: {\n primary: '#ffffff',\n secondary: '#c7c7c7',\n },\n background: {\n default: '#292929',\n paper: '#292929',\n },\n rhdh: {\n general: {\n pageInset: '1.5rem',\n pageInsetBackgroundColor: '#151515',\n\n disabled: '#AAABAC',\n disabledBackground: '#444548',\n\n paperBackgroundImage: 'none',\n paperBorderColor: '#A3A3A3',\n\n // Box shadow from PatternFly 5 (--pf-v5-global--BoxShadow--sm)\n popoverBoxShadow:\n '0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.48), 0 0 0.25rem 0 rgba(3, 3, 3, 0.24)',\n\n cardBackgroundColor: '#292929',\n cardBorderColor: '#A3A3A3',\n\n mainSectionBackgroundColor: '#292929',\n formControlBackgroundColor: '#36373A',\n\n sidebarBackgroundColor: '#151515',\n sidebarDividerColor: '#383838',\n sidebarItemSelectedBackgroundColor: '#292929',\n\n tableTitleColor: '#E0E0E0',\n tableSubtitleColor: '#E0E0E0',\n tableColumnTitleColor: '#E0E0E0',\n tableRowHover: '#292929',\n tableBorderColor: '#515151',\n tableBackgroundColor: '#292929',\n tabsLinkHoverBackgroundColor: 'rgba(199, 199, 199, 0.1500)',\n\n contrastText: '#FFF',\n\n appBarBackgroundScheme: 'dark',\n\n appBarBackgroundColor: '#151515',\n appBarForegroundColor: '#ffffff',\n appBarBackgroundImage: 'none',\n\n starredItemsColor: '#F3BA37',\n },\n primary: {\n main: '#92c5f9',\n focusVisibleBorder: '#ADD6FF',\n },\n secondary: {\n main: '#92c5f9',\n focusVisibleBorder: '#ADD6FF',\n },\n cards: {\n headerTextColor: '#FFF',\n headerBackgroundColor: '#292929',\n headerBackgroundImage: 'none',\n },\n },\n};\n\nexport const customDarkTheme = (): ThemeConfigPalette => {\n const palette: (typeof palettes)['dark'] & PaletteOptions = palettes.dark;\n return {\n ...palette,\n ...darkThemeOverrides,\n };\n};\n"],"names":[],"mappings":";;AAqBO,MAAM,kBAAA,GAAkD;AAAA,EAC7D,OAAA,EAAS;AAAA,IACP,IAAA,EAAM;AAAA,GACR;AAAA,EACA,SAAA,EAAW;AAAA,IACT,IAAA,EAAM;AAAA,GACR;AAAA,EACA,UAAA,EAAY;AAAA;AAAA,IAEV,UAAA,EAAY,SAAA;AAAA,IACZ,SAAA,EAAW,aAAA;AAAA,IACX,KAAA,EAAO,SAAA;AAAA,IACP,aAAA,EAAe,SAAA;AAAA,IACf,OAAA,EAAS;AAAA,MACP,eAAA,E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;AAAA,MACN,kBAAA,EAAoB;AAAA,KACtB;AAAA,IACA,SAAA,EAAW;AAAA,MACT,IAAA,EAAM,SAAA;AAAA,MACN,kBAAA,EAAoB;AAAA,KACtB;AAAA,IACA,KAAA,EAAO;AAAA,MACL,eAAA,EAAiB,MAAA;AAAA,MACjB,qBAAA,EAAuB,SAAA;AAAA,MACvB,qBAAA,EAAuB;AAAA;AACzB;AAEJ;AAEO,MAAM,kBAAkB,MAA0B;AACvD,EAAA,MAAM,UAAsD,QAAA,CAAS,IAAA;AACrE,EAAA,OAAO;AAAA,IACL,GAAG,OAAA;AAAA,IACH,GAAG;AAAA,GACL;AACF;;;;"}
@@ -9,6 +9,9 @@ const createComponents = (themeConfig) => {
9
9
  const general = palette.rhdh?.general || {};
10
10
  const rhdhPrimary = palette.rhdh?.primary || {};
11
11
  const rhdhSecondary = palette.rhdh?.secondary || {};
12
+ const chromeBackgroundColor = general.pageInsetBackgroundColor ?? general.appBarBackgroundColor ?? general.sidebarBackgroundColor;
13
+ const appBarBackgroundColor = general.appBarBackgroundColor ?? chromeBackgroundColor;
14
+ const pageInset = general.pageInset || "1.5rem";
12
15
  const components = {};
13
16
  if (options.components === "backstage" || options.components === "mui") {
14
17
  return components;
@@ -18,9 +21,32 @@ const createComponents = (themeConfig) => {
18
21
  const backstageOverrides = defaultComponentThemes.MuiCssBaseline.styleOverrides;
19
22
  const backstageStyles = typeof backstageOverrides === "function" ? backstageOverrides(theme) : backstageOverrides;
20
23
  const dialogMastheadOffset = "var(--rhdh-global-header-height, 64px)";
24
+ const shellBackground = chromeBackgroundColor ?? theme.palette.background.default;
21
25
  return {
22
26
  ...backstageStyles,
23
27
  "@font-face": redHatFontFaces,
28
+ // Full-width PF/OFS masthead: publish height for fixed sidebar + overlays.
29
+ ":root:has(#global-header)": {
30
+ "--rhdh-global-header-height": "64px"
31
+ },
32
+ // Offset the fixed sidebar root below the masthead; drawer fills root.
33
+ // (Do not offset the absolute drawer by header height — that stacks
34
+ // with the root offset and leaves a gap under the header.)
35
+ ':root:has(#global-header) [data-testid="sidebar-root"]': {
36
+ top: "var(--rhdh-global-header-height, 64px) !important",
37
+ height: "calc(100vh - var(--rhdh-global-header-height, 64px)) !important",
38
+ bottom: "auto !important"
39
+ },
40
+ ':root:has(#global-header) [data-testid="sidebar-root"] > *': {
41
+ top: "0 !important",
42
+ height: "100% !important",
43
+ bottom: "0 !important"
44
+ },
45
+ // Branding lives in the masthead; hide the sidebar mark to avoid a
46
+ // duplicate company logo (PatternFly header + nav pattern).
47
+ ':root:has(#global-header) [data-testid="sidebar-company-logo"], :root:has(#global-header) [data-testid="sidebar-home-logo"]': {
48
+ display: "none"
49
+ },
24
50
  ':root:has(#global-header) [class*="bui-DialogOverlay"]': {
25
51
  top: `${dialogMastheadOffset} !important`,
26
52
  height: `calc(100% - ${dialogMastheadOffset}) !important`,
@@ -30,7 +56,29 @@ const createComponents = (themeConfig) => {
30
56
  height: `calc(100vh - ${dialogMastheadOffset} - 3rem) !important`,
31
57
  maxHeight: `calc(100vh - ${dialogMastheadOffset} - 3rem) !important`
32
58
  },
59
+ // Masthead shares the shell chrome color (config or RHDH defaults).
60
+ "#global-header": {
61
+ backgroundColor: `${appBarBackgroundColor ?? shellBackground} !important`,
62
+ backgroundImage: `${general.appBarBackgroundImage ?? "none"} !important`
63
+ },
64
+ // Sidebar menu scroller: keep item alignment stable when the classic
65
+ // scrollbar appears (app-defaults uses data-testid="sidebar-menu-scroll";
66
+ // also cover Backstage's hover-to-scroll wrapper as a fallback).
67
+ '[data-testid="sidebar-menu-scroll"]': {
68
+ overflowY: "auto",
69
+ scrollbarGutter: "stable"
70
+ },
71
+ // Shell chrome (page-inset gutter). BUI tokens.css hardcodes
72
+ // --bui-redhat-theme-page-inset-bg (#f2f2f2 / #151515) and
73
+ // component-overrides.css paints body with that var using a high-
74
+ // specificity attribute selector — which otherwise ignores branding
75
+ // pageInsetBackgroundColor / appBar / sidebar overrides from
76
+ // app-config. Sync the vars and use !important so customized dark
77
+ // chrome (e.g. #212830) matches sidebar + global-header.
33
78
  html: {
79
+ backgroundColor: `${shellBackground} !important`,
80
+ "--bui-redhat-theme-page-inset-bg": shellBackground,
81
+ "--bui-bg-app": shellBackground,
34
82
  "@media (min-width: 600px)": {
35
83
  height: "100%",
36
84
  overflow: "hidden",
@@ -40,6 +88,9 @@ const createComponents = (themeConfig) => {
40
88
  body: {
41
89
  ...backstageStyles.body,
42
90
  fontFamily: redHatFonts.text,
91
+ backgroundColor: `${shellBackground} !important`,
92
+ "--bui-redhat-theme-page-inset-bg": shellBackground,
93
+ "--bui-bg-app": shellBackground,
43
94
  "@media (min-width: 600px)": {
44
95
  height: "100%",
45
96
  overflow: "hidden",
@@ -47,16 +98,16 @@ const createComponents = (themeConfig) => {
47
98
  }
48
99
  },
49
100
  "#root": {
101
+ backgroundColor: `${shellBackground} !important`,
50
102
  "@media (min-width: 600px)": {
51
103
  height: "100%",
52
- overflow: "hidden",
104
+ overflow: "hidden"
53
105
  // Shows through SidebarPage's page-inset margin (clip-path well).
54
- backgroundColor: general.pageInsetBackgroundColor ?? general.appBarBackgroundColor ?? theme.palette.background.default
55
106
  }
56
107
  },
57
108
  "#rhdh-sidebar-layout": {
58
109
  "@media (min-width: 600px)": {
59
- backgroundColor: general.pageInsetBackgroundColor ?? general.appBarBackgroundColor ?? theme.palette.background.default
110
+ backgroundColor: `${shellBackground} !important`
60
111
  }
61
112
  },
62
113
  "h1, h2, h3, h4, h5, h6": {
@@ -149,7 +200,7 @@ const createComponents = (themeConfig) => {
149
200
  root: {
150
201
  boxShadow: "none",
151
202
  ...options.appBar !== "mui" && {
152
- backgroundColor: general.appBarBackgroundColor,
203
+ backgroundColor: appBarBackgroundColor,
153
204
  backgroundImage: general.appBarBackgroundImage,
154
205
  outline: "none"
155
206
  }
@@ -583,6 +634,12 @@ const createComponents = (themeConfig) => {
583
634
  paddingBottom: "1.5rem",
584
635
  backgroundColor: sidebarBackgroundColor,
585
636
  alignItems: "stretch",
637
+ // Drawer is position:absolute inside the fixed sidebar-root.
638
+ // Masthead clearance is applied on the root (CssBaseline); keep the
639
+ // drawer filling the root so offsets do not stack.
640
+ top: "0 !important",
641
+ height: "100% !important",
642
+ bottom: "0 !important",
586
643
  "& hr": {
587
644
  backgroundColor: general.sidebarDividerColor
588
645
  },
@@ -740,43 +797,67 @@ const createComponents = (themeConfig) => {
740
797
  boxSizing: "border-box",
741
798
  // Override Backstage `width: 100%` so margin-right is not pushed
742
799
  // off-screen by the parent overflow:hidden.
743
- width: `calc(100% - ${general.pageInset}) !important`,
744
- marginTop: general.pageInset,
745
- marginRight: general.pageInset,
746
- marginBottom: general.pageInset,
800
+ width: `calc(100% - ${pageInset}) !important`,
801
+ // Default: top + bottom page inset (no masthead).
802
+ marginTop: pageInset,
803
+ marginRight: pageInset,
804
+ marginBottom: pageInset,
747
805
  marginLeft: 0,
748
- height: `calc(100vh - 2 * ${general.pageInset})`,
749
- maxHeight: `calc(100vh - 2 * ${general.pageInset})`,
806
+ height: `calc(100vh - 2 * ${pageInset})`,
807
+ maxHeight: `calc(100vh - 2 * ${pageInset})`,
750
808
  minHeight: "0 !important",
751
809
  overflowX: "hidden",
752
810
  overflowY: "auto",
753
811
  // `contain` still allows rubber-band overscroll, which reveals an
754
812
  // empty rounded well above the content. `none` disables that.
755
813
  overscrollBehavior: "none",
756
- borderRadius: "1rem",
814
+ // Round only the free (right) edge of the border-box. Left corners
815
+ // stay square so clip-path does not bite the drawer spacer under
816
+ // the fixed sidebar. Left curves of the *content* well are painted
817
+ // by the sticky ::before masks below (after paddingLeft).
818
+ borderRadius: "0 1rem 1rem 0",
757
819
  // Clips the scrollbar into the rounded well (border-radius cannot).
758
- clipPath: "inset(0 round 1rem)",
759
- // Left corners: clip-path rounds the border-box (under the drawer
760
- // spacer), so the visible edge after paddingLeft stays square.
761
- // Sticky masks paint the curve at the content edge. Keep
762
- // overscroll-behavior: none so rubber-band does not show a second well.
763
- // z-index must sit above Backstage Header (z-index: 100) or MUI
764
- // Page headers cover the top-left mask tile.
820
+ clipPath: "inset(0 round 0 1rem 1rem 0)",
821
+ // Masthead (or any #global-header) sits above this well in-flow.
822
+ // Drop the top inset and subtract only the header + bottom inset
823
+ // from 100vh so the bottom margin remains visible.
824
+ ":root:has(#global-header) &": {
825
+ marginTop: "0 !important",
826
+ height: `calc(100vh - var(--rhdh-global-header-height, 64px) - ${pageInset}) !important`,
827
+ maxHeight: `calc(100vh - var(--rhdh-global-header-height, 64px) - ${pageInset}) !important`,
828
+ borderTopLeftRadius: 0,
829
+ borderTopRightRadius: 0,
830
+ borderBottomLeftRadius: 0,
831
+ borderBottomRightRadius: "1rem",
832
+ // Only bottom-right on the border-box; left content curve is ::before.
833
+ clipPath: "inset(0 round 0 0 1rem 0)",
834
+ "&::before": {
835
+ height: `calc(100vh - var(--rhdh-global-header-height, 64px) - ${pageInset})`,
836
+ marginBottom: `calc(0px - (100vh - var(--rhdh-global-header-height, 64px) - ${pageInset}))`
837
+ }
838
+ },
839
+ // Sticky masks sit in the content box (after paddingLeft), so their
840
+ // left tiles round the main well against the sidebar without
841
+ // clipping the drawer spacer. Right tiles match the free edge.
842
+ // Keep overscroll-behavior: none so rubber-band does not show a
843
+ // second well. z-index must sit above Backstage Header (100).
765
844
  "&::before": {
766
845
  content: '""',
767
846
  position: "sticky",
768
847
  top: 0,
769
848
  display: "block",
770
849
  width: "100%",
771
- height: `calc(100vh - 2 * ${general.pageInset})`,
772
- marginBottom: `calc(0px - (100vh - 2 * ${general.pageInset}))`,
850
+ height: `calc(100vh - 2 * ${pageInset})`,
851
+ marginBottom: `calc(0px - (100vh - 2 * ${pageInset}))`,
773
852
  pointerEvents: "none",
774
853
  zIndex: 101,
854
+ // Prefer branding chrome hex; fall back to the CSS var synced
855
+ // on html/body above so customized dark themes stay consistent.
775
856
  backgroundImage: [
776
- `radial-gradient(circle at 100% 100%, transparent 1rem, ${general.pageInsetBackgroundColor ?? general.appBarBackgroundColor} 1.01rem)`,
777
- `radial-gradient(circle at 0% 100%, transparent 1rem, ${general.pageInsetBackgroundColor ?? general.appBarBackgroundColor} 1.01rem)`,
778
- `radial-gradient(circle at 100% 0%, transparent 1rem, ${general.pageInsetBackgroundColor ?? general.appBarBackgroundColor} 1.01rem)`,
779
- `radial-gradient(circle at 0% 0%, transparent 1rem, ${general.pageInsetBackgroundColor ?? general.appBarBackgroundColor} 1.01rem)`
857
+ `radial-gradient(circle at 100% 100%, transparent 1rem, ${chromeBackgroundColor ?? "var(--bui-redhat-theme-page-inset-bg)"} 1.01rem)`,
858
+ `radial-gradient(circle at 0% 100%, transparent 1rem, ${chromeBackgroundColor ?? "var(--bui-redhat-theme-page-inset-bg)"} 1.01rem)`,
859
+ `radial-gradient(circle at 100% 0%, transparent 1rem, ${chromeBackgroundColor ?? "var(--bui-redhat-theme-page-inset-bg)"} 1.01rem)`,
860
+ `radial-gradient(circle at 0% 0%, transparent 1rem, ${chromeBackgroundColor ?? "var(--bui-redhat-theme-page-inset-bg)"} 1.01rem)`
780
861
  ].join(", "),
781
862
  backgroundPosition: "top left, top right, bottom left, bottom right",
782
863
  backgroundRepeat: "no-repeat",
@@ -1 +1 @@
1
- {"version":3,"file":"createComponents.esm.js","sources":["../../src/utils/createComponents.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n type UnifiedThemeOptions,\n defaultComponentThemes as backstageComponents,\n} from '@backstage/theme';\nimport { type CSSObject } from '@mui/material/styles';\n\nimport { ThemeConfig, ThemeConfigOptions, RHDHThemePalette } from '../types';\nimport { redHatFontFaces, redHatFonts } from '../fonts';\nimport { resolveNavigationSidebarColors } from './navigationSidebarColors';\n\nexport type Component = {\n defaultProps?: unknown;\n styleOverrides?: unknown;\n variants?: unknown;\n};\n\nexport type Components = UnifiedThemeOptions['components'] & {\n BackstageHeaderTabs?: Component;\n BackstageSidebar?: Component;\n BackstageSidebarItem?: Component;\n BackstageSidebarSubmenuItem?: Component;\n BackstagePage?: Component;\n BackstageContent?: Component;\n BackstageContentHeader?: Component;\n BackstageHeader?: Component;\n BackstageItemCardHeader?: Component;\n BackstageTableToolbar?: Component;\n CatalogReactUserListPicker?: Component;\n PrivateTabIndicator?: Component;\n RHDHPageWithoutFixHeight?: Component;\n};\n\nexport const createComponents = (themeConfig: ThemeConfig): Components => {\n // Short hands to ensure that the code doesn't break if one of the properties is not defined.\n\n const options = themeConfig.options ?? ({} as ThemeConfigOptions);\n const disableRipple = options?.rippleEffect !== 'on'; // by default ripple effect is disabled\n\n const palette = themeConfig.palette ?? {};\n\n const general = palette.rhdh?.general || ({} as RHDHThemePalette['general']);\n const rhdhPrimary =\n palette.rhdh?.primary || ({} as RHDHThemePalette['primary']);\n const rhdhSecondary =\n palette.rhdh?.secondary || ({} as RHDHThemePalette['secondary']);\n\n const components: Components = {};\n if (options.components === 'backstage' || options.components === 'mui') {\n return components;\n }\n\n //\n // MUI components\n //\n components.MuiCssBaseline = {\n styleOverrides: theme => {\n const backstageOverrides =\n backstageComponents!.MuiCssBaseline!.styleOverrides!;\n const backstageStyles =\n typeof backstageOverrides === 'function'\n ? (backstageOverrides(theme) as CSSObject)\n : (backstageOverrides as CSSObject);\n\n // Sticky AppBar is z-index 1100. BUI Dialog overlay is 1000 and\n // InspectEntityDialog uses height 100vh, so the masthead covers the\n // title and close control (RHDHBUGS-3603). 64px fallback matches the\n // MUI Toolbar default when --rhdh-global-header-height is unset.\n const dialogMastheadOffset = 'var(--rhdh-global-header-height, 64px)';\n\n return {\n ...backstageStyles,\n '@font-face': redHatFontFaces,\n ':root:has(#global-header) [class*=\"bui-DialogOverlay\"]': {\n top: `${dialogMastheadOffset} !important`,\n height: `calc(100% - ${dialogMastheadOffset}) !important`,\n zIndex: 1300,\n },\n ':root:has(#global-header) [class*=\"bui-DialogOverlay\"] > [class*=\"bui-Dialog\"]':\n {\n height: `calc(100vh - ${dialogMastheadOffset} - 3rem) !important`,\n maxHeight: `calc(100vh - ${dialogMastheadOffset} - 3rem) !important`,\n },\n html: {\n '@media (min-width: 600px)': {\n height: '100%',\n overflow: 'hidden',\n overscrollBehavior: 'none',\n },\n },\n body: {\n ...(backstageStyles.body as CSSObject),\n fontFamily: redHatFonts.text,\n '@media (min-width: 600px)': {\n height: '100%',\n overflow: 'hidden',\n overscrollBehavior: 'none',\n },\n },\n '#root': {\n '@media (min-width: 600px)': {\n height: '100%',\n overflow: 'hidden',\n // Shows through SidebarPage's page-inset margin (clip-path well).\n backgroundColor:\n general.pageInsetBackgroundColor ??\n general.appBarBackgroundColor ??\n theme.palette.background.default,\n },\n },\n '#rhdh-sidebar-layout': {\n '@media (min-width: 600px)': {\n backgroundColor:\n general.pageInsetBackgroundColor ??\n general.appBarBackgroundColor ??\n theme.palette.background.default,\n },\n },\n 'h1, h2, h3, h4, h5, h6': {\n fontFamily: redHatFonts.heading,\n },\n 'pre, code': {\n fontFamily: redHatFonts.monospace,\n },\n \"[class*='BackstagePage-root-'] > [class*='MuiToolbar-root']\": {\n backgroundColor: theme.palette.background.paper,\n },\n };\n },\n };\n\n // MUI base\n if (options.buttons !== 'mui') {\n components.MuiTypography = {\n styleOverrides: {\n root: {\n fontFamily: redHatFonts.text,\n fontWeight: 'normal',\n letterSpacing: '0.01em',\n // This is required to override the default MUI styles\n // that set the `font-weight` to `500` for the `h1` element.\n '&.MuiTypography-h1': {\n fontWeight: 'normal',\n },\n },\n button: {\n textTransform: 'none',\n },\n },\n };\n }\n\n // MUI container\n if (options.paper !== 'mui') {\n const elevationStyle = {\n boxShadow: 'none',\n outline: `1px solid ${general.paperBorderColor}`,\n '& > hr[class|=\"MuiDivider-root\"]': {\n backgroundColor: general.paperBorderColor,\n },\n };\n const noElevationStyle = {\n boxShadow: 'none',\n outline: 'none',\n };\n\n components.MuiPaper = {\n styleOverrides: {\n root: {\n // This works for all MUI v5 components, but in MUI v4\n boxShadow: 'none',\n outline: `1px solid ${general.paperBorderColor}`,\n // Required only for MUI v5 components because a gradient `backgroundImage`\n // overrides the default background.paper color otherwise.\n backgroundImage: general.paperBackgroundImage,\n // hide the first child element which is a divider with MuiDivider-root classname in MuiPaper\n '& > hr:first-child[class|=\"MuiDivider-root\"]': {\n height: 0,\n },\n },\n rounded: {\n '& > :last-child': {\n borderBottomLeftRadius: 16,\n borderBottomRightRadius: 16,\n },\n },\n elevation0: noElevationStyle,\n },\n };\n components.MuiPopover = {\n styleOverrides: {\n paper: {\n // Box shadow from PatternFly 5 (--pf-v5-global--BoxShadow--sm)\n boxShadow: general.popoverBoxShadow,\n // `Popover` has no outline by default, but since we're adding it to the `Paper`\n // components, this ensures that the `Popover` doesn't has a shadow and an outline.\n outline: 0,\n },\n },\n };\n\n // Required for MUI v4, not MUI v5\n const elevations = Array.from(\n { length: 24 },\n (_, i) => `elevation${i + 1}`,\n ) as 'elevation1'[];\n elevations.forEach(elevation => {\n components.MuiPaper!.styleOverrides![elevation] = elevationStyle;\n });\n }\n\n // MUI AppBar\n components.MuiAppBar = {\n styleOverrides: {\n root: {\n boxShadow: 'none',\n ...(options.appBar !== 'mui' && {\n backgroundColor: general.appBarBackgroundColor,\n backgroundImage: general.appBarBackgroundImage,\n outline: 'none',\n }),\n },\n },\n };\n\n // MUI buttons\n // Don't disableRipple for MuiButtonBase as it will affect all the buttons\n // and we need to ensure that the buttons have a right touch and focus styling.\n if (options.buttons !== 'mui') {\n components.MuiButton = {\n defaultProps: {\n disableRipple,\n },\n styleOverrides: {\n root: {\n textTransform: 'none',\n borderRadius: '3px',\n fontWeight: 'normal',\n },\n contained: {\n border: '0',\n borderRadius: '99em',\n boxShadow: 'none',\n '&:hover, &:focus-visible': {\n border: '0',\n boxShadow: 'none',\n },\n '&:-webkit-any-link:focus-visible': {\n outlineOffset: '0',\n },\n },\n containedPrimary: {\n borderRadius: '99em',\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 1px ${rhdhPrimary.focusVisibleBorder}`,\n outline: `${rhdhPrimary.focusVisibleBorder} solid 1px`,\n },\n '&:disabled': {\n color: general.disabled,\n backgroundColor: general.disabledBackground,\n },\n },\n containedSecondary: {\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 1px ${rhdhSecondary.focusVisibleBorder}`,\n outline: `${rhdhSecondary.focusVisibleBorder} solid 1px`,\n },\n '&:disabled': {\n color: general.disabled,\n backgroundColor: general.disabledBackground,\n },\n },\n outlined: {\n borderRadius: '99em',\n border: `1px solid color-mix(in srgb, currentColor 50%, transparent)`,\n '&:hover, &:focus-visible': {\n backgroundColor: 'transparent',\n border: `1px solid`,\n },\n '&:disabled': {\n color: general.disabled,\n backgroudColor: general.disabledBackground,\n border: `1px solid ${general.disabledBackground}`,\n },\n },\n outlinedPrimary: {\n '&:hover, &:focus-visible': {\n backgroundColor: 'transparent',\n },\n },\n outlinedSecondary: {\n '&:hover, &:focus-visible': {\n backgroundColor: 'transparent',\n },\n },\n text: {\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${rhdhPrimary.main}`,\n outline: `${rhdhPrimary.focusVisibleBorder} solid 1px`,\n },\n },\n },\n };\n components.MuiToggleButton = {\n styleOverrides: {\n root: {\n textTransform: 'none',\n },\n },\n };\n components.MuiToggleButtonGroup = {\n styleOverrides: {\n root: {\n flexWrap: 'wrap',\n rowGap: '8px',\n maxWidth: '100%',\n },\n },\n };\n components.MuiIconButton = {\n styleOverrides: {\n root: {\n '&:disabled': {\n color: general.disabled,\n },\n },\n },\n };\n components.MuiLink = {\n styleOverrides: {\n underlineHover: {\n '&:hover, &:focus-visible': {\n textDecoration: 'none',\n },\n },\n },\n };\n }\n\n // MUI input fields\n if (options.inputs !== 'mui') {\n components.MuiInputBase = {\n styleOverrides: {\n input: {\n '&::placeholder': {\n color: general.disabled,\n opacity: 1,\n },\n },\n },\n };\n components.MuiOutlinedInput = {\n styleOverrides: {\n input: {\n '&:autofill': {\n boxShadow: `0 0 0 100px ${general.formControlBackgroundColor} inset`,\n borderRadius: 'unset',\n },\n },\n },\n };\n }\n\n if (options.checkbox !== 'mui') {\n components.MuiCheckbox = {\n defaultProps: {\n color: 'primary',\n },\n };\n }\n\n // MUI accordion\n if (options.accordions !== 'mui') {\n components.MuiAccordion = {\n styleOverrides: {\n root: {\n boxShadow: 'none',\n },\n rounded: {\n '&:first-child': {\n borderTopLeftRadius: '0',\n borderTopRightRadius: '0',\n },\n '&:last-child': {\n borderBottomLeftRadius: '0',\n borderBottomRightRadius: '0',\n },\n },\n },\n };\n }\n\n // MUI cards\n if (options.cards !== 'mui') {\n components.MuiCard = {\n styleOverrides: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n backgroundColor: general.cardBackgroundColor,\n borderRadius: '16px',\n },\n },\n };\n components.MuiCardHeader = {\n styleOverrides: {\n content: {\n '& > span > nav span': {\n textTransform: 'unset',\n letterSpacing: 'normal',\n fountweight: 'normal',\n },\n },\n title: {\n fontSize: '1.125rem',\n },\n action: {\n '& > a > span > svg': {\n fontSize: '1.125rem',\n },\n '& > a[class*=\"MuiIconButton-root\"]:hover': {\n backgroundColor: 'transparent',\n },\n },\n },\n };\n components.MuiCardContent = {\n styleOverrides: {\n root: {\n flexGrow: '1',\n backgroundColor: general.cardBackgroundColor,\n '& > div > div > h2[class*=\"MuiTypography-h2-\"]': {\n textTransform: 'unset',\n opacity: '40%',\n },\n '& > div > div > div[class*=\"MuiChip-sizeSmall\"]': {\n backgroundColor: 'transparent',\n borderRadius: '8px',\n outline: `1px solid ${general.disabled}`,\n },\n '& > div[class*=\"Mui-expanded\"]': {\n margin: 'auto',\n },\n '& > div[class*=\"MuiAccordion-root\"]:before': {\n height: 0,\n },\n // Override the default line-clamp from 10 to 2 for the Software template catalog\n '& > div[class*=\"MuiGrid-root-\"][class*=\"MuiGrid-container-\"][class*=\"MuiGrid-spacing-xs-2-\"] > div[class*=\"MuiGrid-root-\"][class*=\"MuiGrid-item-\"][class*=\"MuiGrid-grid-xs-12-\"] > div[class*=\"MuiBox-root-\"]':\n {\n '-webkit-line-clamp': '2',\n },\n },\n },\n };\n }\n\n // MUI table\n if (options.tables !== 'mui') {\n components.MuiTable = {\n styleOverrides: {\n root: {\n backgroundColor: general.tableBackgroundColor,\n },\n },\n };\n components.MuiTableRow = {\n styleOverrides: {\n root: {\n backgroundColor: general.tableBackgroundColor,\n '&:not([class*=\"MuiTableRow-footer\"]):hover': {\n backgroundColor: `${general.tableRowHover} !important`,\n },\n '& > th[class*=\"MuiTableCell-head\"]': {\n backgroundColor: general.tableBackgroundColor,\n },\n },\n },\n };\n components.MuiTableCell = {\n styleOverrides: {\n root: {\n textTransform: 'none',\n '&[class*=\"BackstageTableHeader-header\"]': {\n borderTop: 'unset',\n borderBottom: `1px solid ${general.tableBorderColor}`,\n },\n },\n head: {\n textTransform: 'unset !important',\n color: `${general.tableColumnTitleColor} !important`,\n '& > span[class*=\"MuiTableSortLabel-active\"]': {\n color: `${rhdhPrimary.main} !important`,\n },\n '& > span > svg[class*=\"MuiTableSortLabel-icon\"]': {\n color: 'inherit !important',\n },\n },\n body: {\n color: general.tableTitleColor,\n '& > div[class*=\"MuiChip-sizeSmall\"]': {\n margin: '2px',\n },\n },\n },\n };\n components.MuiTableFooter = {\n styleOverrides: {\n root: {\n '& > tr > td': {\n borderBottom: 'none',\n },\n },\n },\n };\n }\n\n // MUI toolbar\n if (options.toolbars !== 'mui') {\n components.MuiToolbar = {\n styleOverrides: {\n regular: {\n '& > div > h2[class*=\"MuiTypography-h5\"]': {\n fontSize: '1.25rem',\n color: general.tableTitleColor,\n },\n },\n },\n };\n }\n\n // MUI dialogs\n if (options.dialogs !== 'mui') {\n components.MuiDialogContent = {\n styleOverrides: {\n root: {\n '& > div': {\n backgroundColor: general.cardBackgroundColor,\n },\n },\n },\n };\n }\n\n // MUI tabs\n if (options.tabs !== 'mui') {\n components.MuiTabs = {\n defaultProps: {\n indicatorColor: 'primary',\n },\n styleOverrides: {\n root: {\n borderBottom: `1px solid ${general.paperBorderColor}`,\n padding: '0 1.5rem',\n },\n vertical: {\n '& > div > div > button[class*=\"v5\"]': {\n alignItems: 'baseline',\n textAlign: 'left',\n },\n '& > div > div > button > span': {\n alignItems: 'baseline',\n textAlign: 'left',\n },\n borderBottom: `none`,\n borderLeft: `1px solid ${general.paperBorderColor}`,\n padding: 0,\n \"& span[class*='MuiTabs-indicator']\": {\n width: '3px',\n },\n },\n indicator: {\n left: 0,\n height: '3px',\n },\n },\n };\n components.MuiTab = {\n defaultProps: {\n disableRipple,\n },\n styleOverrides: {\n root: {\n fontWeight: '400',\n minWidth: 'initial !important',\n padding: '0.25em 1em',\n position: 'relative',\n textTransform: 'none',\n zIndex: 1,\n '&:before': {\n content: '\"\"',\n display: 'block',\n position: 'absolute',\n top: '0.75em',\n left: '0.5em',\n right: '0.5em',\n bottom: '0.75em',\n borderRadius: '4px',\n zIndex: -1,\n },\n '&.Mui-selected': {\n color: `${palette.text?.primary} !important`,\n },\n '&[class*=\"v5\"]': {\n lineHeight: 1.75,\n },\n '&:hover, &:focus-visible': {\n backgroundColor: 'transparent !important',\n '&:before': {\n backgroundColor: general.tabsLinkHoverBackgroundColor,\n },\n },\n '&:disabled': {\n color: general.disabled,\n '&:before': {\n backgroundColor: general.disabledBackground,\n },\n },\n },\n },\n };\n\n // MUI Breadcrumbs\n if (options.breadcrumbs !== 'mui') {\n components.MuiBreadcrumbs = {\n defaultProps: {\n separator: '>',\n },\n styleOverrides: {\n separator: {\n fontWeight: 'bold',\n },\n root: {\n fontWeight: '400',\n },\n li: {\n fontSize: '0.875rem !important',\n fontStyle: 'normal !important',\n },\n },\n };\n }\n }\n\n //\n // Backstage\n //\n if (options.tabs !== 'mui') {\n components.BackstageHeaderTabs = {\n styleOverrides: {\n tabsWrapper: {\n paddingLeft: '0',\n backgroundColor: general.mainSectionBackgroundColor,\n },\n defaultTab: {\n textTransform: 'none',\n fontSize: '0.875rem',\n fontWeight: '400',\n color: 'unset',\n padding: '0.25em 1em',\n },\n },\n };\n }\n\n if (options.sidebars !== 'mui') {\n const {\n sidebarBackgroundColor,\n sidebarItemInteractionBackgroundColor,\n navigationItemColor,\n navigationSelectedColor,\n } = resolveNavigationSidebarColors(themeConfig);\n\n components.BackstageSidebar = {\n styleOverrides: {\n drawer: {\n gap: '0.25rem',\n paddingBottom: '1.5rem',\n backgroundColor: sidebarBackgroundColor,\n alignItems: 'stretch',\n '& hr': {\n backgroundColor: general.sidebarDividerColor,\n },\n '#rhdh-sidebar-layout & a[aria-current=\"page\"], & a[aria-current=\"page\"]':\n {\n background: `${sidebarItemInteractionBackgroundColor} !important`,\n backgroundColor: `${sidebarItemInteractionBackgroundColor} !important`,\n color: `${navigationSelectedColor} !important`,\n '& .MuiTypography-root': {\n color: 'inherit !important',\n },\n },\n },\n },\n };\n components.BackstageSidebarItem = {\n styleOverrides: {\n root: {\n borderRadius: '6px',\n width: 'calc(100% - 1rem) !important',\n marginLeft: '0.5rem !important',\n textDecorationLine: 'none',\n '&:hover, &:focus-visible': {\n backgroundColor: sidebarItemInteractionBackgroundColor,\n },\n },\n label: {\n '&[class*=\"MuiTypography-subtitle2\"]': {\n fontWeight: 'normal',\n },\n },\n selected: {\n backgroundColor: `${sidebarItemInteractionBackgroundColor} !important`,\n color: `${navigationSelectedColor} !important`,\n },\n },\n };\n components.BackstageSidebarSubmenuItem = {\n styleOverrides: {\n selected: {\n background: `${sidebarItemInteractionBackgroundColor} !important`,\n color: `${navigationSelectedColor} !important`,\n },\n },\n };\n components.MuiBottomNavigation = {\n styleOverrides: {\n root: {\n backgroundColor: `${sidebarBackgroundColor} !important`,\n borderColor: `${sidebarBackgroundColor} !important`,\n },\n },\n };\n components.MuiBottomNavigationAction = {\n defaultProps: {\n disableRipple,\n },\n styleOverrides: {\n root: {\n color: `${navigationItemColor} !important`,\n backgroundColor: `${sidebarBackgroundColor} !important`,\n borderRadius: '6px',\n borderTop: '3px solid transparent !important', // default mui selected styling\n paddingTop: '6px !important', // default mui selected styling\n marginTop: '-1px !important', // default mui selected styling\n '&:hover, &:focus-visible': {\n backgroundColor: `${sidebarItemInteractionBackgroundColor} !important`,\n },\n '&.Mui-selected': {\n backgroundColor: `${sidebarItemInteractionBackgroundColor} !important`,\n color: `${navigationSelectedColor} !important`,\n },\n },\n },\n };\n components.MuiDrawer = {\n styleOverrides: {\n root: {\n // undocumented Backstage makeStyles\n \"& [class*='makeStyles-overlay-']\": {\n backgroundColor: `${sidebarBackgroundColor} !important`,\n },\n '& hr': {\n backgroundColor: general.sidebarDividerColor,\n },\n },\n },\n };\n }\n\n if (options.pages !== 'mui') {\n components.RHDHPageWithoutFixHeight = {\n styleOverrides: {\n root: {\n // Cancel out the spacing produced by the page inset border when\n // the global header is present in the above-sidebar position.\n '@media (min-width: 600px)': {\n '#rhdh-above-sidebar-header-container:has(*) ~ #rhdh-sidebar-layout':\n {\n // Page inset is margin on SidebarPage; don't double-gap under the masthead.\n \"& [class*='BackstageSidebarPage-root']\": {\n marginTop: '0 !important',\n },\n \"& main, & [class*='MuiLinearProgress-root']\": {\n marginTop: '0 !important',\n },\n },\n },\n },\n sidebarLayout: {\n // Cancel out the spacing produced by the page inset border when\n // the global header is present in the above-main-content position.\n '@media (min-width: 600px)': {\n '#rhdh-above-main-content-header-container:has(*)': {\n \"& ~ main, & ~ [class*='MuiLinearProgress-root']\": {\n marginTop: '0 !important',\n },\n },\n },\n },\n },\n };\n components.BackstageIconLinkVertical = {\n styleOverrides: {\n label: {\n textTransform: 'none',\n },\n },\n };\n components.BackstageSidebarPage = {\n styleOverrides: {\n root: {\n // Fill the viewport so short pages don't leave a gap below the shell.\n // App root wrappers (e.g. ApplicationDrawer) can collapse to content\n // height; without a min-height here the page-inset background stops\n // early and body/html shows through (RHDHBUGS-3498).\n minHeight: '100vh',\n // All viewports: paint the content well. Page-inset chrome below is\n // desktop-only; without this, mobile falls through to body\n // (--bui-bg-app / page-inset) instead of mainSectionBackgroundColor.\n backgroundColor: general.mainSectionBackgroundColor,\n // Controls the page inset as in PF6 -- only in desktop view.\n // CSS-only: SidebarPage is the sole scrollport so BUI siblings\n // (PluginHeader + Containers) and classic <main> share one rounded\n // well without an extra DOM wrapper (PageMainContainer).\n //\n // Scrollbar clipping: border-radius alone does not clip Chromium\n // scrollbars. clip-path on this same scrollport does. Margin (not\n // border) forms the page inset so the clipped edge is the well\n // edge — the overflow/scrollbar edge — not the outer border-box.\n //\n // Backstage SidebarPage sets width:100%; horizontal margins would\n // otherwise overflow and get clipped (right gutter disappears).\n '@media (min-width: 600px)': {\n boxSizing: 'border-box',\n // Override Backstage `width: 100%` so margin-right is not pushed\n // off-screen by the parent overflow:hidden.\n width: `calc(100% - ${general.pageInset}) !important`,\n marginTop: general.pageInset,\n marginRight: general.pageInset,\n marginBottom: general.pageInset,\n marginLeft: 0,\n height: `calc(100vh - 2 * ${general.pageInset})`,\n maxHeight: `calc(100vh - 2 * ${general.pageInset})`,\n minHeight: '0 !important',\n overflowX: 'hidden',\n overflowY: 'auto',\n // `contain` still allows rubber-band overscroll, which reveals an\n // empty rounded well above the content. `none` disables that.\n overscrollBehavior: 'none',\n borderRadius: '1rem',\n // Clips the scrollbar into the rounded well (border-radius cannot).\n clipPath: 'inset(0 round 1rem)',\n // Left corners: clip-path rounds the border-box (under the drawer\n // spacer), so the visible edge after paddingLeft stays square.\n // Sticky masks paint the curve at the content edge. Keep\n // overscroll-behavior: none so rubber-band does not show a second well.\n // z-index must sit above Backstage Header (z-index: 100) or MUI\n // Page headers cover the top-left mask tile.\n '&::before': {\n content: '\"\"',\n position: 'sticky',\n top: 0,\n display: 'block',\n width: '100%',\n height: `calc(100vh - 2 * ${general.pageInset})`,\n marginBottom: `calc(0px - (100vh - 2 * ${general.pageInset}))`,\n pointerEvents: 'none',\n zIndex: 101,\n backgroundImage: [\n `radial-gradient(circle at 100% 100%, transparent 1rem, ${\n general.pageInsetBackgroundColor ??\n general.appBarBackgroundColor\n } 1.01rem)`,\n `radial-gradient(circle at 0% 100%, transparent 1rem, ${\n general.pageInsetBackgroundColor ??\n general.appBarBackgroundColor\n } 1.01rem)`,\n `radial-gradient(circle at 100% 0%, transparent 1rem, ${\n general.pageInsetBackgroundColor ??\n general.appBarBackgroundColor\n } 1.01rem)`,\n `radial-gradient(circle at 0% 0%, transparent 1rem, ${\n general.pageInsetBackgroundColor ??\n general.appBarBackgroundColor\n } 1.01rem)`,\n ].join(', '),\n backgroundPosition:\n 'top left, top right, bottom left, bottom right',\n backgroundRepeat: 'no-repeat',\n backgroundSize: '1rem 1rem',\n },\n // No nested scroll/radius on children — the shell scrolls as one.\n \"& > [class*='MuiLinearProgress-root'], & > main\": {\n margin: 0,\n borderRadius: 0,\n clipPath: 'none',\n backgroundColor: general.mainSectionBackgroundColor,\n overflow: 'visible',\n height: 'auto',\n maxHeight: 'none',\n },\n \"& > [class*='bui-Container']:not([class*='bui-Header'])\": {\n backgroundColor: general.mainSectionBackgroundColor,\n },\n // When a BackstagePage-root is present, the MUI page already has\n // its own header; hide the sibling BUI PluginHeader to avoid duplication.\n \"&:has([class*='BackstagePage-root']) > .bui-PluginHeader\": {\n display: 'none',\n },\n '& > article, & > [class*=\"BackstageContent-root\"]': {\n backgroundColor: general.mainSectionBackgroundColor,\n },\n // TechDocs ToC has its own scrollbar — avoid forcing a nested main well.\n \"& > main:has([data-testid='techdocs-native-shadowroot'])\": {\n height: 'auto !important',\n maxHeight: 'none !important',\n marginRight: '0.5rem',\n },\n \"& > [class*='MuiLinearProgress-root']\": {\n \"& > [class*='MuiLinearProgress-']\": {\n height: '0.5rem !important',\n },\n },\n // DependencyGraph's IconButton is `position:absolute; right:0` but\n // `.fullscreen` is not positioned. Our clip-path on SidebarPage\n // becomes the absolute containing block, so the control sticks to\n // the page-well corner. Re-contain it to the graph, then inset it\n // slightly so the 1rem curve does not shear the icon.\n '& .fullscreen': {\n position: 'relative',\n },\n '& .fullscreen > .MuiIconButton-root, & .fullscreen .MuiIconButton-root[class*=\"fullscreenButton\"]':\n {\n top: '0.5rem !important',\n right: '0.5rem !important',\n zIndex: 3,\n },\n },\n },\n },\n };\n components.BackstageContent = {\n styleOverrides: {\n root: {\n backgroundColor: general.mainSectionBackgroundColor,\n },\n },\n };\n components.BackstageContentHeader = {\n styleOverrides: {\n leftItemsBox: {\n '& > h2[class*=\"BackstageContentHeader-title-\"][class*=\"MuiTypography-h4-\"]':\n {\n fontWeight: 'bold',\n fontSize: '1.75rem',\n },\n },\n },\n };\n }\n\n if (options.headers !== 'mui') {\n components.BackstageHeader = {\n styleOverrides: {\n header: {\n boxShadow: 'none',\n },\n title: {\n '&[class*=\"MuiTypography-h1-\"]': {\n fontWeight: '500',\n fontSize: '1.5rem',\n },\n },\n subtitle: {\n '&[class*=\"BackstageHeader-subtitle-\"]': {\n fontWeight: 'normal',\n fontSize: '0.875rem',\n opacity: 1,\n },\n },\n breadcrumb: {\n marginBottom: '0.5rem',\n },\n },\n };\n components.BreadcrumbsCurrentPage = {\n styleOverrides: {\n root: {\n '& p': {\n fontStyle: 'normal',\n fontSize: 'inherit',\n },\n },\n },\n };\n components.BackstageBreadcrumbsStyledBox = {\n styleOverrides: {\n root: {\n textDecoration: 'underline !important',\n color: palette.rhdh?.primary.main,\n '&:hover': {\n color: `color-mix(in srgb, ${palette.rhdh?.primary.main} 50%, ${palette.text?.primary})`,\n },\n },\n },\n };\n components.BackstageItemCardHeader = {\n styleOverrides: {\n root: {\n // This is required to increase the css specificity, to OVERRIDE the styles from\n // BackstageItemCardHeader (https://github.com/backstage/backstage/blob/master/packages/core-components/src/layout/ItemCard/ItemCardHeader.tsx)\n // These are applied with a CSS class as well.\n\n // This variant is used when running the Storybook locally (dev mode) and in Backstage/RHDH!\n '&[class*=\"MuiBox-root-\"]': {\n color: palette.rhdh?.cards?.headerTextColor,\n backgroundColor: palette.rhdh?.cards?.headerBackgroundColor,\n backgroundImage: palette.rhdh?.cards?.headerBackgroundImage,\n borderBottom: `1px solid ${general.cardBorderColor}`,\n },\n // This variant is used when building a static Storybook (`storybook:build`)\n '&[class~=\"MuiBox-root\"]': {\n color: palette.rhdh?.cards?.headerTextColor,\n backgroundColor: palette.rhdh?.cards?.headerBackgroundColor,\n backgroundImage: palette.rhdh?.cards?.headerBackgroundImage,\n borderBottom: `1px solid ${general.cardBorderColor}`,\n },\n '& > h3[class*=\"MuiTypography-subtitle2-\"] > div > div:first-child': {\n textTransform: 'capitalize',\n },\n },\n },\n };\n }\n\n if (options.toolbars !== 'mui') {\n components.BackstageTableToolbar = {\n styleOverrides: {\n root: {\n '& h2': {\n fontWeight: 'bold',\n },\n },\n title: {\n '& > h2': {\n fontWeight: 'bold',\n },\n },\n },\n };\n }\n\n //\n // Others\n //\n components.CatalogReactUserListPicker = {\n styleOverrides: {\n root: {\n borderRadius: '4px',\n },\n title: {\n textTransform: 'none',\n },\n },\n };\n\n if (options.tabs !== 'mui') {\n components.PrivateTabIndicator = {\n styleOverrides: {\n root: {\n height: '3px',\n zIndex: 1,\n },\n vertical: {\n width: '3px',\n },\n },\n };\n }\n\n return components;\n};\n"],"names":["backstageComponents"],"mappings":";;;;AAgDO,MAAM,gBAAA,GAAmB,CAAC,WAAA,KAAyC;AAGxE,EAAA,MAAM,OAAA,GAAU,WAAA,CAAY,OAAA,IAAY,EAAC;AACzC,EAAA,MAAM,aAAA,GAAgB,SAAS,YAAA,KAAiB,IAAA;AAEhD,EAAA,MAAM,OAAA,GAAU,WAAA,CAAY,OAAA,IAAW,EAAC;AAExC,EAAA,MAAM,OAAA,GAAU,OAAA,CAAQ,IAAA,EAAM,OAAA,IAAY,EAAC;AAC3C,EAAA,MAAM,WAAA,GACJ,OAAA,CAAQ,IAAA,EAAM,OAAA,IAAY,EAAC;AAC7B,EAAA,MAAM,aAAA,GACJ,OAAA,CAAQ,IAAA,EAAM,SAAA,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A,GAA6B;AAAA,IACtC,cAAA,EAAgB;AAAA,MACd,IAAA,EAAM;AAAA,QACJ,YAAA,EAAc;AAAA,OAChB;AAAA,MACA,KAAA,EAAO;AAAA,QACL,aAAA,EAAe;AAAA;AACjB;AACF,GACF;AAEA,EAAA,IAAI,OAAA,CAAQ,SAAS,KAAA,EAAO;AAC1B,IAAA,UAAA,CAAW,mBAAA,GAAsB;AAAA,MAC/B,cAAA,EAAgB;AAAA,QACd,IAAA,EAAM;AAAA,UACJ,MAAA,EAAQ,KAAA;AAAA,UACR,MAAA,EAAQ;AAAA,SACV;AAAA,QACA,QAAA,EAAU;AAAA,UACR,KAAA,EAAO;AAAA;AACT;AACF,KACF;AAAA,EACF;AAEA,EAAA,OAAO,UAAA;AACT;;;;"}
1
+ {"version":3,"file":"createComponents.esm.js","sources":["../../src/utils/createComponents.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n type UnifiedThemeOptions,\n defaultComponentThemes as backstageComponents,\n} from '@backstage/theme';\nimport { type CSSObject } from '@mui/material/styles';\n\nimport { ThemeConfig, ThemeConfigOptions, RHDHThemePalette } from '../types';\nimport { redHatFontFaces, redHatFonts } from '../fonts';\nimport { resolveNavigationSidebarColors } from './navigationSidebarColors';\n\nexport type Component = {\n defaultProps?: unknown;\n styleOverrides?: unknown;\n variants?: unknown;\n};\n\nexport type Components = UnifiedThemeOptions['components'] & {\n BackstageHeaderTabs?: Component;\n BackstageSidebar?: Component;\n BackstageSidebarItem?: Component;\n BackstageSidebarSubmenuItem?: Component;\n BackstagePage?: Component;\n BackstageContent?: Component;\n BackstageContentHeader?: Component;\n BackstageHeader?: Component;\n BackstageItemCardHeader?: Component;\n BackstageTableToolbar?: Component;\n CatalogReactUserListPicker?: Component;\n PrivateTabIndicator?: Component;\n RHDHPageWithoutFixHeight?: Component;\n};\n\nexport const createComponents = (themeConfig: ThemeConfig): Components => {\n // Short hands to ensure that the code doesn't break if one of the properties is not defined.\n\n const options = themeConfig.options ?? ({} as ThemeConfigOptions);\n const disableRipple = options?.rippleEffect !== 'on'; // by default ripple effect is disabled\n\n const palette = themeConfig.palette ?? {};\n\n const general = palette.rhdh?.general || ({} as RHDHThemePalette['general']);\n const rhdhPrimary =\n palette.rhdh?.primary || ({} as RHDHThemePalette['primary']);\n const rhdhSecondary =\n palette.rhdh?.secondary || ({} as RHDHThemePalette['secondary']);\n\n // PatternFly shell chrome (page inset + masthead + sidebar). Prefer\n // pageInsetBackgroundColor, then app-bar / sidebar tokens from app-config.\n const chromeBackgroundColor =\n general.pageInsetBackgroundColor ??\n general.appBarBackgroundColor ??\n general.sidebarBackgroundColor;\n const appBarBackgroundColor =\n general.appBarBackgroundColor ?? chromeBackgroundColor;\n const pageInset = general.pageInset || '1.5rem';\n\n const components: Components = {};\n if (options.components === 'backstage' || options.components === 'mui') {\n return components;\n }\n\n //\n // MUI components\n //\n components.MuiCssBaseline = {\n styleOverrides: theme => {\n const backstageOverrides =\n backstageComponents!.MuiCssBaseline!.styleOverrides!;\n const backstageStyles =\n typeof backstageOverrides === 'function'\n ? (backstageOverrides(theme) as CSSObject)\n : (backstageOverrides as CSSObject);\n\n // Sticky AppBar is z-index 1100. BUI Dialog overlay is 1000 and\n // InspectEntityDialog uses height 100vh, so the masthead covers the\n // title and close control (RHDHBUGS-3603). 64px fallback matches the\n // MUI Toolbar default when --rhdh-global-header-height is unset.\n const dialogMastheadOffset = 'var(--rhdh-global-header-height, 64px)';\n // Prefer branding chrome tokens; fall back to MUI default for empty configs.\n const shellBackground =\n chromeBackgroundColor ?? theme.palette.background.default;\n\n return {\n ...backstageStyles,\n '@font-face': redHatFontFaces,\n // Full-width PF/OFS masthead: publish height for fixed sidebar + overlays.\n ':root:has(#global-header)': {\n '--rhdh-global-header-height': '64px',\n },\n // Offset the fixed sidebar root below the masthead; drawer fills root.\n // (Do not offset the absolute drawer by header height — that stacks\n // with the root offset and leaves a gap under the header.)\n ':root:has(#global-header) [data-testid=\"sidebar-root\"]': {\n top: 'var(--rhdh-global-header-height, 64px) !important',\n height:\n 'calc(100vh - var(--rhdh-global-header-height, 64px)) !important',\n bottom: 'auto !important',\n },\n ':root:has(#global-header) [data-testid=\"sidebar-root\"] > *': {\n top: '0 !important',\n height: '100% !important',\n bottom: '0 !important',\n },\n // Branding lives in the masthead; hide the sidebar mark to avoid a\n // duplicate company logo (PatternFly header + nav pattern).\n ':root:has(#global-header) [data-testid=\"sidebar-company-logo\"], :root:has(#global-header) [data-testid=\"sidebar-home-logo\"]':\n {\n display: 'none',\n },\n ':root:has(#global-header) [class*=\"bui-DialogOverlay\"]': {\n top: `${dialogMastheadOffset} !important`,\n height: `calc(100% - ${dialogMastheadOffset}) !important`,\n zIndex: 1300,\n },\n ':root:has(#global-header) [class*=\"bui-DialogOverlay\"] > [class*=\"bui-Dialog\"]':\n {\n height: `calc(100vh - ${dialogMastheadOffset} - 3rem) !important`,\n maxHeight: `calc(100vh - ${dialogMastheadOffset} - 3rem) !important`,\n },\n // Masthead shares the shell chrome color (config or RHDH defaults).\n '#global-header': {\n backgroundColor: `${appBarBackgroundColor ?? shellBackground} !important`,\n backgroundImage: `${general.appBarBackgroundImage ?? 'none'} !important`,\n },\n // Sidebar menu scroller: keep item alignment stable when the classic\n // scrollbar appears (app-defaults uses data-testid=\"sidebar-menu-scroll\";\n // also cover Backstage's hover-to-scroll wrapper as a fallback).\n '[data-testid=\"sidebar-menu-scroll\"]': {\n overflowY: 'auto',\n scrollbarGutter: 'stable',\n },\n // Shell chrome (page-inset gutter). BUI tokens.css hardcodes\n // --bui-redhat-theme-page-inset-bg (#f2f2f2 / #151515) and\n // component-overrides.css paints body with that var using a high-\n // specificity attribute selector — which otherwise ignores branding\n // pageInsetBackgroundColor / appBar / sidebar overrides from\n // app-config. Sync the vars and use !important so customized dark\n // chrome (e.g. #212830) matches sidebar + global-header.\n html: {\n backgroundColor: `${shellBackground} !important`,\n '--bui-redhat-theme-page-inset-bg': shellBackground,\n '--bui-bg-app': shellBackground,\n '@media (min-width: 600px)': {\n height: '100%',\n overflow: 'hidden',\n overscrollBehavior: 'none',\n },\n },\n body: {\n ...(backstageStyles.body as CSSObject),\n fontFamily: redHatFonts.text,\n backgroundColor: `${shellBackground} !important`,\n '--bui-redhat-theme-page-inset-bg': shellBackground,\n '--bui-bg-app': shellBackground,\n '@media (min-width: 600px)': {\n height: '100%',\n overflow: 'hidden',\n overscrollBehavior: 'none',\n },\n },\n '#root': {\n backgroundColor: `${shellBackground} !important`,\n '@media (min-width: 600px)': {\n height: '100%',\n overflow: 'hidden',\n // Shows through SidebarPage's page-inset margin (clip-path well).\n },\n },\n '#rhdh-sidebar-layout': {\n '@media (min-width: 600px)': {\n backgroundColor: `${shellBackground} !important`,\n },\n },\n 'h1, h2, h3, h4, h5, h6': {\n fontFamily: redHatFonts.heading,\n },\n 'pre, code': {\n fontFamily: redHatFonts.monospace,\n },\n \"[class*='BackstagePage-root-'] > [class*='MuiToolbar-root']\": {\n backgroundColor: theme.palette.background.paper,\n },\n };\n },\n };\n\n // MUI base\n if (options.buttons !== 'mui') {\n components.MuiTypography = {\n styleOverrides: {\n root: {\n fontFamily: redHatFonts.text,\n fontWeight: 'normal',\n letterSpacing: '0.01em',\n // This is required to override the default MUI styles\n // that set the `font-weight` to `500` for the `h1` element.\n '&.MuiTypography-h1': {\n fontWeight: 'normal',\n },\n },\n button: {\n textTransform: 'none',\n },\n },\n };\n }\n\n // MUI container\n if (options.paper !== 'mui') {\n const elevationStyle = {\n boxShadow: 'none',\n outline: `1px solid ${general.paperBorderColor}`,\n '& > hr[class|=\"MuiDivider-root\"]': {\n backgroundColor: general.paperBorderColor,\n },\n };\n const noElevationStyle = {\n boxShadow: 'none',\n outline: 'none',\n };\n\n components.MuiPaper = {\n styleOverrides: {\n root: {\n // This works for all MUI v5 components, but in MUI v4\n boxShadow: 'none',\n outline: `1px solid ${general.paperBorderColor}`,\n // Required only for MUI v5 components because a gradient `backgroundImage`\n // overrides the default background.paper color otherwise.\n backgroundImage: general.paperBackgroundImage,\n // hide the first child element which is a divider with MuiDivider-root classname in MuiPaper\n '& > hr:first-child[class|=\"MuiDivider-root\"]': {\n height: 0,\n },\n },\n rounded: {\n '& > :last-child': {\n borderBottomLeftRadius: 16,\n borderBottomRightRadius: 16,\n },\n },\n elevation0: noElevationStyle,\n },\n };\n components.MuiPopover = {\n styleOverrides: {\n paper: {\n // Box shadow from PatternFly 5 (--pf-v5-global--BoxShadow--sm)\n boxShadow: general.popoverBoxShadow,\n // `Popover` has no outline by default, but since we're adding it to the `Paper`\n // components, this ensures that the `Popover` doesn't has a shadow and an outline.\n outline: 0,\n },\n },\n };\n\n // Required for MUI v4, not MUI v5\n const elevations = Array.from(\n { length: 24 },\n (_, i) => `elevation${i + 1}`,\n ) as 'elevation1'[];\n elevations.forEach(elevation => {\n components.MuiPaper!.styleOverrides![elevation] = elevationStyle;\n });\n }\n\n // MUI AppBar (global-header masthead uses this)\n components.MuiAppBar = {\n styleOverrides: {\n root: {\n boxShadow: 'none',\n ...(options.appBar !== 'mui' && {\n backgroundColor: appBarBackgroundColor,\n backgroundImage: general.appBarBackgroundImage,\n outline: 'none',\n }),\n },\n },\n };\n\n // MUI buttons\n // Don't disableRipple for MuiButtonBase as it will affect all the buttons\n // and we need to ensure that the buttons have a right touch and focus styling.\n if (options.buttons !== 'mui') {\n components.MuiButton = {\n defaultProps: {\n disableRipple,\n },\n styleOverrides: {\n root: {\n textTransform: 'none',\n borderRadius: '3px',\n fontWeight: 'normal',\n },\n contained: {\n border: '0',\n borderRadius: '99em',\n boxShadow: 'none',\n '&:hover, &:focus-visible': {\n border: '0',\n boxShadow: 'none',\n },\n '&:-webkit-any-link:focus-visible': {\n outlineOffset: '0',\n },\n },\n containedPrimary: {\n borderRadius: '99em',\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 1px ${rhdhPrimary.focusVisibleBorder}`,\n outline: `${rhdhPrimary.focusVisibleBorder} solid 1px`,\n },\n '&:disabled': {\n color: general.disabled,\n backgroundColor: general.disabledBackground,\n },\n },\n containedSecondary: {\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 1px ${rhdhSecondary.focusVisibleBorder}`,\n outline: `${rhdhSecondary.focusVisibleBorder} solid 1px`,\n },\n '&:disabled': {\n color: general.disabled,\n backgroundColor: general.disabledBackground,\n },\n },\n outlined: {\n borderRadius: '99em',\n border: `1px solid color-mix(in srgb, currentColor 50%, transparent)`,\n '&:hover, &:focus-visible': {\n backgroundColor: 'transparent',\n border: `1px solid`,\n },\n '&:disabled': {\n color: general.disabled,\n backgroudColor: general.disabledBackground,\n border: `1px solid ${general.disabledBackground}`,\n },\n },\n outlinedPrimary: {\n '&:hover, &:focus-visible': {\n backgroundColor: 'transparent',\n },\n },\n outlinedSecondary: {\n '&:hover, &:focus-visible': {\n backgroundColor: 'transparent',\n },\n },\n text: {\n '&:focus-visible': {\n boxShadow: `inset 0 0 0 2px ${rhdhPrimary.main}`,\n outline: `${rhdhPrimary.focusVisibleBorder} solid 1px`,\n },\n },\n },\n };\n components.MuiToggleButton = {\n styleOverrides: {\n root: {\n textTransform: 'none',\n },\n },\n };\n components.MuiToggleButtonGroup = {\n styleOverrides: {\n root: {\n flexWrap: 'wrap',\n rowGap: '8px',\n maxWidth: '100%',\n },\n },\n };\n components.MuiIconButton = {\n styleOverrides: {\n root: {\n '&:disabled': {\n color: general.disabled,\n },\n },\n },\n };\n components.MuiLink = {\n styleOverrides: {\n underlineHover: {\n '&:hover, &:focus-visible': {\n textDecoration: 'none',\n },\n },\n },\n };\n }\n\n // MUI input fields\n if (options.inputs !== 'mui') {\n components.MuiInputBase = {\n styleOverrides: {\n input: {\n '&::placeholder': {\n color: general.disabled,\n opacity: 1,\n },\n },\n },\n };\n components.MuiOutlinedInput = {\n styleOverrides: {\n input: {\n '&:autofill': {\n boxShadow: `0 0 0 100px ${general.formControlBackgroundColor} inset`,\n borderRadius: 'unset',\n },\n },\n },\n };\n }\n\n if (options.checkbox !== 'mui') {\n components.MuiCheckbox = {\n defaultProps: {\n color: 'primary',\n },\n };\n }\n\n // MUI accordion\n if (options.accordions !== 'mui') {\n components.MuiAccordion = {\n styleOverrides: {\n root: {\n boxShadow: 'none',\n },\n rounded: {\n '&:first-child': {\n borderTopLeftRadius: '0',\n borderTopRightRadius: '0',\n },\n '&:last-child': {\n borderBottomLeftRadius: '0',\n borderBottomRightRadius: '0',\n },\n },\n },\n };\n }\n\n // MUI cards\n if (options.cards !== 'mui') {\n components.MuiCard = {\n styleOverrides: {\n root: {\n display: 'flex',\n flexDirection: 'column',\n backgroundColor: general.cardBackgroundColor,\n borderRadius: '16px',\n },\n },\n };\n components.MuiCardHeader = {\n styleOverrides: {\n content: {\n '& > span > nav span': {\n textTransform: 'unset',\n letterSpacing: 'normal',\n fountweight: 'normal',\n },\n },\n title: {\n fontSize: '1.125rem',\n },\n action: {\n '& > a > span > svg': {\n fontSize: '1.125rem',\n },\n '& > a[class*=\"MuiIconButton-root\"]:hover': {\n backgroundColor: 'transparent',\n },\n },\n },\n };\n components.MuiCardContent = {\n styleOverrides: {\n root: {\n flexGrow: '1',\n backgroundColor: general.cardBackgroundColor,\n '& > div > div > h2[class*=\"MuiTypography-h2-\"]': {\n textTransform: 'unset',\n opacity: '40%',\n },\n '& > div > div > div[class*=\"MuiChip-sizeSmall\"]': {\n backgroundColor: 'transparent',\n borderRadius: '8px',\n outline: `1px solid ${general.disabled}`,\n },\n '& > div[class*=\"Mui-expanded\"]': {\n margin: 'auto',\n },\n '& > div[class*=\"MuiAccordion-root\"]:before': {\n height: 0,\n },\n // Override the default line-clamp from 10 to 2 for the Software template catalog\n '& > div[class*=\"MuiGrid-root-\"][class*=\"MuiGrid-container-\"][class*=\"MuiGrid-spacing-xs-2-\"] > div[class*=\"MuiGrid-root-\"][class*=\"MuiGrid-item-\"][class*=\"MuiGrid-grid-xs-12-\"] > div[class*=\"MuiBox-root-\"]':\n {\n '-webkit-line-clamp': '2',\n },\n },\n },\n };\n }\n\n // MUI table\n if (options.tables !== 'mui') {\n components.MuiTable = {\n styleOverrides: {\n root: {\n backgroundColor: general.tableBackgroundColor,\n },\n },\n };\n components.MuiTableRow = {\n styleOverrides: {\n root: {\n backgroundColor: general.tableBackgroundColor,\n '&:not([class*=\"MuiTableRow-footer\"]):hover': {\n backgroundColor: `${general.tableRowHover} !important`,\n },\n '& > th[class*=\"MuiTableCell-head\"]': {\n backgroundColor: general.tableBackgroundColor,\n },\n },\n },\n };\n components.MuiTableCell = {\n styleOverrides: {\n root: {\n textTransform: 'none',\n '&[class*=\"BackstageTableHeader-header\"]': {\n borderTop: 'unset',\n borderBottom: `1px solid ${general.tableBorderColor}`,\n },\n },\n head: {\n textTransform: 'unset !important',\n color: `${general.tableColumnTitleColor} !important`,\n '& > span[class*=\"MuiTableSortLabel-active\"]': {\n color: `${rhdhPrimary.main} !important`,\n },\n '& > span > svg[class*=\"MuiTableSortLabel-icon\"]': {\n color: 'inherit !important',\n },\n },\n body: {\n color: general.tableTitleColor,\n '& > div[class*=\"MuiChip-sizeSmall\"]': {\n margin: '2px',\n },\n },\n },\n };\n components.MuiTableFooter = {\n styleOverrides: {\n root: {\n '& > tr > td': {\n borderBottom: 'none',\n },\n },\n },\n };\n }\n\n // MUI toolbar\n if (options.toolbars !== 'mui') {\n components.MuiToolbar = {\n styleOverrides: {\n regular: {\n '& > div > h2[class*=\"MuiTypography-h5\"]': {\n fontSize: '1.25rem',\n color: general.tableTitleColor,\n },\n },\n },\n };\n }\n\n // MUI dialogs\n if (options.dialogs !== 'mui') {\n components.MuiDialogContent = {\n styleOverrides: {\n root: {\n '& > div': {\n backgroundColor: general.cardBackgroundColor,\n },\n },\n },\n };\n }\n\n // MUI tabs\n if (options.tabs !== 'mui') {\n components.MuiTabs = {\n defaultProps: {\n indicatorColor: 'primary',\n },\n styleOverrides: {\n root: {\n borderBottom: `1px solid ${general.paperBorderColor}`,\n padding: '0 1.5rem',\n },\n vertical: {\n '& > div > div > button[class*=\"v5\"]': {\n alignItems: 'baseline',\n textAlign: 'left',\n },\n '& > div > div > button > span': {\n alignItems: 'baseline',\n textAlign: 'left',\n },\n borderBottom: `none`,\n borderLeft: `1px solid ${general.paperBorderColor}`,\n padding: 0,\n \"& span[class*='MuiTabs-indicator']\": {\n width: '3px',\n },\n },\n indicator: {\n left: 0,\n height: '3px',\n },\n },\n };\n components.MuiTab = {\n defaultProps: {\n disableRipple,\n },\n styleOverrides: {\n root: {\n fontWeight: '400',\n minWidth: 'initial !important',\n padding: '0.25em 1em',\n position: 'relative',\n textTransform: 'none',\n zIndex: 1,\n '&:before': {\n content: '\"\"',\n display: 'block',\n position: 'absolute',\n top: '0.75em',\n left: '0.5em',\n right: '0.5em',\n bottom: '0.75em',\n borderRadius: '4px',\n zIndex: -1,\n },\n '&.Mui-selected': {\n color: `${palette.text?.primary} !important`,\n },\n '&[class*=\"v5\"]': {\n lineHeight: 1.75,\n },\n '&:hover, &:focus-visible': {\n backgroundColor: 'transparent !important',\n '&:before': {\n backgroundColor: general.tabsLinkHoverBackgroundColor,\n },\n },\n '&:disabled': {\n color: general.disabled,\n '&:before': {\n backgroundColor: general.disabledBackground,\n },\n },\n },\n },\n };\n\n // MUI Breadcrumbs\n if (options.breadcrumbs !== 'mui') {\n components.MuiBreadcrumbs = {\n defaultProps: {\n separator: '>',\n },\n styleOverrides: {\n separator: {\n fontWeight: 'bold',\n },\n root: {\n fontWeight: '400',\n },\n li: {\n fontSize: '0.875rem !important',\n fontStyle: 'normal !important',\n },\n },\n };\n }\n }\n\n //\n // Backstage\n //\n if (options.tabs !== 'mui') {\n components.BackstageHeaderTabs = {\n styleOverrides: {\n tabsWrapper: {\n paddingLeft: '0',\n backgroundColor: general.mainSectionBackgroundColor,\n },\n defaultTab: {\n textTransform: 'none',\n fontSize: '0.875rem',\n fontWeight: '400',\n color: 'unset',\n padding: '0.25em 1em',\n },\n },\n };\n }\n\n if (options.sidebars !== 'mui') {\n const {\n sidebarBackgroundColor,\n sidebarItemInteractionBackgroundColor,\n navigationItemColor,\n navigationSelectedColor,\n } = resolveNavigationSidebarColors(themeConfig);\n\n components.BackstageSidebar = {\n styleOverrides: {\n drawer: {\n gap: '0.25rem',\n paddingBottom: '1.5rem',\n backgroundColor: sidebarBackgroundColor,\n alignItems: 'stretch',\n // Drawer is position:absolute inside the fixed sidebar-root.\n // Masthead clearance is applied on the root (CssBaseline); keep the\n // drawer filling the root so offsets do not stack.\n top: '0 !important',\n height: '100% !important',\n bottom: '0 !important',\n '& hr': {\n backgroundColor: general.sidebarDividerColor,\n },\n '#rhdh-sidebar-layout & a[aria-current=\"page\"], & a[aria-current=\"page\"]':\n {\n background: `${sidebarItemInteractionBackgroundColor} !important`,\n backgroundColor: `${sidebarItemInteractionBackgroundColor} !important`,\n color: `${navigationSelectedColor} !important`,\n '& .MuiTypography-root': {\n color: 'inherit !important',\n },\n },\n },\n },\n };\n components.BackstageSidebarItem = {\n styleOverrides: {\n root: {\n borderRadius: '6px',\n width: 'calc(100% - 1rem) !important',\n marginLeft: '0.5rem !important',\n textDecorationLine: 'none',\n '&:hover, &:focus-visible': {\n backgroundColor: sidebarItemInteractionBackgroundColor,\n },\n },\n label: {\n '&[class*=\"MuiTypography-subtitle2\"]': {\n fontWeight: 'normal',\n },\n },\n selected: {\n backgroundColor: `${sidebarItemInteractionBackgroundColor} !important`,\n color: `${navigationSelectedColor} !important`,\n },\n },\n };\n components.BackstageSidebarSubmenuItem = {\n styleOverrides: {\n selected: {\n background: `${sidebarItemInteractionBackgroundColor} !important`,\n color: `${navigationSelectedColor} !important`,\n },\n },\n };\n components.MuiBottomNavigation = {\n styleOverrides: {\n root: {\n backgroundColor: `${sidebarBackgroundColor} !important`,\n borderColor: `${sidebarBackgroundColor} !important`,\n },\n },\n };\n components.MuiBottomNavigationAction = {\n defaultProps: {\n disableRipple,\n },\n styleOverrides: {\n root: {\n color: `${navigationItemColor} !important`,\n backgroundColor: `${sidebarBackgroundColor} !important`,\n borderRadius: '6px',\n borderTop: '3px solid transparent !important', // default mui selected styling\n paddingTop: '6px !important', // default mui selected styling\n marginTop: '-1px !important', // default mui selected styling\n '&:hover, &:focus-visible': {\n backgroundColor: `${sidebarItemInteractionBackgroundColor} !important`,\n },\n '&.Mui-selected': {\n backgroundColor: `${sidebarItemInteractionBackgroundColor} !important`,\n color: `${navigationSelectedColor} !important`,\n },\n },\n },\n };\n components.MuiDrawer = {\n styleOverrides: {\n root: {\n // undocumented Backstage makeStyles\n \"& [class*='makeStyles-overlay-']\": {\n backgroundColor: `${sidebarBackgroundColor} !important`,\n },\n '& hr': {\n backgroundColor: general.sidebarDividerColor,\n },\n },\n },\n };\n }\n\n if (options.pages !== 'mui') {\n components.RHDHPageWithoutFixHeight = {\n styleOverrides: {\n root: {\n // Cancel out the spacing produced by the page inset border when\n // the global header is present in the above-sidebar position.\n '@media (min-width: 600px)': {\n '#rhdh-above-sidebar-header-container:has(*) ~ #rhdh-sidebar-layout':\n {\n // Page inset is margin on SidebarPage; don't double-gap under the masthead.\n \"& [class*='BackstageSidebarPage-root']\": {\n marginTop: '0 !important',\n },\n \"& main, & [class*='MuiLinearProgress-root']\": {\n marginTop: '0 !important',\n },\n },\n },\n },\n sidebarLayout: {\n // Cancel out the spacing produced by the page inset border when\n // the global header is present in the above-main-content position.\n '@media (min-width: 600px)': {\n '#rhdh-above-main-content-header-container:has(*)': {\n \"& ~ main, & ~ [class*='MuiLinearProgress-root']\": {\n marginTop: '0 !important',\n },\n },\n },\n },\n },\n };\n components.BackstageIconLinkVertical = {\n styleOverrides: {\n label: {\n textTransform: 'none',\n },\n },\n };\n components.BackstageSidebarPage = {\n styleOverrides: {\n root: {\n // Fill the viewport so short pages don't leave a gap below the shell.\n // App root wrappers (e.g. ApplicationDrawer) can collapse to content\n // height; without a min-height here the page-inset background stops\n // early and body/html shows through (RHDHBUGS-3498).\n minHeight: '100vh',\n // All viewports: paint the content well. Page-inset chrome below is\n // desktop-only; without this, mobile falls through to body\n // (--bui-bg-app / page-inset) instead of mainSectionBackgroundColor.\n backgroundColor: general.mainSectionBackgroundColor,\n // Controls the page inset as in PF6 -- only in desktop view.\n // CSS-only: SidebarPage is the sole scrollport so BUI siblings\n // (PluginHeader + Containers) and classic <main> share one rounded\n // well without an extra DOM wrapper (PageMainContainer).\n //\n // Scrollbar clipping: border-radius alone does not clip Chromium\n // scrollbars. clip-path on this same scrollport does. Margin (not\n // border) forms the page inset so the clipped edge is the well\n // edge — the overflow/scrollbar edge — not the outer border-box.\n //\n // Backstage SidebarPage sets width:100%; horizontal margins would\n // otherwise overflow and get clipped (right gutter disappears).\n '@media (min-width: 600px)': {\n boxSizing: 'border-box',\n // Override Backstage `width: 100%` so margin-right is not pushed\n // off-screen by the parent overflow:hidden.\n width: `calc(100% - ${pageInset}) !important`,\n // Default: top + bottom page inset (no masthead).\n marginTop: pageInset,\n marginRight: pageInset,\n marginBottom: pageInset,\n marginLeft: 0,\n height: `calc(100vh - 2 * ${pageInset})`,\n maxHeight: `calc(100vh - 2 * ${pageInset})`,\n minHeight: '0 !important',\n overflowX: 'hidden',\n overflowY: 'auto',\n // `contain` still allows rubber-band overscroll, which reveals an\n // empty rounded well above the content. `none` disables that.\n overscrollBehavior: 'none',\n // Round only the free (right) edge of the border-box. Left corners\n // stay square so clip-path does not bite the drawer spacer under\n // the fixed sidebar. Left curves of the *content* well are painted\n // by the sticky ::before masks below (after paddingLeft).\n borderRadius: '0 1rem 1rem 0',\n // Clips the scrollbar into the rounded well (border-radius cannot).\n clipPath: 'inset(0 round 0 1rem 1rem 0)',\n // Masthead (or any #global-header) sits above this well in-flow.\n // Drop the top inset and subtract only the header + bottom inset\n // from 100vh so the bottom margin remains visible.\n ':root:has(#global-header) &': {\n marginTop: '0 !important',\n height: `calc(100vh - var(--rhdh-global-header-height, 64px) - ${pageInset}) !important`,\n maxHeight: `calc(100vh - var(--rhdh-global-header-height, 64px) - ${pageInset}) !important`,\n borderTopLeftRadius: 0,\n borderTopRightRadius: 0,\n borderBottomLeftRadius: 0,\n borderBottomRightRadius: '1rem',\n // Only bottom-right on the border-box; left content curve is ::before.\n clipPath: 'inset(0 round 0 0 1rem 0)',\n '&::before': {\n height: `calc(100vh - var(--rhdh-global-header-height, 64px) - ${pageInset})`,\n marginBottom: `calc(0px - (100vh - var(--rhdh-global-header-height, 64px) - ${pageInset}))`,\n },\n },\n // Sticky masks sit in the content box (after paddingLeft), so their\n // left tiles round the main well against the sidebar without\n // clipping the drawer spacer. Right tiles match the free edge.\n // Keep overscroll-behavior: none so rubber-band does not show a\n // second well. z-index must sit above Backstage Header (100).\n '&::before': {\n content: '\"\"',\n position: 'sticky',\n top: 0,\n display: 'block',\n width: '100%',\n height: `calc(100vh - 2 * ${pageInset})`,\n marginBottom: `calc(0px - (100vh - 2 * ${pageInset}))`,\n pointerEvents: 'none',\n zIndex: 101,\n // Prefer branding chrome hex; fall back to the CSS var synced\n // on html/body above so customized dark themes stay consistent.\n backgroundImage: [\n `radial-gradient(circle at 100% 100%, transparent 1rem, ${chromeBackgroundColor ?? 'var(--bui-redhat-theme-page-inset-bg)'} 1.01rem)`,\n `radial-gradient(circle at 0% 100%, transparent 1rem, ${chromeBackgroundColor ?? 'var(--bui-redhat-theme-page-inset-bg)'} 1.01rem)`,\n `radial-gradient(circle at 100% 0%, transparent 1rem, ${chromeBackgroundColor ?? 'var(--bui-redhat-theme-page-inset-bg)'} 1.01rem)`,\n `radial-gradient(circle at 0% 0%, transparent 1rem, ${chromeBackgroundColor ?? 'var(--bui-redhat-theme-page-inset-bg)'} 1.01rem)`,\n ].join(', '),\n backgroundPosition:\n 'top left, top right, bottom left, bottom right',\n backgroundRepeat: 'no-repeat',\n backgroundSize: '1rem 1rem',\n },\n // No nested scroll/radius on children — the shell scrolls as one.\n \"& > [class*='MuiLinearProgress-root'], & > main\": {\n margin: 0,\n borderRadius: 0,\n clipPath: 'none',\n backgroundColor: general.mainSectionBackgroundColor,\n overflow: 'visible',\n height: 'auto',\n maxHeight: 'none',\n },\n \"& > [class*='bui-Container']:not([class*='bui-Header'])\": {\n backgroundColor: general.mainSectionBackgroundColor,\n },\n // When a BackstagePage-root is present, the MUI page already has\n // its own header; hide the sibling BUI PluginHeader to avoid duplication.\n \"&:has([class*='BackstagePage-root']) > .bui-PluginHeader\": {\n display: 'none',\n },\n '& > article, & > [class*=\"BackstageContent-root\"]': {\n backgroundColor: general.mainSectionBackgroundColor,\n },\n // TechDocs ToC has its own scrollbar — avoid forcing a nested main well.\n \"& > main:has([data-testid='techdocs-native-shadowroot'])\": {\n height: 'auto !important',\n maxHeight: 'none !important',\n marginRight: '0.5rem',\n },\n \"& > [class*='MuiLinearProgress-root']\": {\n \"& > [class*='MuiLinearProgress-']\": {\n height: '0.5rem !important',\n },\n },\n // DependencyGraph's IconButton is `position:absolute; right:0` but\n // `.fullscreen` is not positioned. Our clip-path on SidebarPage\n // becomes the absolute containing block, so the control sticks to\n // the page-well corner. Re-contain it to the graph, then inset it\n // slightly so the 1rem curve does not shear the icon.\n '& .fullscreen': {\n position: 'relative',\n },\n '& .fullscreen > .MuiIconButton-root, & .fullscreen .MuiIconButton-root[class*=\"fullscreenButton\"]':\n {\n top: '0.5rem !important',\n right: '0.5rem !important',\n zIndex: 3,\n },\n },\n },\n },\n };\n components.BackstageContent = {\n styleOverrides: {\n root: {\n backgroundColor: general.mainSectionBackgroundColor,\n },\n },\n };\n components.BackstageContentHeader = {\n styleOverrides: {\n leftItemsBox: {\n '& > h2[class*=\"BackstageContentHeader-title-\"][class*=\"MuiTypography-h4-\"]':\n {\n fontWeight: 'bold',\n fontSize: '1.75rem',\n },\n },\n },\n };\n }\n\n if (options.headers !== 'mui') {\n components.BackstageHeader = {\n styleOverrides: {\n header: {\n boxShadow: 'none',\n },\n title: {\n '&[class*=\"MuiTypography-h1-\"]': {\n fontWeight: '500',\n fontSize: '1.5rem',\n },\n },\n subtitle: {\n '&[class*=\"BackstageHeader-subtitle-\"]': {\n fontWeight: 'normal',\n fontSize: '0.875rem',\n opacity: 1,\n },\n },\n breadcrumb: {\n marginBottom: '0.5rem',\n },\n },\n };\n components.BreadcrumbsCurrentPage = {\n styleOverrides: {\n root: {\n '& p': {\n fontStyle: 'normal',\n fontSize: 'inherit',\n },\n },\n },\n };\n components.BackstageBreadcrumbsStyledBox = {\n styleOverrides: {\n root: {\n textDecoration: 'underline !important',\n color: palette.rhdh?.primary.main,\n '&:hover': {\n color: `color-mix(in srgb, ${palette.rhdh?.primary.main} 50%, ${palette.text?.primary})`,\n },\n },\n },\n };\n components.BackstageItemCardHeader = {\n styleOverrides: {\n root: {\n // This is required to increase the css specificity, to OVERRIDE the styles from\n // BackstageItemCardHeader (https://github.com/backstage/backstage/blob/master/packages/core-components/src/layout/ItemCard/ItemCardHeader.tsx)\n // These are applied with a CSS class as well.\n\n // This variant is used when running the Storybook locally (dev mode) and in Backstage/RHDH!\n '&[class*=\"MuiBox-root-\"]': {\n color: palette.rhdh?.cards?.headerTextColor,\n backgroundColor: palette.rhdh?.cards?.headerBackgroundColor,\n backgroundImage: palette.rhdh?.cards?.headerBackgroundImage,\n borderBottom: `1px solid ${general.cardBorderColor}`,\n },\n // This variant is used when building a static Storybook (`storybook:build`)\n '&[class~=\"MuiBox-root\"]': {\n color: palette.rhdh?.cards?.headerTextColor,\n backgroundColor: palette.rhdh?.cards?.headerBackgroundColor,\n backgroundImage: palette.rhdh?.cards?.headerBackgroundImage,\n borderBottom: `1px solid ${general.cardBorderColor}`,\n },\n '& > h3[class*=\"MuiTypography-subtitle2-\"] > div > div:first-child': {\n textTransform: 'capitalize',\n },\n },\n },\n };\n }\n\n if (options.toolbars !== 'mui') {\n components.BackstageTableToolbar = {\n styleOverrides: {\n root: {\n '& h2': {\n fontWeight: 'bold',\n },\n },\n title: {\n '& > h2': {\n fontWeight: 'bold',\n },\n },\n },\n };\n }\n\n //\n // Others\n //\n components.CatalogReactUserListPicker = {\n styleOverrides: {\n root: {\n borderRadius: '4px',\n },\n title: {\n textTransform: 'none',\n },\n },\n };\n\n if (options.tabs !== 'mui') {\n components.PrivateTabIndicator = {\n styleOverrides: {\n root: {\n height: '3px',\n zIndex: 1,\n },\n vertical: {\n width: '3px',\n },\n },\n };\n }\n\n return components;\n};\n"],"names":["backstageComponents"],"mappings":";;;;AAgDO,MAAM,gBAAA,GAAmB,CAAC,WAAA,KAAyC;AAGxE,EAAA,MAAM,OAAA,GAAU,WAAA,CAAY,OAAA,IAAY,EAAC;AACzC,EAAA,MAAM,aAAA,GAAgB,SAAS,YAAA,KAAiB,IAAA;AAEhD,EAAA,MAAM,OAAA,GAAU,WAAA,CAAY,OAAA,IAAW,EAAC;AAExC,EAAA,MAAM,OAAA,GAAU,OAAA,CAAQ,IAAA,EAAM,OAAA,IAAY,EAAC;AAC3C,EAAA,MAAM,WAAA,GACJ,OAAA,CAAQ,IAAA,EAAM,OAAA,IAAY,EAAC;AAC7B,EAAA,MAAM,aAAA,GACJ,OAAA,CAAQ,IAAA,EAAM,SAAA,IAAc,EAAC;AAI/B,EAAA,MAAM,qBAAA,GACJ,OAAA,CAAQ,wBAAA,IACR,OAAA,CAAQ,yBACR,OAAA,CAAQ,sBAAA;AACV,EAAA,MAAM,qBAAA,GACJ,QAAQ,qBAAA,IAAyB,qBAAA;AACnC,EAAA,MAAM,SAAA,GAAY,QAAQ,SAAA,IAAa,QAAA;AAEvC,EAAA,MAAM,aAAyB,EAAC;AAChC,EAAA,IAAI,OAAA,CAAQ,UAAA,KAAe,WAAA,IAAe,OAAA,CAAQ,eAAe,KAAA,EAAO;AACtE,IAAA,OAAO,UAAA;AAAA,EACT;AAKA,EAAA,UAAA,CAAW,cAAA,GAAiB;AAAA,IAC1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,IAAA,EAAM;AAAA,QACJ,YAAA,EAAc;AAAA,OAChB;AAAA,MACA,KAAA,EAAO;AAAA,QACL,aAAA,EAAe;AAAA;AACjB;AACF,GACF;AAEA,EAAA,IAAI,OAAA,CAAQ,SAAS,KAAA,EAAO;AAC1B,IAAA,UAAA,CAAW,mBAAA,GAAsB;AAAA,MAC/B,cAAA,EAAgB;AAAA,QACd,IAAA,EAAM;AAAA,UACJ,MAAA,EAAQ,KAAA;AAAA,UACR,MAAA,EAAQ;AAAA,SACV;AAAA,QACA,QAAA,EAAU;AAAA,UACR,KAAA,EAAO;AAAA;AACT;AACF,KACF;AAAA,EACF;AAEA,EAAA,OAAO,UAAA;AACT;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/backstage-plugin-theme",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Red Hat Developer Hub Theme",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",