aboutsummaryrefslogtreecommitdiff
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
parentcde5160d1d9b2528de7894ce9d8b73c5ef8fb0e7 (diff)
downloadchrono-cube-ui-ac791ff6d0c80f90b51866caa3b5195e5f47a045.tar.gz
feat: use react-benzin v1.0.1
-rw-r--r--package-lock.json8
-rw-r--r--package.json2
-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
9 files changed, 11 insertions, 35 deletions
diff --git a/package-lock.json b/package-lock.json
index ac02e0d..4f6aef0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11342,10 +11342,10 @@
"whatwg-fetch": "^3.0.0"
}
},
- "react-benzin-test": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/react-benzin-test/-/react-benzin-test-2.0.4.tgz",
- "integrity": "sha512-7cMk82c9eSTHuGhdjHXtmY0FXohgjHUZftns7wipumiTIE1uHI25Kme6cTSZUTkOyZyuXb73smC/rfeMx86b1w==",
+ "react-benzin": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/react-benzin/-/react-benzin-1.0.1.tgz",
+ "integrity": "sha512-ZqU/SUYzqYJ8M0ozVv0y089rLXRZGRnsSnoCLYvnQLZFC2oE7fr7PfQd/aeleKvMic6Kx80IPfp2knLBGTgjtA==",
"requires": {
"@material-ui/core": "^4.9.0",
"@material-ui/icons": "^4.5.1",
diff --git a/package.json b/package.json
index 321ddf4..2fbbac4 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
"axios": "^0.19.2",
"gh-pages": "^2.2.0",
"react": "^16.12.0",
- "react-benzin-test": "^2.0.4",
+ "react-benzin": "^1.0.1",
"react-dom": "^16.12.0",
"react-scripts": "3.3.0",
"react-virtualized-auto-sizer": "^1.0.2",
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;