Skip to content

Commit

Permalink
Update normes
Browse files Browse the repository at this point in the history
  • Loading branch information
PHClement committed Jul 27, 2022
1 parent 416b5e1 commit 5940bfc
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-dpe-generator",
"version": "1.0.3",
"version": "1.0.5",
"description": "Generate an SVG graph for DPE and GES.",
"author": "PHClement",
"license": "MIT",
Expand All @@ -27,7 +27,6 @@
"react": "^16.0.0"
},
"devDependencies": {
"microbundle-crl": "^0.13.10",
"babel-eslint": "^10.0.3",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
Expand All @@ -41,6 +40,7 @@
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-standard": "^4.0.1",
"gh-pages": "^2.2.0",
"microbundle-crl": "^0.13.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"react": "^16.13.1",
Expand Down
52 changes: 26 additions & 26 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,51 +496,51 @@ export function GES(props) {
const valuesRange = [
{
min: null,
max: 5,
color: '#f2eff4',
textColor: '#000000',
max: 6,
color: '#b4d9f6',
textColor: '#fff',
label: 'A'
},
{
min: 6,
max: 10,
color: '#dfc1f7',
textColor: '#000000',
min: 7,
max: 11,
color: '#97b1d4',
textColor: '#fff',
label: 'B'
},
{
min: 11,
max: 20,
color: '#d6aaf4',
textColor: '#000000',
min: 12,
max: 30,
color: '#7d90b0',
textColor: '#fff',
label: 'C'
},
{
min: 21,
max: 35,
color: '#cc93f4',
textColor: '#000000',
min: 31,
max: 50,
color: '#656f8b',
textColor: '#fff',
label: 'D'
},
{
min: 36,
max: 55,
color: '#bb72f3',
textColor: '#ffffff',
min: 51,
max: 70,
color: '#4e5170',
textColor: '#fff',
label: 'E'
},
{
min: 56,
max: 80,
color: '#a94cee',
textColor: '#ffffff',
min: 71,
max: 100,
color: '#3b3854',
textColor: '#fff',
label: 'F'
},
{
min: 81,
min: 101,
max: null,
color: '#8b1ae1',
textColor: '#ffffff',
color: '#271f39',
textColor: '#fff',
label: 'G'
}
]
Expand Down

0 comments on commit 5940bfc

Please sign in to comment.