Skip to content

Reset carbon style config#9850

Open
asirvadAbrahamVarghese wants to merge 3 commits intoManageIQ:masterfrom
asirvadAbrahamVarghese:reset-carbon-style-config
Open

Reset carbon style config#9850
asirvadAbrahamVarghese wants to merge 3 commits intoManageIQ:masterfrom
asirvadAbrahamVarghese:reset-carbon-style-config

Conversation

@asirvadAbrahamVarghese
Copy link
Contributor

PR to restore relevant Carbon style config to prevent issues with other PatternFly components

@asirvadAbrahamVarghese asirvadAbrahamVarghese requested a review from a team as a code owner February 19, 2026 12:16
@@ -1,8 +1,3 @@
@use '@carbon/react/scss/themes';
@use '@carbon/react/scss/theme' with (
$theme: themes.$white,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The theme defaults to white, so configuration is only necessary if we want something else (like we did for menu)

@miq-bot
Copy link
Member

miq-bot commented Feb 19, 2026

Checked commits asirvadAbrahamVarghese/manageiq-ui-classic@071962c~...09a357d with ruby 3.3.10, rubocop 1.56.3, haml-lint 0.69.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. 🍪

@use '@carbon/react' with (
// don't break patternfly styling
$css--default-type: false,
$css--reset: false,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main change here is $css--reset: false which disables carbon's aggressive style reset ⬇️
image

@Fryguy
Copy link
Member

Fryguy commented Feb 19, 2026

@GilbertCherrie Please review.

@asirvadAbrahamVarghese Do you have other screenshots? Are you expecting more changes after this?

@asirvadAbrahamVarghese
Copy link
Contributor Author

Do you have other screenshots?

I can capture screenshots if needed, I can also add the ones from our thread

Are you expecting more changes after this?

Nope, with this change, all our non-Carbon components should look the same as they did with Carbon 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments