Update theme-draft.js

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

@ -1,50 +1,95 @@
// THEMEABLE parameters // THEMEABLE parameters
// REMIX // REMIX
var remix = { var remixGeneral = {
'background-color': '', general_BackgroundColor: {
'font': '', 'background-color': ''
'font-size': '', },
'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 // LEFT PANEL
var filePanel = { var filePanel = {
icons: { icons: { // icons
'color': '', 'color': '',
':hover': { ':hover': {
'color': '' 'color': ''
} }
}, },
toggle: { togglePannel: { // icons
'color': '', 'color': '',
':hover': { ':hover': {
'color': '' 'color': ''
} }
}, },
treeview: { treeview: {
'color': '', 'color': '', // already defined in Remix general
highlightedLine: { highlightedLine: {
'background-color': '' 'background-color': '' // highlight_BackgroundColor
} }
} }
} }
// EDITOR // EDITOR
var editor = { var editor = {
'background-color': '', 'background-color': '', // general_BackgroundColor
'color': '', 'color': '', // fonts/color
gutter: { gutter: {
'background-color': '', 'background-color': '', // highlight_BackgroundColor
highlightedNumber: { highlightedNumber: {
'background-color': '' 'background-color': '' // highlight_BackgroundColor
}, },
}, },
navTabs: { navTabs: {
'background-color': '', 'background-color': '', // highlight_BackgroundColor
'color': '' 'color': '' // fonts/color
} },
icons: { icons: { // icons
'color': '', 'color': '',
':hover': { ':hover': {
'color': '' 'color': ''
@ -53,32 +98,32 @@ var editor = {
code: { code: {
// types, comments, parameters... // types, comments, parameters...
highlightedLine: { highlightedLine: {
'background-color': '' 'background-color': '' //highlight_BackgroundColor
}, },
debuggerMode: { debuggerMode: {
highlightedArea: { highlightedArea: {
'background-color': '' 'background-color': '' // same as Debug button in Terminal window
}, }
} }
} }
} }
// TERMINAL // TERMINAL
var terminal = { var terminal = {
menu: { menu: {
'background-color': '', 'background-color': '', // highlight_BackgroundColor
'color': '', 'color': '', // fonts/color
icon: { icons: { // icons
'color': '', 'color': '',
':hover': { ':hover': {
'color': '' 'color': ''
} }
}, },
dropdown: { dropdown: { // dropdown
'background-color': '' 'background-color': '',
'color': ''
}, },
toggle: { togglePannel: { // icons
'color': '', 'color': '',
':hover': { ':hover': {
'color': '' 'color': ''
@ -87,14 +132,15 @@ var terminal = {
}, },
terminalWindow: { terminalWindow: {
'background-color': '', 'background-color': '',
'color': '',
logo: { logo: {
'url': '', 'url': '',
}, },
infoLog: { infoLog: {
'color': '' 'color': '' // fonts/color
}, },
errorLog: { errorLog: {
'color': '' 'color': '' // same as border in errorMessage in rightPanel/compileTab @TODO
}, },
transactionLog: { transactionLog: {
title: { title: {
@ -106,9 +152,9 @@ var terminal = {
detailsButton: { detailsButton: {
'background-color': '', 'background-color': '',
'color': '' 'color': ''
} },
debugButton: { debugButton: {
'background-color': '', 'background-color': '', // same as highlightedArea in editor/debuggerMode
'color': '' 'color': ''
} }
} }
@ -117,10 +163,205 @@ var terminal = {
// RIGHT PANEL // RIGHT PANEL
var rightPanel = { 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': '', 'color': '',
':hover': { ':hover': {
'color': '' '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