Skip to content

Commit b6c56b6

Browse files
committed
[BUG] Fix SCSS imports
Since these files aren't processed on build right now, the absolute paths don't line up once the directory structure is changed. The temporary solution is to revert the changes and go back to relative paths for global scss imports.
1 parent eeb42a2 commit b6c56b6

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

src/CopyToClipboard/CopyToClipboard.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'scss/theme';
1+
@import '../../scss/theme';
22

33
.CopyToClipboard {
44
align-items: center;

src/Flash/Flash.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@import '~bootstrap/scss/mixins';
44
@import '~bootstrap/scss/alert';
55

6-
@import 'scss/theme';
6+
@import '../../scss/theme';
77

88
$top-padding: 1.25rem;
99
// Flash colors

src/FormGroup/FormGroup.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'scss/theme';
1+
@import '../../scss/theme';
22

33
.FormGroup {
44
margin: 1rem 0 0.5rem;

src/InputLabel/InputLabel.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'scss/theme';
1+
@import '../../scss/theme';
22

33
.InputLabel {
44
@include font-type-200;

src/Pill/Pill.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'scss/theme';
1+
@import '../../scss/theme';
22

33
.Pill {
44
display: inline;

src/Popper/Popper.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
@import 'scss/borders';
2-
@import 'scss/box_shadow';
3-
@import 'scss/colors';
4-
@import 'scss/typography';
1+
@import '../../scss/borders';
2+
@import '../../scss/box_shadow';
3+
@import '../../scss/colors';
4+
@import '../../scss/typography';
55

66
.Popper {
77
background-color: $ux-white;

src/RadioButton/RadioButton.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@import 'scss/theme';
2-
@import 'scss/borders';
1+
@import '../../scss/theme';
2+
@import '../../scss/borders';
33

44
.RadioButton {
55
display: flex;

stories/Card.stories.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { withKnobs, text } from '@storybook/addon-knobs';
44
import Card from 'src/Card';
55

66
import 'bootstrap/dist/css/bootstrap.min.css';
7-
import 'scss/global.scss';
7+
import '../scss/global.scss';
88

99
export default {
1010
title: 'Design System/Card',

stories/Flash.stories.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { withKnobs, text, radios } from '@storybook/addon-knobs';
33

44
import { withFlash, MessageTypes, withFlashPropTypes } from 'src/Flash';
55

6-
import 'scss/global.scss';
6+
import '../scss/global.scss';
77

88
let DummyComponent = ({ type, message, setFlashMessage }) => (
99
<div>

0 commit comments

Comments
 (0)