Skip to content

Commit

Permalink
Add a banner mixin, helping future releases and maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoSot committed Jun 30, 2022
1 parent f2692b1 commit 133a8ab
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 25 deletions.
8 changes: 2 additions & 6 deletions scss/bootstrap-grid.scss
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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(Docs, "Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)");

@import "functions";
@import "variables";
Expand Down
8 changes: 2 additions & 6 deletions scss/bootstrap-utilities.scss
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions scss/mixins/_banner.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@mixin bsBanner($file, $suffix:"") {
/*!
* Bootstrap #{$file} 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)
* #{$suffix}
*/
}

0 comments on commit 133a8ab

Please sign in to comment.