diff options
author | GeoSot <geo.sotis@gmail.com> | 2022-04-15 12:45:40 +0300 |
---|---|---|
committer | GeoSot <geo.sotis@gmail.com> | 2022-07-01 00:19:29 +0300 |
commit | 133a8ab4c9ac6413047af79b9c45e66541d515d3 (patch) | |
tree | 033cd91225654dbacab8164e54f0b722b8d1e43c | |
parent | f2692b1c5827c612fc5a1b7d03e11fbb692e7e1f (diff) |
Add a banner mixin, helping future releases and maintenance
-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 | 10 |
5 files changed, 19 insertions, 25 deletions
diff --git a/scss/bootstrap-grid.scss b/scss/bootstrap-grid.scss index 115cab4db5..1c4cdd1a0f 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 4bae00fe78..c1f93435ff 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(Docs, "Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)"); @import "functions"; @import "variables"; diff --git a/scss/bootstrap-utilities.scss b/scss/bootstrap-utilities.scss index 43a40c5c66..c940676ac1 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 a167ff89a7..8f8296deff 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 0000000000..ae73f8baae --- /dev/null +++ b/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} + */ +} + |