aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-28 22:13:00 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-28 22:13:00 +0300
commitac791ff6d0c80f90b51866caa3b5195e5f47a045 (patch)
tree773a99deaf05ea75b5179ee9c7f9f7899fa56bbc /src
parentcde5160d1d9b2528de7894ce9d8b73c5ef8fb0e7 (diff)
downloadchrono-cube-ui-ac791ff6d0c80f90b51866caa3b5195e5f47a045.tar.gz
feat: use react-benzin v1.0.1
Diffstat (limited to 'src')
-rw-r--r--src/index.js2
-rw-r--r--src/pages/Contribute/Contribute.js2
-rw-r--r--src/pages/Profile/Profile.js2
-rw-r--r--src/pages/Profile/Registration/Registration.js2
-rw-r--r--src/pages/Scoreboard/Scoreboard.js2
-rw-r--r--src/pages/Timer/Timer.js2
-rw-r--r--src/theme.js24
7 files changed, 6 insertions, 30 deletions
diff --git a/src/index.js b/src/index.js
index dd5ea8c..49c66e7 100644
--- a/src/index.js
+++ b/src/index.js
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom';
import {
BenzinThemeProvider,
Header,
-} from 'react-benzin-test';
+} from 'react-benzin';
import 'typeface-roboto';
diff --git a/src/pages/Contribute/Contribute.js b/src/pages/Contribute/Contribute.js
index 70003ba..aa1c3f7 100644
--- a/src/pages/Contribute/Contribute.js
+++ b/src/pages/Contribute/Contribute.js
@@ -15,7 +15,7 @@ import TrendingUpIcon from '@material-ui/icons/TrendingUp';
import BugReportIcon from '@material-ui/icons/BugReport';
import NewReleasesIcon from '@material-ui/icons/NewReleases';
-import { Window, ContentSection } from 'react-benzin-test';
+import { Window, ContentSection } from 'react-benzin';
const useStyles = makeStyles(theme => ({
diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js
index 6ea90c4..65c3734 100644
--- a/src/pages/Profile/Profile.js
+++ b/src/pages/Profile/Profile.js
@@ -10,7 +10,7 @@ import {
Window,
ContentSection,
SmartList,
-} from 'react-benzin-test';
+} from 'react-benzin';
import SolutionCard from '../../components/SolutionCard/SolutionCard';
diff --git a/src/pages/Profile/Registration/Registration.js b/src/pages/Profile/Registration/Registration.js
index 2aecc4a..b2d5503 100644
--- a/src/pages/Profile/Registration/Registration.js
+++ b/src/pages/Profile/Registration/Registration.js
@@ -8,7 +8,7 @@ import {
Grid,
} from '@material-ui/core';
-import { ContentSection } from 'react-benzin-test';
+import { ContentSection } from 'react-benzin';
import { get, post } from '../../../requests';
diff --git a/src/pages/Scoreboard/Scoreboard.js b/src/pages/Scoreboard/Scoreboard.js
index 7385f3a..47c0899 100644
--- a/src/pages/Scoreboard/Scoreboard.js
+++ b/src/pages/Scoreboard/Scoreboard.js
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
import { makeStyles } from '@material-ui/core/styles';
-import { Window, SmartList } from 'react-benzin-test';
+import { Window, SmartList } from 'react-benzin';
import SolutionCard from '../../components/SolutionCard/SolutionCard';
import Loading from '../../components/Loading/Loading';
diff --git a/src/pages/Timer/Timer.js b/src/pages/Timer/Timer.js
index e42e318..6020c1b 100644
--- a/src/pages/Timer/Timer.js
+++ b/src/pages/Timer/Timer.js
@@ -6,7 +6,7 @@ import {
Window,
ContentSection,
SmartList,
-} from 'react-benzin-test';
+} from 'react-benzin';
import TimerButton from './TimerButton/TimerButton';
import SolutionCard from '../../components/SolutionCard/SolutionCard';
diff --git a/src/theme.js b/src/theme.js
deleted file mode 100644
index 3c671e6..0000000
--- a/src/theme.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import { createMuiTheme } from '@material-ui/core/styles'
-
-const theme = createMuiTheme({
- palette: {
- type: 'dark',
- primary: {
- main: '#0a0909',
- },
- secondary: {
- main: '#ff7315',
- },
- background: {
- default: '#232020',
- paper: '#0f0e0e',
- elevation: 'rgba(255, 255, 255, 0.04)',
- },
- text: {
- primary: '#f4f4f4',
- secondary: '#6f6666',
- }
- },
-});
-
-export default theme;