summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/page_bundles/_mixins_and_variables_and_functions.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/page_bundles/_mixins_and_variables_and_functions.scss')
-rw-r--r--app/assets/stylesheets/page_bundles/_mixins_and_variables_and_functions.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/assets/stylesheets/page_bundles/_mixins_and_variables_and_functions.scss b/app/assets/stylesheets/page_bundles/_mixins_and_variables_and_functions.scss
new file mode 100644
index 00000000000..0e8ea5e2d52
--- /dev/null
+++ b/app/assets/stylesheets/page_bundles/_mixins_and_variables_and_functions.scss
@@ -0,0 +1,21 @@
+/**
+ This file contains only imports of Bootstrap, GitLab UI and GitLab mixins,
+ variables and functions, in the correct order.
+
+ It is meant to be used in page_bundles, but SHOULD NOT introduce any
+ styles of it's own. We actually check in CI that compiling _this_ file doesn't
+ result in any additional styles.
+
+ See: scripts/frontend/check_page_bundle_mixins_css_for_sideeffects.js
+ */
+@import 'framework/variables';
+@import 'framework/variables_overrides';
+@import 'framework/mixins';
+
+@import 'bootstrap/scss/functions';
+@import 'bootstrap/scss/variables';
+@import 'bootstrap/scss/mixins';
+
+@import '@gitlab/ui/src/scss/functions';
+@import '@gitlab/ui/src/scss/variables';
+@import '@gitlab/ui/src/scss/utility-mixins/index';