diff --git a/public/images/horizon_bg.svg b/public/images/horizon_bg.svg new file mode 100644 index 00000000..95df8cb8 --- /dev/null +++ b/public/images/horizon_bg.svg @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/bars/SubmitBar/styles.module.scss b/src/components/bars/SubmitBar/styles.module.scss index 8c605dc6..e9755f9c 100644 --- a/src/components/bars/SubmitBar/styles.module.scss +++ b/src/components/bars/SubmitBar/styles.module.scss @@ -14,7 +14,7 @@ } .button { - background: $danger_gradient; + background: $flow_gradient; width: $bar_height; height: $bar_height; border-radius: $bar_height * 0.5; diff --git a/src/components/charts/BasicCurveChart/index.tsx b/src/components/charts/BasicCurveChart/index.tsx index 33c8b85f..e86b4973 100644 --- a/src/components/charts/BasicCurveChart/index.tsx +++ b/src/components/charts/BasicCurveChart/index.tsx @@ -29,15 +29,18 @@ const BasicCurveChart: VFC = ({ (acc, val, index) => [ ...acc, index === 0 - ? { x: borderGap, y: height - (val / max) * (height - gap * 2) - gap } + ? { + x: borderGap, + y: height - (val / max) * (height - gap * 2) - gap, + } : { x: ((width - borderGap) / (items.length - 1)) * index, y: height - (val / max) * (height - gap * 2) - gap, }, ], - [] + [], ), - [height, width, items, gap] + [height, width, items, gap], ); if (!points.length) { @@ -49,20 +52,29 @@ const BasicCurveChart: VFC = ({ {...props} width="100%" height="100%" - viewBox={`0 0 ${width} ${height}`} + viewBox={`0 0 ${width} ${height * 1.05}`} preserveAspectRatio="none" > + + + + + + + + = ({ fill="none" x={0} y={0} + opacity={0.3} stroke={stroke} strokeWidth={2} strokeLinecap="round" @@ -84,9 +97,11 @@ const BasicCurveChart: VFC = ({ fill="none" x={0} y={0} - stroke={lighten(stroke, 0.1)} + stroke={stroke} + opacity={1} strokeWidth={1} strokeLinecap="round" + filter="url(#brighter)" /> ); diff --git a/src/components/charts/StatsGraphCard/index.tsx b/src/components/charts/StatsGraphCard/index.tsx index 6a727876..ce17e6c7 100644 --- a/src/components/charts/StatsGraphCard/index.tsx +++ b/src/components/charts/StatsGraphCard/index.tsx @@ -15,11 +15,19 @@ interface StatsGraphCardProps extends CardProps { right?: string | number; } -const StatsGraphCard: VFC = ({ total, title, data, left, right }) => ( +const StatsGraphCard: VFC = ({ + total, + title, + data, + left, + right, +}) => ( } + background={ + + } className={styles.card} >
diff --git a/src/components/editors/EditorButtons/index.tsx b/src/components/editors/EditorButtons/index.tsx index 7857774f..2ffb1e72 100644 --- a/src/components/editors/EditorButtons/index.tsx +++ b/src/components/editors/EditorButtons/index.tsx @@ -32,7 +32,7 @@ const EditorButtons: FC = () => {