Skip to content

Commit 8e5b93e

Browse files
authored
update relative bootstrap imports (#497)
1 parent fb49996 commit 8e5b93e

File tree

7 files changed

+5
-15
lines changed

7 files changed

+5
-15
lines changed

scss/bootstrap.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@import '~bootstrap/scss/functions';
2+
@import '~bootstrap/scss/variables';
3+
@import '~bootstrap/scss/mixins';

scss/theme.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import './anchors';
2+
@import './bootstrap';
23
@import './borders';
34
@import './box_shadow';
45
@import './buttons';

src/Button/Button.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
@import '../../scss/theme';
22

3-
@import "../../node_modules/bootstrap/scss/functions";
4-
@import "../../node_modules/bootstrap/scss/variables";
5-
@import "../../node_modules/bootstrap/scss/mixins";
6-
73
$primary: $ux-emerald-600;
84
$danger: $ux-red;
95
$warning: $ux-yellow-400;

src/Card/Card.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
@import '~bootstrap/scss/functions';
2-
@import '~bootstrap/scss/variables';
3-
@import '~bootstrap/scss/mixins/breakpoints';
41
@import '../../scss/theme';
52

63
$card-xs-spacing: 1rem;

src/Layout/SidebarNav/SidebarNavLink.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@import '../../scss/theme.scss';
2-
@import '~bootstrap/scss/mixins/breakpoints';
32

43
.Layout__sidebar-nav__link {
54
@include font-type-30;

src/Modal/Modal.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
@import '../../scss/theme.scss';
2-
@import '~bootstrap/scss/functions';
3-
@import '~bootstrap/scss/variables';
42

53
.ReactModal {
64
&__Body--open {
@@ -76,4 +74,4 @@
7674
opacity: 1;
7775
}
7876
}
79-
}
77+
}

src/Toast/Toast.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
@import '~bootstrap/scss/functions';
2-
@import '~bootstrap/scss/variables';
3-
@import '~bootstrap/scss/mixins';
4-
51
@import '../../scss/theme';
62

73
.Toast {

0 commit comments

Comments
 (0)