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

Add a banner mixin, helping future releases and maintenance #36178

Merged
merged 3 commits into from Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 2 additions & 6 deletions scss/bootstrap-grid.scss
@@ -1,9 +1,5 @@
/*!
* Bootstrap Grid v5.2.0-beta1 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import "mixins/banner";
@include bsBanner(Grid);

$include-column-box-sizing: true !default;

Expand Down
9 changes: 2 additions & 7 deletions scss/bootstrap-reboot.scss
@@ -1,10 +1,5 @@
/*!
* Bootstrap Reboot v5.2.0-beta1 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/
@import "mixins/banner";
@include bsBanner(Reboot);

@import "functions";
@import "variables";
Expand Down
8 changes: 2 additions & 6 deletions scss/bootstrap-utilities.scss
@@ -1,9 +1,5 @@
/*!
* Bootstrap Utilities v5.2.0-beta1 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import "mixins/banner";
@include bsBanner(Utilities);

// Configuration
@import "functions";
Expand Down
9 changes: 3 additions & 6 deletions scss/bootstrap.scss
@@ -1,9 +1,6 @@
/*!
* Bootstrap v5.2.0-beta1 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import "mixins/banner";
@include bsBanner("");


// scss-docs-start import-stack
// Configuration
Expand Down
9 changes: 9 additions & 0 deletions scss/mixins/_banner.scss
@@ -0,0 +1,9 @@
@mixin bsBanner($file, $suffix:"") {
/*!
* Bootstrap #{$file} v5.2.0-beta1 (https://getbootstrap.com/)
julien-deramond marked this conversation as resolved.
Show resolved Hide resolved
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
}