aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-12-01 16:47:07 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-12-01 16:47:07 +0800
commit6f44944ffdb3c529b2135414818bc7e5dcc198b0 (patch)
tree50c9158e43a43eaf237bd7a186afce2756be0bf8
parent074944247dfdcd91fb7acbe064ccf3c3d2139ddc (diff)
downloaddexon-sol-tools-6f44944ffdb3c529b2135414818bc7e5dcc198b0.tar
dexon-sol-tools-6f44944ffdb3c529b2135414818bc7e5dcc198b0.tar.gz
dexon-sol-tools-6f44944ffdb3c529b2135414818bc7e5dcc198b0.tar.bz2
dexon-sol-tools-6f44944ffdb3c529b2135414818bc7e5dcc198b0.tar.lz
dexon-sol-tools-6f44944ffdb3c529b2135414818bc7e5dcc198b0.tar.xz
dexon-sol-tools-6f44944ffdb3c529b2135414818bc7e5dcc198b0.tar.zst
dexon-sol-tools-6f44944ffdb3c529b2135414818bc7e5dcc198b0.zip
fix(instant): darken overlay color
-rw-r--r--packages/instant/public/augur_screenshot.pngbin0 -> 359383 bytes
-rw-r--r--packages/instant/public/index.html6
-rw-r--r--packages/instant/src/components/ui/overlay.tsx2
3 files changed, 7 insertions, 1 deletions
diff --git a/packages/instant/public/augur_screenshot.png b/packages/instant/public/augur_screenshot.png
new file mode 100644
index 000000000..c61cf6e7c
--- /dev/null
+++ b/packages/instant/public/augur_screenshot.png
Binary files differ
diff --git a/packages/instant/public/index.html b/packages/instant/public/index.html
index df39994ef..8e0875645 100644
--- a/packages/instant/public/index.html
+++ b/packages/instant/public/index.html
@@ -31,6 +31,11 @@
height: 100vh;
background-color: rgba(0, 0, 0, 0.2);
}
+
+ .full-screen {
+ height: 100vh;
+ width: 100vw;
+ }
</style>
</head>
@@ -58,6 +63,7 @@
</button>
</div>
</div>
+ <img id="augurScreenshot" class="full-screen" src="./augur_screenshot.png" />
<div id="zeroExInstantContainer"></div>
<script>
// Simulate history
diff --git a/packages/instant/src/components/ui/overlay.tsx b/packages/instant/src/components/ui/overlay.tsx
index f67d6fb2f..7d311dc2f 100644
--- a/packages/instant/src/components/ui/overlay.tsx
+++ b/packages/instant/src/components/ui/overlay.tsx
@@ -33,7 +33,7 @@ export const Overlay =
Overlay.defaultProps = {
zIndex: zIndex.overlayDefault,
- backgroundColor: generateOverlayBlack(0.6),
+ backgroundColor: generateOverlayBlack(0.9),
};
Overlay.displayName = 'Overlay';