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
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
width="1.375in" height="0.555556in"
viewBox="0 0 99 40">
<path id="Unnamed #8"
fill="none" stroke="black" stroke-width="1"
d="M 3.91,34.64
C 3.91,34.64 95.00,34.64 95.00,34.64M 3.91,25.09
C 3.91,25.09 95.00,25.09 95.00,25.09M 3.82,14.00
C 3.82,14.00 94.91,14.00 94.91,14.00M 3.91,4.00
C 3.91,4.00 95.00,4.00 95.00,4.00" />
</svg>

After

Width:  |  Height:  |  Size: 624 B

+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
width="1.38889in" height="0.555556in"
viewBox="0 0 100 40">
<path id="Path"
fill="none" stroke="black" stroke-width="1"
d="M 50.00,4.00
C 50.00,4.00 50.00,36.00 50.00,36.00M 4.00,20.00
C 4.00,20.00 96.00,20.00 96.00,20.00" />
</svg>

After

Width:  |  Height:  |  Size: 505 B

+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
width="1.375in" height="0.555556in"
viewBox="0 0 99 40">
<path id="Path #6"
fill="none" stroke="black" stroke-width="1"
d="M 4.00,35.00
C 4.00,35.00 95.00,35.00 95.00,35.00M 8.91,29.91
C 8.91,29.91 89.91,29.91 89.91,29.91M 14.91,24.91
C 14.91,24.91 85.00,25.00 85.00,25.00M 21.00,19.00
C 21.00,19.00 78.91,18.91 78.91,18.91M 15.09,14.18
C 15.09,14.18 85.00,14.09 85.00,14.09M 9.00,9.09
C 9.00,9.09 89.91,9.09 89.91,9.09M 4.00,4.09
C 4.00,4.09 94.91,4.09 94.91,4.09" />
</svg>

After

Width:  |  Height:  |  Size: 803 B

+2 -2
View File
@@ -412,8 +412,8 @@ header {
}
.vbox-table td svg {
stroke-width: 1.5px;
height: 95%;
stroke-width: 2px;
height: 96%;
vertical-align: text-bottom;
}
+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 = {