Update theme-draft.js

pull/1/head
ninabreznik 7 years ago committed by yann300
parent 7a118a6dd8
commit d20c6eef6f
  1. 299
      src/app/ui/theme-draft.js

@ -1,50 +1,95 @@
// THEMEABLE parameters
// REMIX
var remix = {
'background-color': '',
var remixGeneral = {
general_BackgroundColor: {
'background-color': ''
},
highlight_BackgroundColor: {
'background-color': ''
},
fonts: {
'font': '',
'font-size': '',
mainText: {
'color': ''
},
supportText: {
'color': ''
}
},
dropdown: {
'background-color': '',
'color': ''
},
textBox: {
'background-color': '',
'border': '',
'color': ''
},
infoTextBox: {
'background-color': '',
'border': '',
'color': ''
},
inputField: {
'background-color': '',
'color': ''
},
icons: { // All icons
'color': '',
':hover': {
'color': ''
}
},
butons: {
'background-color': ''
},
copyToClipboard: { // same as icons @TODO
'color': '',
':hover': {
'color': ''
}
}
}
// LEFT PANEL
var filePanel = {
icons: {
icons: { // icons
'color': '',
':hover': {
'color': ''
}
},
toggle: {
togglePannel: { // icons
'color': '',
':hover': {
'color': ''
}
},
treeview: {
'color': '',
'color': '', // already defined in Remix general
highlightedLine: {
'background-color': ''
'background-color': '' // highlight_BackgroundColor
}
}
}
// EDITOR
var editor = {
'background-color': '',
'color': '',
'background-color': '', // general_BackgroundColor
'color': '', // fonts/color
gutter: {
'background-color': '',
'background-color': '', // highlight_BackgroundColor
highlightedNumber: {
'background-color': ''
'background-color': '' // highlight_BackgroundColor
},
},
navTabs: {
'background-color': '',
'color': ''
}
icons: {
'background-color': '', // highlight_BackgroundColor
'color': '' // fonts/color
},
icons: { // icons
'color': '',
':hover': {
'color': ''
@ -53,32 +98,32 @@ var editor = {
code: {
// types, comments, parameters...
highlightedLine: {
'background-color': ''
'background-color': '' //highlight_BackgroundColor
},
debuggerMode: {
highlightedArea: {
'background-color': ''
},
'background-color': '' // same as Debug button in Terminal window
}
}
}
}
// TERMINAL
var terminal = {
menu: {
'background-color': '',
'color': '',
icon: {
'background-color': '', // highlight_BackgroundColor
'color': '', // fonts/color
icons: { // icons
'color': '',
':hover': {
'color': ''
}
},
dropdown: {
'background-color': ''
dropdown: { // dropdown
'background-color': '',
'color': ''
},
toggle: {
togglePannel: { // icons
'color': '',
':hover': {
'color': ''
@ -87,14 +132,15 @@ var terminal = {
},
terminalWindow: {
'background-color': '',
'color': '',
logo: {
'url': '',
},
infoLog: {
'color': ''
'color': '' // fonts/color
},
errorLog: {
'color': ''
'color': '' // same as border in errorMessage in rightPanel/compileTab @TODO
},
transactionLog: {
title: {
@ -106,9 +152,9 @@ var terminal = {
detailsButton: {
'background-color': '',
'color': ''
}
},
debugButton: {
'background-color': '',
'background-color': '', // same as highlightedArea in editor/debuggerMode
'color': ''
}
}
@ -117,10 +163,205 @@ var terminal = {
// RIGHT PANEL
var rightPanel = {
toggle: {
'background-color': '', // already defined in Remix general
'color': '', // already defined in Remix general
textBox: { // already defined in Remix general
'background-color': '',
'border': '',
'color': ''
},
infoTextBox: { // already defined in Remix general
'background-color': '',
'border': '',
'color': ''
},
togglePannel: { // icons
'color': '',
':hover': {
'color': ''
}
},
logo: {
'url': ''
},
warningMessage: {
'border': '',
'background-color': '',
'color': ''
},
errorMessage: {
'border': '', // same as font color in terminal error @TODO
'background-color': '',
'color': ''
},
successMessage: {
'border': '',
'background-color': '',
'color': ''
},
dropdown: {
'background-color': '', // dropdown
'color': ''
},
inputField: { // inputField
'background-color': '',
'color': ''
},
compileTab: {
compileButton: {
'background-color': '', // or import a special image 'url': ''
'color': ''
},
buttons: {
'background-color': '', // general buttons background color
'color': ''
},
details: {
'background-color': '', // already defined in Remix general
header: {
'background-color': '', // same as highlight_BackgroundColor
'color': ''
},
infoTextBox: { // already in rightPanel general theme
'background-color': '',
'border': '',
'color': '',
copyToClipboard: { // copyToClipboard @TODO
'color': '',
':hover': {
'color': ''
}
},
icons: { // icons
'color': '',
':hover': {
'color': ''
}
},
title: {
'color': ''
}
}
}
},
runTab: {
compileButton: {
'background-color': '', // or import new 'url': ''
'color': ''
},
atAddressButton: {
'background-color': '',
'color': ''
},
createButton: {
'background-color': '',
'color': ''
},
instance_callButton: {
'background-color': '',
'color': ''
},
instance_transactButton: {
'background-color': '',
'color': ''
},
instance_transactPayableButton: {
'background-color': '',
'color': ''
},
copyToClipboard: { // copyToClipboard @TODO
'color': '',
':hover': {
'color': ''
}
}
},
settingsTab: {
infoTextBox: { // already in rightPanel general theme
'background-color': '',
'border': '',
'color': ''
}
},
debuggerTab: {
buttons: {
'background-color': '', // including eye button (needs to get ${styles.button} applied)
'color': '',
icons: { // icons
'color': '',
':hover': {
'color': ''
}
}
},
dropdowns: { // dropdown
'background-color': '', // see if ${styles.dropdown} is applied
'color': '',
instructions: {
highlightedKey: {
'background-color': '' // highlight_BackgroundColor
}
},
solidityState: {
label: {
'color': '' // supportText
}
}
}
},
analysisTab: {
textBox: { // already in rightPanel general theme
'background-color': '',
'color': ''
},
warningMessage: { // already in rightPanel general theme
'border': '',
'background-color': '',
'color': ''
}
},
supportTab: {
textBox: { // already in rightPanel general theme
'background-color': '',
'color': ''
},
infoTextBox: { // already in rightPanel general theme
'background-color': '',
'border': '',
'color': ''
}
}
}
/* @TODO
ALL:
- text: mainText or supportText
- unify color and hover for all icons (files panel, debuger, toggle etc.) => maybe add to styleguide
COMPILE TAB:
- details => copyToClipboard (same color and hover as other icons)
RUN TAB:
- unify copyToClipboard color and hover
DEBUGGER TAB:
- apply ${styles.button} + the rest (copy styling from below) to `eye button`
${styles.button}
margin: 3px;
float: right;
- Put whole debugger in textBox => then we get blue background like on other tabs + we have white background in the textBox so we can make highlighted color same as everywhere else
- apply ${styles.dropdown} to Debugger
TERMINAL:
- apply ${styles.dropdown} + other fixes (already made in one PR - where is it?) to dropdown
*/

Loading…
Cancel
Save