Skip to content

Commit 828b0b9

Browse files
author
Dave Ferris
committed
2 parents 2922df0 + 735aa4d commit 828b0b9

File tree

15 files changed

+53
-22
lines changed

15 files changed

+53
-22
lines changed

.babelrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
],
66
"plugins": [
77
"@babel/plugin-proposal-object-rest-spread",
8+
["module-resolver", {
9+
"alias": {
10+
"src": "./src",
11+
"scss": "./scss"
12+
}
13+
}]
814
],
915
"env": {
1016
"production": {

.storybook/webpack.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,5 @@ module.exports = function({ config }) {
77
include: path.resolve(__dirname, '../')
88
});
99

10-
config.resolve.modules = [
11-
...(config.resolve.modules || []),
12-
path.resolve('./'),
13-
];
14-
1510
return config;
1611
};

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"polished": "^3.4.2",
1313
"prop-types": "^15.7.2",
1414
"react-bootstrap": "^1.0.0-beta.16",
15-
"react-transition-group": "^4.3.0",
1615
"react-copy-to-clipboard": "^5.0.2",
1716
"react-popper": "^1.3.7",
1817
"react-select": "^3.0.8",
1918
"react-tracking": "^7.3.0",
19+
"react-transition-group": "^4.3.0",
2020
"uuid": "^7.0.2"
2121
},
2222
"scripts": {
@@ -66,6 +66,7 @@
6666
"@testing-library/react-hooks": "^3.2.1",
6767
"babel-eslint": "^10.0.3",
6868
"babel-loader": "^8.0.6",
69+
"babel-plugin-module-resolver": "^4.0.0",
6970
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
7071
"babel-preset-react": "^6.24.1",
7172
"css-loader": "^3.4.2",

scss/colors/palette.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $ux-gray: #A1A1A1;
66
$ux-green: #6DBD63;
77
$ux-light-blue: #7CCBF2;
88
$ux-orange: #F59C27;
9-
$ux-purple: #8B008B;
9+
$ux-purple: #874B96;
1010
$ux-red: #FF4E00;
1111
$ux-white: #FFFFFF;
1212
$ux-yellow: #F6D810;

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;

0 commit comments

Comments
 (0)