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(CodeSnippet): use field-01 instead of internal variable #7621

Merged

Conversation

tw15egan
Copy link
Member

Closes #6994

DIscontinues use of $snippet-background-color and instead uses $field-01 directly, to prevent issues when users try to use custom themes.

Changelog

Changed

  • $snippet-background-color becomes $field-01
  • Deprecates $snippet-background-color

Testing / Reviewing

Ensure there are no style issues with CodeSnippet

@tw15egan tw15egan changed the title fix(CodeSnippet): use -01 instead of internal variable fix(CodeSnippet): use field-01 instead of internal variable Jan 21, 2021
@netlify
Copy link

netlify bot commented Jan 21, 2021

Deploy preview for carbon-elements ready!

Built with commit 2c11b04

https://deploy-preview-7621--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Jan 21, 2021

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 2c11b04

https://deploy-preview-7621--carbon-components-react.netlify.app

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

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

@tw15egan looks good!

@andreancardona andreancardona merged commit 64086d8 into carbon-design-system:master Jan 22, 2021
@tw15egan tw15egan deleted the snippet-variable-update branch April 28, 2021 18:17
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.

Internal Code snippet variable is causing issues with custom themes
3 participants