diff --git a/gsa/package.json b/gsa/package.json
index 4190f46b9a..dacb4b9752 100644
--- a/gsa/package.json
+++ b/gsa/package.json
@@ -37,7 +37,6 @@
"downshift": "^1.31.6",
"fast-deep-equal": "^1.1.0",
"glamor": "^2.20.40",
- "glamorous": "^4.13.1",
"history": "^4.7.2",
"hoist-non-react-statics": "^2.5.5",
"i18next": "^11.3.3",
diff --git a/gsa/src/web/stories/chart/bar.js b/gsa/src/web/stories/chart/bar.js
index 26c3e26951..7b1261f509 100644
--- a/gsa/src/web/stories/chart/bar.js
+++ b/gsa/src/web/stories/chart/bar.js
@@ -22,12 +22,16 @@
*/
import React from 'react';
-import {Div} from 'glamorous';
+import styled from 'styled-components';
import {storiesOf} from '@storybook/react';
import BarChart from 'web/components/chart/bar';
+const Div = styled.div`
+ color: ${props => props.color}
+`;
+
const bardata = [{
label: 'Foo',
x: 'foo',
diff --git a/gsa/src/web/stories/chart/legend.js b/gsa/src/web/stories/chart/legend.js
index ece772f1d0..defe286c94 100644
--- a/gsa/src/web/stories/chart/legend.js
+++ b/gsa/src/web/stories/chart/legend.js
@@ -22,12 +22,17 @@
*/
import React from 'react';
-import {Div} from 'glamorous';
+import styled from 'styled-components';
import {storiesOf} from '@storybook/react';
import Legend, {Label, Item, Line} from 'web/components/chart/legend';
+const Div = styled.div`
+ display: flex;
+ margin: ${props => props.margin};
+`;
+
const data = [
{
label: 'G',
@@ -61,14 +66,14 @@ const data = [
storiesOf('Chart/Legend', module)
.add('default', () => {
return (
-
+
);
})
.add('line', () => {
return (
-
+