Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(content): remove background color from .bx--content #10992

Merged
merged 4 commits into from
Mar 24, 2022

Conversation

metonym
Copy link
Collaborator

@metonym metonym commented Mar 14, 2022

Fixes #9877

This PR removes the background color for the .bx--content selector, which is used by the Content component.

Changelog

Removed

  • fix(content): remove background color from .bx--content

Testing / Reviewing

{{ Add descriptions, steps or a checklist for how reviewers can verify this PR works or not }}

@metonym metonym requested a review from a team as a code owner March 14, 2022 20:26
@metonym metonym requested review from tay1orjones and dakahn March 14, 2022 20:26
@netlify
Copy link

netlify bot commented Mar 14, 2022

✔️ Deploy Preview for carbon-react-next ready!

🔨 Explore the source changes: 896716d

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/622fa4fbbdcfb900087b1d15

😎 Browse the preview: https://deploy-preview-10992--carbon-react-next.netlify.app

@netlify
Copy link

netlify bot commented Mar 14, 2022

✔️ Deploy Preview for carbon-elements ready!

🔨 Explore the source changes: 896716d

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/622fa4fb5326a9000800a73d

😎 Browse the preview: https://deploy-preview-10992--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Mar 14, 2022

✔️ Deploy Preview for carbon-components-react ready!
Built without sensitive environment variables

🔨 Explore the source changes: 896716d

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/622fa4fb4a457b0009f03085

😎 Browse the preview: https://deploy-preview-10992--carbon-components-react.netlify.app

@jnm2377 jnm2377 requested a review from aagonzales March 15, 2022 17:11
@jnm2377
Copy link
Contributor

jnm2377 commented Mar 15, 2022

@aagonzales you were part of the issue discussions, so I requested your review. Is it ok to remove this background-color token for .bx--content?

@aagonzales
Copy link
Member

aagonzales commented Mar 15, 2022

Yes, I remember now. The content area didn't span the full available area so was causing confusion. I'm good with removing the background color if it doesn't effect anything else. Is it used anywhere else?

image

@tay1orjones tay1orjones changed the base branch from main to v10 March 22, 2022 14:20
@tay1orjones
Copy link
Member

Is it used anywhere else?

@aagonzales not to my knowledge. The changes are isolated to the ui shell styles.

@tay1orjones
Copy link
Member

I've changed the base branch to be v10. I'll open a quick PR to mirror these changes in main for v11.

tay1orjones added a commit that referenced this pull request Mar 22, 2022
Mirroring the change from #10992 in `v10` to `main` for v11.
@joshblack
Copy link
Contributor

cc @tay1orjones or @dakahn, when you get a sec could you help out with the snapshots failing for the test job?

@tay1orjones
Copy link
Member

@joshblack I'm confused why the check is failing. I've pushed up the correct snap.

Working off this PR locally there are no changes to commit from yarn test -u and yarn test passes 🤔

@kodiakhq kodiakhq bot merged commit a052546 into carbon-design-system:v10 Mar 24, 2022
@tay1orjones
Copy link
Member

Sorry for the delay on this one. We had some issues with workflow config that caused the invalid snapshot problem.

This will be included in v10.56.0, which should go out today.

kodiakhq bot added a commit that referenced this pull request Mar 24, 2022
Mirroring the change from #10992 in `v10` to `main` for v11.

Co-authored-by: Alessandra Davila <aledavila@ibm.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: .bx--content background disruptive for dark themes
6 participants