bugs ahoy and icons

This commit is contained in:
ntr
2019-04-10 18:31:11 +10:00
parent 4747bc7dec
commit 5b5de416e1
13 changed files with 330 additions and 140 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ module.exports = {
upgrades: 'combine with 2 red / blue / green',
},
LifeI: {
GreenLifeI: {
description: 'Increases life',
colours: ['green'],
thresholds: [5, 10, 20],
+25 -25
View File
@@ -1,31 +1,31 @@
const preact = require('preact');
module.exports = function triangle(classes) {
module.exports = function vboxColour(classes) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 40" className={classes} >
<path id="Unnamed"
fill="none" strokeWidth="1px"
d="M 21.18,19.55
C 21.18,19.55 78.55,19.55 78.55,19.55M 85.00,14.00
C 85.00,14.00 85.00,25.00 85.00,25.00
85.00,25.00 15.00,25.00 15.00,25.00
15.00,25.00 15.00,14.00 15.00,14.00
15.00,14.00 85.00,14.00 85.00,14.00 Z
M 85.00,14.00
C 85.00,14.00 85.00,25.00 85.00,25.00
85.00,25.00 15.00,25.00 15.00,25.00
15.00,25.00 15.00,14.00 15.00,14.00
15.00,14.00 85.00,14.00 85.00,14.00 Z
M 95.00,4.00
C 95.00,4.00 95.00,35.00 95.00,35.00
95.00,35.00 4.00,35.00 4.00,35.00
4.00,35.00 4.00,4.00 4.00,4.00
4.00,4.00 95.00,4.00 95.00,4.00 Z
M 90.00,9.00
C 90.00,9.00 90.00,30.00 90.00,30.00
90.00,30.00 9.00,30.00 9.00,30.00
9.00,30.00 9.00,9.00 9.00,9.00
9.00,9.00 90.00,9.00 90.00,9.00 Z" />
<path id="Unnamed"
fill="none" strokeWidth="1px"
d="M 20,20
C 20,20 80,20 80,20M 85.00,15.00
C 85.00,15.00 85.00,25.00 85.00,25.00
85.00,25.00 15.00,25.00 15.00,25.00
15.00,25.00 15.00,15.00 15.00,15.00
15.00,15.00 85.00,15.00 85.00,15.00 Z
M 85.00,15.00
C 85.00,15.00 85.00,25.00 85.00,25.00
85.00,25.00 15.00,25.00 15.00,25.00
15.00,25.00 15.00,15.00 15.00,15.00
15.00,15.00 85.00,15.00 85.00,15.00 Z
M 95.00,5.00
C 95.00,5.00 95.00,35.00 95.00,35.00
95.00,35.00 5.00,35.00 5.00,35.00
5.00,35.00 5.00,5.00 5.00,5.00
5.00,5.00 95.00,5.00 95.00,5.00 Z
M 90.00,10.00
C 90.00,10.00 90.00,30.00 90.00,30.00
90.00,30.00 10.00,30.00 10.00,30.00
10.00,30.00 10.00,10.00 10.00,10.00
10.00,10.00 90.00,10.00 90.00,10.00 Z" />
</svg>
);
}
};
+3 -3
View File
@@ -92,9 +92,9 @@ const SPECS = {
};
const COLOUR_ICONS = {
red: { colour: 'red', caption: 'red', svg: shapes.hexagon },
blue: { colour: 'blue', caption: 'blue', svg: shapes.hexagon },
green: { colour: 'green', caption: 'green', svg: shapes.hexagon },
red: { colour: 'red', caption: 'red', svg: shapes.square },
blue: { colour: 'blue', caption: 'blue', svg: shapes.square },
green: { colour: 'green', caption: 'green', svg: shapes.square },
};
module.exports = {