aboutsummaryrefslogtreecommitdiffstats
path: root/ui-dev.js
diff options
context:
space:
mode:
authorDan Finlay <somniac@me.com>2016-07-08 06:11:21 +0800
committerGitHub <noreply@github.com>2016-07-08 06:11:21 +0800
commit2bd31c3e5024ca88b18190c145008ba87736f129 (patch)
tree27b3f32b69b302de0ac0750ad5b8a34f5f868da5 /ui-dev.js
parent3fb36b2dd388d7344fd7b3b7e32dcbafeabc9b48 (diff)
parentac808e681fe6a8666a4842cf7fde23345f63e96a (diff)
downloadtangerine-wallet-browser-2bd31c3e5024ca88b18190c145008ba87736f129.tar.gz
tangerine-wallet-browser-2bd31c3e5024ca88b18190c145008ba87736f129.tar.zst
tangerine-wallet-browser-2bd31c3e5024ca88b18190c145008ba87736f129.zip
Merge pull request #406 from MetaMask/ConfirmationStyle
Update transaction confirmation style
Diffstat (limited to 'ui-dev.js')
-rw-r--r--ui-dev.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/ui-dev.js b/ui-dev.js
index 7498ff8ea..a86fa7392 100644
--- a/ui-dev.js
+++ b/ui-dev.js
@@ -1,3 +1,20 @@
+/* UI DEV
+ *
+ * This is a utility module.
+ * It initializes a minimalist browserifiable project
+ * that contains the Metamask UI, with a mocked state.
+ *
+ * Includes a state menu for switching between different
+ * mocked states, along with query param support,
+ * so those states are preserved when live-reloading.
+ *
+ * This is a convenient way to develop on the UI
+ * without having to re-enter your password
+ * every time the plugin rebuilds.
+ *
+ * To use, run `npm run ui`.
+ */
+
const render = require('react-dom').render
const h = require('react-hyperscript')
const Root = require('./ui/app/root')
@@ -54,7 +71,7 @@ render(
style: {
height: '500px',
width: '360px',
- boxShadow: '2px 2px 5px grey',
+ boxShadow: 'grey 0px 2px 9px',
margin: '20px',
},
}, [