Skip to content

Commit

Permalink
Revert "fix: 使用@use替换过期的@import语法"
Browse files Browse the repository at this point in the history
This reverts commit 76646f3.
  • Loading branch information
duan602728596 committed Dec 12, 2024
1 parent 3ee9fdf commit 8974bed
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/help/src/style/_bootstrap.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@use 'sass:map';

/** 1. Include function */
@use '../../../../node_modules/bootstrap/scss/functions';
@import '../../../../node_modules/bootstrap/scss/functions';

/** 2. Variable overrides */
$enable-dark-mode: false; // 关闭暗黑模式 - bootstrap/scss/root

/** 3. Remainder of required Bootstrap stylesheets */
@use '../../../../node_modules/bootstrap/scss/variables';
@import '../../../../node_modules/bootstrap/scss/variables';

/** 4. Default map overrides */
$display-font-sizes: (); // bootstrap/scss/type
Expand Down Expand Up @@ -188,26 +188,26 @@ $utilities: (
);

/** 5. Remainder of required parts */
@use '../../../../node_modules/bootstrap/scss/maps';
@use '../../../../node_modules/bootstrap/scss/mixins';
@use '../../../../node_modules/bootstrap/scss/root';
@import '../../../../node_modules/bootstrap/scss/maps';
@import '../../../../node_modules/bootstrap/scss/mixins';
@import '../../../../node_modules/bootstrap/scss/root';

/** 6. Content */
@use '../../../../node_modules/bootstrap/scss/reboot';
@use '../../../../node_modules/bootstrap/scss/type';
@use './bootstrap/images';
@use './bootstrap/tables';
@import '../../../../node_modules/bootstrap/scss/reboot';
@import '../../../../node_modules/bootstrap/scss/type';
@import './bootstrap/images';
@import './bootstrap/tables';

/** 7. Components */
$theme-colors: ('primary': $primary); // bootstrap/scss/buttons

@use './bootstrap/buttons';
@import './bootstrap/buttons';

/** 8. Helpers */
$theme-colors: ('secondary': $secondary); // scss/helpers/color-bg

@use '../../../../node_modules/bootstrap/scss/helpers/color-bg';
@import '../../../../node_modules/bootstrap/scss/helpers/color-bg';

/** 9. utilities */
@use '../../../../node_modules/bootstrap/scss/utilities';
@use '../../../../node_modules/bootstrap/scss/utilities/api';
@import '../../../../node_modules/bootstrap/scss/utilities';
@import '../../../../node_modules/bootstrap/scss/utilities/api';

0 comments on commit 8974bed

Please sign in to comment.