adding theme-chooser to every file that loaded the remix-lib - styleguide

pull/3094/head
Rob Stupay 7 years ago
parent 100148ad61
commit f750e59ed7
  1. 4
      src/app.js
  2. 4
      src/app/editor/contextView.js
  3. 4
      src/app/editor/editor.js
  4. 4
      src/app/execution/txLogger.js
  5. 4
      src/app/files/file-explorer.js
  6. 4
      src/app/panels/editor-panel.js
  7. 4
      src/app/panels/file-panel.js
  8. 4
      src/app/panels/righthand-panel.js
  9. 4
      src/app/staticanalysis/staticAnalysisView.js
  10. 5
      src/app/tabs/analysis-tab.js
  11. 5
      src/app/tabs/compile-tab.js
  12. 5
      src/app/tabs/debugger-tab.js
  13. 5
      src/app/tabs/run-tab.js
  14. 5
      src/app/tabs/support-tab.js
  15. 5
      src/app/tabs/tabbed-menu.js
  16. 5
      src/app/ui/copy-to-clipboard.js
  17. 4
      src/app/ui/dropdown.js
  18. 5
      src/app/ui/modaldialog.js
  19. 5
      src/app/ui/renderer.js
  20. 5
      src/app/ui/tooltip.js
  21. 4
      src/universal-dapp.js

@ -38,8 +38,8 @@ var ContextualListener = require('./app/editor/contextualListener')
var ContextView = require('./app/editor/contextView')
var BasicReadOnlyExplorer = require('./app/files/basicReadOnlyExplorer')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('./app/theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
html { box-sizing: border-box; }

@ -2,8 +2,8 @@
var yo = require('yo-yo')
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var SourceMappingDecoder = remixLib.SourceMappingDecoder
var css = csjs`

@ -12,8 +12,8 @@ require('brace/ext/language_tools')
require('brace/ext/searchbox')
var langTools = ace.acequire('ace/ext/language_tools')
require('./mode-solidity.js')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
function setTheme (cb) {
if (styles.appProperties.aceTheme) {

@ -5,8 +5,8 @@ var copyToClipboard = require('../ui/copy-to-clipboard')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var EventManager = remixLib.EventManager
var helper = require('../../lib/helper')

@ -9,8 +9,8 @@ var EventManager = remixLib.EventManager
var helper = require('../../lib/helper')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.fileexplorer {

@ -2,8 +2,8 @@ var csjs = require('csjs-inject')
var yo = require('yo-yo')
var remixLib = require('remix-lib')
var EventManager = remixLib.EventManager
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var Terminal = require('./terminal')

@ -12,8 +12,8 @@ var QueryParams = require('../../lib/query-params')
var queryParams = new QueryParams()
var helper = require('../../lib/helper')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
module.exports = filepanel

@ -13,8 +13,8 @@ var PluginManager = require('../../pluginManager')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
#righthand-panel {

@ -6,8 +6,8 @@ var remixLib = require('remix-lib')
var utils = remixLib.util
var csjs = require('csjs-inject')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var EventManager = remixLib.EventManager

@ -2,9 +2,8 @@ var yo = require('yo-yo')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.analysisTabView {

@ -12,9 +12,8 @@ var copyToClipboard = require('../ui/copy-to-clipboard')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.compileTabView {

@ -2,9 +2,8 @@ var yo = require('yo-yo')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.debuggerTabView {

@ -13,9 +13,8 @@ var EventManager = require('remix-lib').EventManager
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.runTabView {

@ -2,9 +2,8 @@ var yo = require('yo-yo')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.supportTabView {

@ -2,9 +2,8 @@ var yo = require('yo-yo')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var helper = require('../../lib/helper')

@ -4,9 +4,8 @@ const copy = require('clipboard-copy')
var addTooltip = require('./tooltip')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.copyIcon {

@ -3,8 +3,8 @@ var remixLib = require('remix-lib')
var EventManager = remixLib.EventManager
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.dropdown {

@ -1,8 +1,7 @@
var yo = require('yo-yo')
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.modal {

@ -5,9 +5,8 @@ var yo = require('yo-yo')
// -------------- styling ----------------------
// var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = yo`<style>
.sol.success,

@ -1,9 +1,8 @@
var yo = require('yo-yo')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var remixLib = require('remix-lib')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('../theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.tooltip {

@ -19,8 +19,8 @@ var copyToClipboard = require('./app/ui/copy-to-clipboard')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var styleGuide = remixLib.ui.styleGuide
var styles = styleGuide()
var styleGuide = require('./app/theme/theme-chooser')
var styles = styleGuide.chooser()
var css = csjs`
.instanceTitleContainer {

Loading…
Cancel
Save