pull/5370/head
Joseph Izang 2 years ago
parent be1bc6e1ff
commit 6078188c9f
  1. 27
      apps/remix-ide/src/app/plugins/solidity-umlgen.tsx
  2. 4
      apps/remix-ide/src/app/tabs/theme-module.js

@ -24,33 +24,6 @@ const profile = {
events: [],
}
// const themeCollection = [
// { themeName: 'HackerOwl', backgroundColor: '#011628', textColor: '#babbcc',
// shapeColor: '#8694a1',fillColor: '#011C32'},
// { themeName: 'Cerulean', backgroundColor: '#ffffff', textColor: '#343a40',
// shapeColor: '#343a40',fillColor: '#f8f9fa'},
// { themeName: 'Cyborg', backgroundColor: '#060606', textColor: '#adafae',
// shapeColor: '#adafae', fillColor: '#222222'},
// { themeName: 'Dark', backgroundColor: '#222336', textColor: '#babbcc',
// shapeColor: '#babbcc',fillColor: '#2a2c3f'},
// { themeName: 'Flatly', backgroundColor: '#ffffff', textColor: '#343a40',
// shapeColor: '#7b8a8b',fillColor: '#ffffff'},
// { themeName: 'Black', backgroundColor: '#1a1a1a', textColor: '#babbcc',
// shapeColor: '#b5b4bc',fillColor: '#1f2020'},
// { themeName: 'Light', backgroundColor: '#eef1f6', textColor: '#3b445e',
// shapeColor: '#343a40',fillColor: '#ffffff'},
// { themeName: 'Midcentury', backgroundColor: '#DBE2E0', textColor: '#11556c',
// shapeColor: '#343a40',fillColor: '#eeede9'},
// { themeName: 'Spacelab', backgroundColor: '#ffffff', textColor: '#343a40',
// shapeColor: '#333333', fillColor: '#eeeeee'},
// { themeName: 'Candy', backgroundColor: '#d5efff', textColor: '#11556c',
// shapeColor: '#343a40',fillColor: '#fbe7f8' },
// { themeName: 'Violet', backgroundColor: '#f1eef6', textColor: '#3b445e',
// shapeColor: '#343a40',fillColor: '#f8fafe' },
// { themeName: 'Unicorn', backgroundColor: '#f1eef6', textColor: '#343a40',
// shapeColor: '#343a40',fillColor: '#f8fafe' },
// ]
/**
* add context menu which will offer download as pdf and download png.
* add menu under the first download button to download

@ -72,9 +72,7 @@ export class ThemeModule extends Plugin {
* @return {{ name: string, quality: string, url: string }} - The active theme
*/
currentTheme () {
const current = this.themes[this.active]
console.log({ current })
return current
return this.themes[this.active]
}
/** Returns all themes as an array */

Loading…
Cancel
Save