diff options
| author | GeoSot <[email protected]> | 2022-07-12 02:36:12 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-11 16:36:12 -0700 |
| commit | 54317bf7c85fd3c6f05c5a059e5247d52d69d02e (patch) | |
| tree | 5e9579466e065fbd792e50dab44f6f5dcc296979 | |
| parent | ed2690608ec31fe557929de33bbb473ecdb0a03e (diff) | |
| download | bootstrap-54317bf7c85fd3c6f05c5a059e5247d52d69d02e.tar.xz bootstrap-54317bf7c85fd3c6f05c5a059e5247d52d69d02e.zip | |
Add a banner mixin, helping future releases and maintenance (#36178)
* Add a banner mixin, helping future releases and maintenance
* Update scss/bootstrap-reboot.scss
Co-authored-by: Julien Déramond <[email protected]>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <[email protected]>
Co-authored-by: Mark Otto <[email protected]>
| -rw-r--r-- | scss/bootstrap-grid.scss | 8 | ||||
| -rw-r--r-- | scss/bootstrap-reboot.scss | 9 | ||||
| -rw-r--r-- | scss/bootstrap-utilities.scss | 8 | ||||
| -rw-r--r-- | scss/bootstrap.scss | 9 | ||||
| -rw-r--r-- | scss/mixins/_banner.scss | 9 |
5 files changed, 18 insertions, 25 deletions
diff --git a/scss/bootstrap-grid.scss b/scss/bootstrap-grid.scss index 115cab4db..1c4cdd1a0 100644 --- a/scss/bootstrap-grid.scss +++ b/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; diff --git a/scss/bootstrap-reboot.scss b/scss/bootstrap-reboot.scss index 4bae00fe7..af5274594 100644 --- a/scss/bootstrap-reboot.scss +++ b/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"; diff --git a/scss/bootstrap-utilities.scss b/scss/bootstrap-utilities.scss index 43a40c5c6..c940676ac 100644 --- a/scss/bootstrap-utilities.scss +++ b/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"; diff --git a/scss/bootstrap.scss b/scss/bootstrap.scss index a167ff89a..8f8296def 100644 --- a/scss/bootstrap.scss +++ b/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 diff --git a/scss/mixins/_banner.scss b/scss/mixins/_banner.scss new file mode 100644 index 000000000..718c93753 --- /dev/null +++ b/scss/mixins/_banner.scss @@ -0,0 +1,9 @@ +@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) + */ +} + |
