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(ComponentDemo): properly theme floating components #2262

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Apr 29, 2021

Closes #2233

This PR adds a data attribute to the document body when the component demo theme is changed so that floating components can reference CSS theme variables

@emyarod emyarod requested a review from aagonzales April 29, 2021 23:29
@emyarod emyarod requested a review from a team as a code owner April 29, 2021 23:29
@vercel
Copy link

vercel bot commented Apr 29, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/carbon-design-system/carbondesignsystem/Be7XzhUh5tSZPWq63C9RNfMNTsCs
✅ Preview: https://carbondesignsy-git-fork-emyarod-2233-component-live-demo-597303.vercel.app

Copy link
Member

@aagonzales aagonzales left a comment

Choose a reason for hiding this comment

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

All the ones listed in the issue looked good. Josh just pointed out to me that in the tag component the themes aren't rendering there either. Can we update with this PR or should I open a new issue?

@emyarod
Copy link
Member Author

emyarod commented Apr 30, 2021

I will address it separately since I believe the underlying cause is different compared to common issue found in the specific components in this PR

@emyarod emyarod requested a review from aagonzales April 30, 2021 16:13
Copy link
Member

@aagonzales aagonzales left a comment

Choose a reason for hiding this comment

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

Ok i will open a separate issue, lgtm!

@kodiakhq kodiakhq bot merged commit a01bd95 into carbon-design-system:main May 5, 2021
@emyarod emyarod deleted the 2233-component-live-demo-theming-issue branch May 5, 2021 19:58
natashadecoste pushed a commit to natashadecoste/carbon-website that referenced this pull request May 19, 2021
…-system#2262)

* fix(ComponentDemo): update table zebra stripe styles

* fix(ComponentDemo): update sortable table hover styles

* fix(ComponentDemo): update themed tooltip styles

* fix(ComponentDemo): update themed date picker styles

* fix(ComponentDemo): update themed overflow menu styles

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
natashadecoste pushed a commit to natashadecoste/carbon-website that referenced this pull request May 19, 2021
…-system#2262)

* fix(ComponentDemo): update table zebra stripe styles

* fix(ComponentDemo): update sortable table hover styles

* fix(ComponentDemo): update themed tooltip styles

* fix(ComponentDemo): update themed date picker styles

* fix(ComponentDemo): update themed overflow menu styles

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.

live demo: components calling wrong theme
4 participants