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 May 18, 2022
1 parent 416f490 commit 582c9b3
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
@@ -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(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
@@ -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
10 changes: 10 additions & 0 deletions scss/mixins/_banner.scss
@@ -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 582c9b3

Please sign in to comment.