update to metro theme and theming

pull/1/head
Rob Stupay 7 years ago
parent c8bbc0c97f
commit 174955d4ad
  1. 1
      src/app/editor/editor.js
  2. 16
      src/universal-dapp.js

@ -70,6 +70,7 @@ function Editor (opts = {}) {
if (styles.appProperties.aceTheme) { if (styles.appProperties.aceTheme) {
editor.setTheme('ace/theme/' + styles.appProperties.aceTheme) editor.setTheme('ace/theme/' + styles.appProperties.aceTheme)
} }
ace.acequire('ace/ext/language_tools') ace.acequire('ace/ext/language_tools')
editor.setOptions({ editor.setOptions({
enableBasicAutocompletion: true, enableBasicAutocompletion: true,

@ -100,6 +100,22 @@ var css = csjs`
width: 75%; width: 75%;
padding: .36em; padding: .36em;
} }
// .call {
// background-color: ${styles.colors.lightRed};
// border-color: ${styles.colors.lightRed};
// }
// .constant .call {
// background-color: ${styles.colors.lightBlue};
// border-color: ${styles.colors.lightBlue};
// width: 25%;
// outline: none;
// }
// .payable .call {
// background-color: ${styles.colors.red};
// border-color: ${styles.colors.red};
// width: 25%;
// }
.contractProperty button { .contractProperty button {
${styles.rightPanel.runTab.button_Create} ${styles.rightPanel.runTab.button_Create}
min-width: 100px; min-width: 100px;

Loading…
Cancel
Save