Network Explorer world map shows muted fill for countries with zero mixnodes

This commit is contained in:
Mark Sinclair
2022-02-28 12:58:18 +00:00
parent 1e805be5ad
commit 2004148710
2 changed files with 8 additions and 1 deletions
+1
View File
@@ -35,6 +35,7 @@ export const WorldMap: React.FC<MapProps> = ({
return scaleLinear<string, string>()
.domain([
0,
1,
heighestNumberOfNodes / 4,
heighestNumberOfNodes / 2,
heighestNumberOfNodes,
+7 -1
View File
@@ -89,7 +89,13 @@ const networkExplorerPalette = (
/** world map styles */
map: {
stroke: '#333333',
fills: ['#EFEFEF', '#FBE7E1', '#F7D1C6', '#F09379'],
fills: [
'rgba(255,255,255,0.2)',
'#EFEFEF',
'#FBE7E1',
'#F7D1C6',
'#F09379',
],
},
background: {
tertiary: variant.mode === 'light' ? '#F4F8FA' : '#323C51',