Installed PatternFly/react 4 in my Nextjs 13.3.1. import ‘@patternfly/react-core/dist/styles/base.css’; & import ‘./styles/global.css’; In the layout.tsx file n my global.css looks like
/* Override global primary color 100 to red */
:root {
height: 100%;
--pf-global--primary-color--100: var(--pf-global--palette--red-400);
}
/* Override the above override for only the primary button background color */
.pf-c-button {
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--palette--red-400);
}
The won’t inherit the red. Keeps the default primary which is blue.
Help highly appreciated!