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

Improve use of CSS vars in Toasts #36145

Merged

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Apr 11, 2022

Description

  • Create a new --bs-toast-spacing CSS var linked to $toast-spacing
  • Use --bs-toast-font-size in @include font-size()

Motivation & Context

Get rid of all remaining $toast-* SCSS vars in _toasts.scss.

Types of changes

  • Refactoring (non-breaking change)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • All new and existing tests passed

Related issues

N/A

Live preview

@julien-deramond julien-deramond requested a review from a team as a code owner April 11, 2022 10:04
Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

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

<3

@mdo mdo force-pushed the main-jd-improve-use-of-css-vars-in-toasts branch from 109c2e9 to 23b5016 Compare April 11, 2022 22:33
@mdo mdo merged commit a58d894 into twbs:main Apr 11, 2022
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.

2 participants