Skip to content

Commit

Permalink
feat(icon): change peer icon on top bar
Browse files Browse the repository at this point in the history
Signed-off-by: Sacha Froment <sfroment42@gmail.com>
  • Loading branch information
sfroment committed Feb 4, 2019
1 parent 67da527 commit 2a1b001
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/react-native/common/components/Library/Header.js
Expand Up @@ -185,7 +185,7 @@ class StateBadge extends PureComponent {
<Text icon='berty-berty_picto' size={5} padding={5} rounded small background={bgBertyColor} color={bertyColor}>{bertyText.toLocaleUpperCase()}</Text>
</View>
<View style={{ marginRight: 2 }} >
<Text icon='users' size={5} padding={5} rounded small background={bgPeerColor} color={peerColor}>{count.toString()}</Text>
<Text icon='berty-chart-network-solid' size={5} padding={5} rounded small background={bgPeerColor} color={peerColor}>{count.toString()}</Text>
</View>
<View style={{ marginRight: 2 }} >
<Text icon='bluetooth' size={5} padding={5} rounded small background={bgBleColor} color={bleColor}>{bleText.toLocaleUpperCase()}</Text>
Expand Down
42 changes: 42 additions & 0 deletions client/react-native/common/static/svg/config.json
Expand Up @@ -19,6 +19,48 @@
"search": [
"berty_picto"
]
},
{
"uid": "364d10221ce44951e9665805f675226c",
"css": "chart-network-regular",
"code": 59392,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M1109.4 718.8C1072.1 718.8 1038.5 733.6 1013.3 757.2L860.5 669.9C869.3 646.1 875 620.7 875 593.8 875 472.9 777.1 375 656.3 375 639.8 375 623.8 377.1 608.6 380.7L545.7 245.9C575 220.1 593.8 182.8 593.8 140.8 593.8 63.1 530.9 0.2 453.1 0.2S312.5 63.1 312.5 140.8 375.4 281.4 453.1 281.4C454.9 281.4 456.6 281.1 458.4 280.9L523.8 420.9C471.7 460.7 437.5 523 437.5 593.8 437.5 714.6 535.4 812.5 656.3 812.5 716.2 812.5 770.7 788.3 810.2 749L970.7 840.8C969.9 846.9 968.8 853.1 968.8 859.4 968.8 937.1 1031.6 1000 1109.4 1000S1250 937.1 1250 859.4 1187.1 718.8 1109.4 718.8ZM453.1 187.5C427.3 187.5 406.3 166.4 406.3 140.6S427.3 93.8 453.1 93.8 500 114.8 500 140.6 478.9 187.5 453.1 187.5ZM656.3 718.8C587.3 718.8 531.3 662.7 531.3 593.8S587.3 468.8 656.3 468.8 781.3 524.8 781.3 593.8 725.2 718.8 656.3 718.8ZM1109.4 906.3C1083.6 906.3 1062.5 885.2 1062.5 859.4S1083.6 812.5 1109.4 812.5 1156.3 833.6 1156.3 859.4 1135.2 906.3 1109.4 906.3ZM1003.1 396.1L965.6 346.1 871.9 416.4 909.4 466.4 1003.1 396.1ZM1125 375C1193.9 375 1250 318.9 1250 250S1193.9 125 1125 125 1000 181.1 1000 250 1056.1 375 1125 375ZM296.9 625H390.6V562.5H296.9V625ZM125 468.8C56.1 468.8 0 524.8 0 593.8S56.1 718.8 125 718.8 250 662.7 250 593.8 193.9 468.8 125 468.8Z",
"width": 1250
},
"search": [
"chart-network-regular"
]
},
{
"uid": "32f72a6bd926cba1c946a287a5c704f6",
"css": "chart-network-solid",
"code": 59394,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M1125 375C1193.9 375 1250 318.9 1250 250S1193.9 125 1125 125 1000 181.1 1000 250 1056.1 375 1125 375ZM125 468.8C56.1 468.8 0 524.8 0 593.8S56.1 718.8 125 718.8 250 662.7 250 593.8 193.9 468.8 125 468.8ZM1003.1 396.1L965.6 346.1 871.9 416.4 909.4 466.4 1003.1 396.1ZM1125 750C1096.9 750 1071.1 759.8 1050.2 775.4L862.7 662.9C870.1 641 875 618 875 593.6 875 472.7 777.1 374.8 656.3 374.8 639.8 374.8 623.8 377 608.6 380.5L528.9 209.8C549.6 187.5 562.5 157.8 562.5 125 562.5 56.1 506.4 0 437.5 0S312.5 56.1 312.5 125 368.6 250 437.5 250C439.6 250 441.6 249.4 443.8 249.4L523.8 420.9C471.7 460.7 437.5 523 437.5 593.8 437.5 714.6 535.4 812.5 656.3 812.5 718.9 812.5 775 785.7 814.8 743.6L1002 855.9C1001 862.1 1000 868.6 1000 875 1000 943.9 1056.1 1000 1125 1000S1250 943.9 1250 875 1193.9 750 1125 750ZM656.3 687.5C604.5 687.5 562.5 645.5 562.5 593.8S604.5 500 656.3 500 750 542 750 593.8 708 687.5 656.3 687.5ZM296.9 625H390.6V562.5H296.9V625Z",
"width": 1250
},
"search": [
"chart-network-solid"
]
},
{
"uid": "00e8a08a8c79a67eb444b445feb22a1d",
"css": "chart-network-light",
"code": 59393,
"src": "custom_icons",
"selected": false,
"svg": {
"path": "M1003.1 396.1L965.6 346.1 871.9 416.4 909.4 466.4 1003.1 396.1ZM1125 375C1151 375 1175 367.2 1194.9 353.7 1208.2 344.7 1219.7 333.2 1228.7 319.9 1242.2 300 1250 276 1250 250 1250 224 1242.2 200 1228.7 180.1 1224.2 173.4 1219.1 167.2 1213.5 161.5 1207.8 155.9 1201.6 150.8 1194.9 146.3 1175 132.8 1151 125 1125 125S1075 132.8 1055.1 146.3C1041.8 155.3 1030.3 166.8 1021.3 180.1 1007.8 200 1000 224 1000 250 1000 318.9 1056.1 375 1125 375ZM1125 187.5C1159.4 187.5 1187.5 215.6 1187.5 250S1159.4 312.5 1125 312.5 1062.5 284.4 1062.5 250 1090.6 187.5 1125 187.5ZM194.9 490C175 476.6 151 468.8 125 468.8S75 476.6 55.1 490C41.8 499 30.3 510.5 21.3 523.8 7.8 543.8 0 567.8 0 593.8 0 662.7 56.1 718.8 125 718.8S250 662.7 250 593.8C250 567.8 242.2 543.8 228.7 523.8 219.7 510.5 208.2 499 194.9 490ZM125 656.3C90.6 656.3 62.5 628.1 62.5 593.8S90.6 531.3 125 531.3 187.5 559.4 187.5 593.8 159.4 656.3 125 656.3ZM296.9 625H390.6V562.5H296.9V625ZM1213.5 786.5C1207.8 780.9 1201.6 775.8 1194.9 771.3 1175 757.8 1151 750 1125 750S1075 757.8 1055.1 771.3C1048.6 775.6 1042.8 780.5 1037.3 785.9L858 678.3C868.9 652.3 875 623.6 875 593.7 875 472.9 777.1 375 656.3 375 634.2 375 613.5 379.3 593.4 385.2L516.6 220.9C544.5 198 562.5 163.9 562.5 125 562.5 99 554.7 75 541.2 55.1 532.2 41.8 520.7 30.3 507.4 21.3 487.5 7.8 463.5 0 437.5 0S387.5 7.8 367.6 21.3C354.3 30.3 342.8 41.8 333.8 55.1 320.3 75 312.5 99 312.5 125 312.5 193.9 368.6 250 437.5 250 445.3 250 452.9 249 460.4 247.7L536.5 410.9C477 450 437.5 517.2 437.5 593.8 437.5 714.6 535.4 812.5 656.3 812.5 724.6 812.5 784.8 780.5 825 731.4L1005.5 839.6C1002.1 851 1000.2 862.7 1000.2 875 1000.2 943.9 1056.3 1000 1125.2 1000 1151.2 1000 1175.2 992.2 1195.1 978.7 1208.4 969.7 1219.9 958.2 1228.9 944.9 1242.2 925 1250 901 1250 875 1250 849 1242.2 825 1228.7 805.1 1224.2 798.4 1218.9 792.2 1213.5 786.5ZM437.5 187.5C403.1 187.5 375 159.4 375 125S403.1 62.5 437.5 62.5 500 90.6 500 125 471.9 187.5 437.5 187.5ZM656.3 750C570.1 750 500 679.9 500 593.8S570.1 437.5 656.3 437.5 812.5 507.6 812.5 593.8 742.4 750 656.3 750ZM1125 937.5C1090.6 937.5 1062.5 909.4 1062.5 875S1090.6 812.5 1125 812.5 1187.5 840.6 1187.5 875 1159.4 937.5 1125 937.5Z",
"width": 1250
},
"search": [
"chart-network-light"
]
}
]
}
Binary file modified client/react-native/common/static/svg/fontello.ttf
Binary file not shown.

0 comments on commit 2a1b001

Please sign in to comment.