Skip to content

Commit 0de2099

Browse files
committed
Remove old system
1 parent f6773f8 commit 0de2099

File tree

6 files changed

+3
-58
lines changed

6 files changed

+3
-58
lines changed

src/lib/bem.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,3 @@ export default function bem(block, element, modifiers) {
4343

4444
return out.join(' ');
4545
}
46-
47-
export function icon(iconName) {
48-
return `icon-${iconName}`;
49-
}

src/lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import bem, {icon} from './bem';
1+
import bem from './bem';
22
import connectAnnotationToLayout from './connectAnnotationToLayout';
33
import connectAxesToLayout from './connectAxesToLayout';
44
import connectLayoutToPlot, {getLayoutContext} from './connectLayoutToPlot';
@@ -42,7 +42,6 @@ export {
4242
findFullTraceIndex,
4343
getDisplayName,
4444
getLayoutContext,
45-
icon,
4645
isPlainObject,
4746
localize,
4847
localizeString,

src/styles/_shame.scss

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/styles/icons/_icons.scss

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/styles/icons/_main.scss

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/styles/main.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@
66
.plotly-editor {
77
position: relative;
88
width: $layout-panel-width;
9-
flex-shrink:0;
9+
flex-shrink: 0;
1010
overflow: hidden;
1111
display: flex;
1212
font-family: $ff-default;
1313
@import 'components/main';
14-
@import 'icons/main';
1514
@include font-smoothing;
16-
&__wrapper{
15+
&__wrapper {
1716
display: flex;
1817
flex-grow: 1;
1918
}
2019
}
21-
22-
@import 'shame';

0 commit comments

Comments
 (0)