@ -4,155 +4,267 @@ module.exports = styleGuide
function styleGuide ( ) {
function styleGuide ( ) {
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COLORS
CSS PROPERTIES
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
var colors = {
var cssProperties = {
// BASIC COLORS (B&W and transparent)
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
transparent : 'transparent' ,
COLORS
white : 'hsl(0, 0%, 100%)' ,
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
black : 'hsl(0, 0%, 0%)' ,
colors : {
opacityBlack : 'hsla(0, 0%, 0%, .4)' ,
// BASIC COLORS (B&W and transparent)
// BLUE
transparent : 'transparent' ,
blue : 'hsla(229, 75%, 87%, 1)' ,
white : 'hsl(0, 0%, 100%)' ,
lightBlue : 'hsla(229, 75%, 87%, .5)' ,
black : 'hsl(0, 0%, 0%)' ,
backgroundBlue : 'hsla(229, 100%, 97%, 1)' ,
opacityBlack : 'hsla(0, 0%, 0%, .4)' ,
// GREY
// BLUE
grey : 'hsla(0, 0%, 40%, 1)' ,
blue : 'hsla(229, 75%, 87%, 1)' ,
lightGrey : 'hsla(0, 0%, 40%, .5)' ,
lightBlue : 'hsla(229, 75%, 87%, .5)' ,
veryLightGrey : 'hsla(0, 0%, 40%, .2)' ,
backgroundBlue : 'hsla(229, 100%, 97%, 1)' ,
// RED
// GREY
red : 'hsla(0, 82%, 82%, 1)' ,
grey : 'hsla(0, 0%, 40%, 1)' ,
lightRed : 'hsla(0, 82%, 82%, .5)' ,
lightGrey : 'hsla(0, 0%, 40%, .5)' ,
// GREEN
veryLightGrey : 'hsla(0, 0%, 40%, .2)' ,
green : 'hsla(141, 75%, 84%, 1)' ,
// RED
lightGreen : 'hsla(141, 75%, 84%, .5)' ,
strongRed : 'hsla(0, 100%, 71%, 1)' ,
// PINK
red : 'hsla(0, 82%, 82%, 1)' ,
pink : 'hsla(300, 69%, 76%, 1)' ,
lightRed : 'hsla(0, 82%, 82%, .5)' ,
lightPink : 'hsla(300, 69%, 76%, .5)' ,
// GREEN
// YELLOW
green : 'hsla(141, 75%, 84%, 1)' ,
orange : 'hsla(44, 100%, 50%, 1)' ,
lightGreen : 'hsla(141, 75%, 84%, .5)' ,
lightOrange : 'hsla(44, 100%, 50%, .5)' ,
// PINK
// VIOLET
pink : 'hsla(300, 69%, 76%, 1)' ,
violet : 'hsla(240, 64%, 68%, 1)'
lightPink : 'hsla(300, 69%, 76%, .5)' ,
}
// YELLOW
orange : 'hsla(44, 100%, 50%, 1)' ,
lightOrange : 'hsla(44, 100%, 50%, .5)' ,
// VIOLET
violet : 'hsla(240, 64%, 68%, 1)'
} ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FONTS
FONTS
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
fonts : {
font : '14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif'
} ,
var texts = {
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
'title-XL' : `
BORDERS
font - size : 2 em ;
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
font - weight : 700 ;
borders : {
letter - spacing : . 05 em ;
primary _borderRadius : '3px' ,
` ,
secondary _borderRadius : '5px'
}
'title-L' : `
font - size : 1 em ;
font - weight : 600 ;
` ,
'title-M' : `
font - size : 1 em ;
font - weight : 400 ;
` ,
'title-S' : `
font - size : . 8 em ;
font - weight : 300 ;
` ,
'text' : `
font - size : . 8 em ;
`
}
}
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TEXT - BOXES
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
APP PROPERTIES
var textBoxes = {
'display-box' : `
font - size : 12 px ;
padding : 10 px 15 px ;
line - height : 20 px ;
background : $ { colors . white } ;
border - radius : 3 px ;
border : 1 px solid $ { colors . veryLightGrey } ;
overflow : hidden ;
word - break : break - word ;
width : 100 % ;
` ,
'info-text-box' : `
background - color : $ { colors . white } ;
line - height : 20 px ;
border : . 2 em dotted $ { colors . lightGrey } ;
padding : 8 px 15 px ;
border - radius : 5 px ;
margin - bottom : 1 em ;
overflow : hidden ;
word - break : break - word ;
` ,
'warning-text-box' : `
background - color : $ { colors . lightOrange } ;
line - height : 20 px ;
padding : 8 px 15 px ;
border - radius : 5 px ;
border : . 2 em dotted $ { colors . orange } ;
margin - bottom : 1 em ;
overflow : hidden ;
word - break : break - word ;
` ,
'error-text-box' : `
background - color : $ { colors . lightRed } ;
line - height : 20 px ;
padding : 1 em 1 em . 5 em 1 em ;
border - radius : 3 px ;
box - shadow : rgba ( 0 , 0 , 0 , . 2 ) 0 1 px 4 px ;
margin - bottom : 1 em ;
overflow : hidden ;
word - break : break - word ;
` ,
'title-box' : `
margin - bottom : 0.4 em ;
padding : . 3 em ;
background - color : transparent ;
font - weight : bold ;
display : flex ;
justify - content : space - between ;
word - wrap : break - word ;
position : relative ;
border - radius : 3 px ;
overflow : hidden ;
word - break : normal ;
` ,
'input' : `
border : 1 px solid $ { colors . veryLightGrey } ;
height : 25 px ;
width : 250 px ;
border - radius : 3 px ;
padding : 0 8 px ;
overflow : hidden ;
word - break : normal ;
`
}
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BUTTONS
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
var buttons = {
'button' : `
var appProperties = {
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BACKGROUND COLORS
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
primary _BackgroundColor : cssProperties . colors . white ,
secondary _BackgroundColor : cssProperties . colors . backgroundBlue ,
dark _BackgroundColor : cssProperties . colors . veryLightGrey ,
light _BackgroundColor : cssProperties . colors . white ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RESIZING
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
ghostBar : cssProperties . colors . lightBlue ,
draggingBar : cssProperties . colors . lightBlue ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TEXT COLORS
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
mainText _Color : cssProperties . colors . black ,
supportText _Color : cssProperties . colors . grey ,
errorText _Color : cssProperties . colors . strongRed ,
warningText _Color : cssProperties . colors . orange ,
infoText _Color : cssProperties . colors . violet ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ICONS
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
icon _Color : cssProperties . colors . black ,
icon _HoverColor : cssProperties . colors . orange ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MESSAGES
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
// Success
success _TextColor : cssProperties . colors . black ,
success _BackgroundColor : cssProperties . colors . lightGreen ,
success _BorderColor : cssProperties . colors . green ,
// Danger
danger _TextColor : cssProperties . colors . black ,
danger _BackgroundColor : cssProperties . colors . lightRed ,
danger _BorderColor : cssProperties . colors . red ,
// Warning
warning _TextColor : cssProperties . colors . black ,
warning _BackgroundColor : cssProperties . colors . lightOrange ,
warning _BorderColor : cssProperties . colors . orange ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DROPDOWN
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
dropdown _TextColor : cssProperties . colors . black ,
dropdown _BackgroundColor : cssProperties . colors . white ,
dropdown _BorderColor : cssProperties . colors . veryLightGrey ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INPUT
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
input _TextColor : cssProperties . colors . black ,
input _BackgroundColor : cssProperties . colors . white ,
input _BorderColor : cssProperties . colors . veryLightGrey ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SOLID BORDER BOX
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
solidBorderBox _TextColor : cssProperties . colors . black ,
solidBorderBox _BackgroundColor : cssProperties . colors . white ,
solidBorderBox _BorderColor : cssProperties . colors . veryLightGrey ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BUTTONS
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/ * . . . . . . . . . . . . . . . . .
PRIMARY
... ... ... ... ... ... * /
primaryButton _TextColor : cssProperties . colors . black ,
primaryButton _BackgroundColor : cssProperties . colors . lightBlue ,
primaryButton _BorderColor : cssProperties . colors . lightBlue ,
/ * . . . . . . . . . . . . . . . . .
SECONDARY
... ... ... ... ... ... * /
secondaryButton _TextColor : cssProperties . colors . black ,
secondaryButton _BackgroundColor : cssProperties . colors . veryLightGrey ,
secondaryButton _BorderColor : cssProperties . colors . veryLightGrey ,
/ * . . . . . . . . . . . . . . . . .
SUCCESS
... ... ... ... ... ... * /
successButton _TextColor : cssProperties . colors . white ,
successButton _BackgroundColor : cssProperties . colors . green ,
successButton _BorderColor : cssProperties . colors . green ,
/ * . . . . . . . . . . . . . . . . .
DANGER
... ... ... ... ... ... * /
dangerButton _TextColor : cssProperties . colors . white ,
dangerButton _BackgroundColor : cssProperties . colors . red ,
dangerButton _BorderColor : cssProperties . colors . red ,
/ * . . . . . . . . . . . . . . . . .
WARNING
... ... ... ... ... ... * /
warningButton _TextColor : cssProperties . colors . white ,
warningButton _BackgroundColor : cssProperties . colors . lightOrange ,
warningButton _BorderColor : cssProperties . colors . lightOrange ,
/ * . . . . . . . . . . . . . . . . .
INFO
... ... ... ... ... ... * /
infoButton _TextColor : cssProperties . colors . black ,
infoButton _BackgroundColor : cssProperties . colors . white ,
infoButton _BorderColor : cssProperties . colors . veryLightGrey ,
/ * . . . . . . . . . . . . . . . . .
SOLIDITY
... ... ... ... ... ... * /
// CALL
callButton _TextColor : cssProperties . colors . black ,
callButton _BackgroundColor : cssProperties . colors . lightBlue ,
callButton _BorderColor : cssProperties . colors . lightBlue ,
// TRANSACTION
transactButton _TextColor : cssProperties . colors . black ,
transactButton _BackgroundColor : cssProperties . colors . lightRed ,
transactButton _BorderColor : cssProperties . colors . lightRed ,
// PAYABLE TRANSACTION
transactPayableButton _TextColor : cssProperties . colors . black ,
transactPayableButton _BackgroundColor : cssProperties . colors . red ,
transactPayableButton _BorderColor : cssProperties . colors . red ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UI ELEMENTS
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
uiElements : {
solidBorderBox : ( opts = { } ) => `
background - color : $ { opts . BackgroundColor } ;
border : 1 px solid $ { opts . BorderColor } ;
color : $ { opts . Color } ;
border - radius : $ { cssProperties . borders . primary _borderRadius } ;
font - size : 12 px ;
padding : 10 px 15 px ;
line - height : 20 px ;
overflow : hidden ;
word - break : break - word ;
width : 100 % ;
` ,
dottedBorderBox : ( opts = { } ) => `
background - color : $ { opts . BackgroundColor } ;
border : . 2 em dotted $ { opts . BorderColor } ;
color : $ { opts . Color } ;
border - radius : $ { cssProperties . borders . secondary _borderRadius } ;
line - height : 20 px ;
padding : 8 px 15 px ;
margin - bottom : 1 em ;
overflow : hidden ;
word - break : break - word ;
` ,
inputField : ( opts = { } ) => `
background - color : $ { opts . BackgroundColor } ;
border : 1 px solid $ { opts . BorderColor } ;
color : $ { opts . Color } ;
border - radius : $ { cssProperties . borders . secondary _borderRadius } ;
height : 25 px ;
width : 250 px ;
padding : 0 8 px ;
overflow : hidden ;
word - break : normal ;
` ,
dropdown : ( opts = { } ) => `
background - color : $ { opts . BackgroundColor } ;
border : 1 px solid $ { opts . BorderColor } ;
color : $ { opts . Color } ;
font - size : 12 px ;
font - weight : bold ;
padding : 0 8 px ;
text - decoration : none ;
cursor : pointer ;
border - radius : 3 px ;
height : 25 px ;
width : 250 px ;
text - align : center ;
overflow : hidden ;
word - break : normal ;
` ,
button : ( opts = { } ) => `
margin : 1 px ;
background - color : $ { opts . BackgroundColor } ;
border : . 3 px solid $ { opts . BorderColor } ;
color : $ { opts . Color } ;
display : flex ;
display : flex ;
align - items : center ;
align - items : center ;
justify - content : center ;
justify - content : center ;
border - color : transparent ;
border - radius : 3 px ;
border - radius : 3 px ;
border : . 3 px solid $ { colors . veryLightGrey } ;
cursor : pointer ;
cursor : pointer ;
min - height : 25 px ;
min - height : 25 px ;
max - height : 25 px ;
max - height : 25 px ;
@ -161,42 +273,358 @@ function styleGuide () {
font - size : 12 px ;
font - size : 12 px ;
overflow : hidden ;
overflow : hidden ;
word - break : normal ;
word - break : normal ;
background - color : # E8E8E8 ;
`
` ,
}
}
'button:hover' : `
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
opacity : 0.8 ;
` ,
'dropdown' : `
REMIX PROPERTIES
font - size : 12 px ;
font - weight : bold ;
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
padding : 0 8 px ;
text - decoration : none ;
var remixProperties = {
background - color : $ { colors . white } ;
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cursor : pointer ;
REMIX GENERAL
border : 1 px solid $ { colors . veryLightGrey } ;
/* ------------------------------------------------------ */
border - radius : 3 px ;
remix : {
height : 25 px ;
modalDialog _BackgroundColor _Primary : appProperties . primary _BackgroundColor ,
width : 250 px ;
modalDialog _text _Primary : appProperties . mainText _Color ,
text - align : center ;
modalDialog _text _Secondary : appProperties . supportText _Color ,
overflow : hidden ;
modalDialog _Header _Footer _BackgroundColor : appProperties . secondary _BackgroundColor ,
word - break : normal ;
modalDialog _Header _Footer _Color : appProperties . mainText _Color ,
`
modalDialog _BoxDottedBorder _BackgroundColor : appProperties . solidBorderBox _BackgroundColor ,
modalDialog _BoxDottedBorder _BorderColor : appProperties . solidBorderBox _BorderColor ,
modalDialog _BoxDottedBorder _Color : appProperties . solidBorderBox _TextColor ,
modalDialog _CopyToClipboard _Icon _Color : appProperties . icon _Color ,
modalDialog _CopyToClipboard _Icon _HoverColor : appProperties . icon _HoverColor
} ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
LEFT PANEL ( FILE PANEL )
/* ------------------------------------------------------ */
leftPanel : {
backgroundColor _Panel : appProperties . primary _BackgroundColor ,
backgroundColor _FileExplorer : appProperties . secondary _BackgroundColor ,
text _Primary : appProperties . mainText _Color ,
text _Secondary : appProperties . supportText _Color ,
bar _Ghost : appProperties . ghostBar ,
bar _Dragging : appProperties . draggingBar ,
icon _Color _Menu : appProperties . icon _Color ,
icon _HoverColor _Menu : appProperties . icon _HoverColor ,
icon _Color _TogglePanel : appProperties . icon _Color ,
icon _HoverColor _TogglePanel : appProperties . icon _HoverColor
} ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
EDITOR
/* ------------------------------------------------------ */
editor : {
backgroundColor _Panel : appProperties . primary _BackgroundColor ,
backgroundColor _Editor : appProperties . light _BackgroundColor ,
backgroundColor _Tabs _Highlights : appProperties . secondary _BackgroundColor ,
backgroundColor _Editor _Context _Highlights : appProperties . dark _BackgroundColor ,
backgroundColor _Editor _Context _Error _Highlights : appProperties . error _BackgroundColor ,
backgroundColor _DebuggerMode : appProperties . warning _BackgroundColor ,
text _Primary : appProperties . mainText _Color ,
text _Secondary : appProperties . supportText _Color ,
text _Editor : '' ,
icon _Color _Editor : appProperties . icon _Color ,
icon _HoverColor _Editor : appProperties . icon _HoverColor
} ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TERMINAL
/* ------------------------------------------------------ */
terminal : {
backgroundColor _Menu : appProperties . secondary _BackgroundColor ,
backgroundColor _Terminal : appProperties . dark _BackgroundColor ,
text _Primary : appProperties . mainText _Color ,
text _Secondary : appProperties . supportText _Color ,
text _RegularLog : appProperties . mainText _Color ,
text _InfoLog : appProperties . supportText _Color ,
text _ErrorLog : appProperties . errorText _Color ,
text _Title _TransactionLog : appProperties . infoText _Color ,
text _Regular _TransactionLog : appProperties . supportText _Color ,
icon _Color _TogglePanel : appProperties . icon _Color ,
icon _HoverColor _TogglePanel : appProperties . icon _HoverColor ,
icon _Color _Menu : appProperties . icon _Color ,
icon _HoverColor _Menu : appProperties . icon _HoverColor ,
icon _Color _CopyToClipboard : appProperties . icon _Color ,
icon _HoverColor _CopyToClipboard : appProperties . icon _HoverColor ,
bar _Ghost : appProperties . ghostBar ,
bar _Dragging : appProperties . draggingBar ,
input _Search _MenuBar : appProperties . uiElements . inputField ( {
BackgroundColor : appProperties . input _BackgroundColor ,
BorderColor : appProperties . input _BorderColor ,
Color : appProperties . input _TextColor
} ) ,
dropdown _Filter _MenuBar : appProperties . uiElements . dropdown ( {
BackgroundColor : appProperties . dropdown _BackgroundColor ,
BorderColor : appProperties . dropdown _BorderColor ,
Color : appProperties . dropdown _TextColor
} ) ,
button _Log _Debug : appProperties . uiElements . button ( {
BackgroundColor : appProperties . warningButton _BackgroundColor ,
BorderColor : appProperties . warningButton _BorderColor ,
Color : appProperties . warningButton _TextColor
} ) ,
button _Log _Details : appProperties . uiElements . button ( {
BackgroundColor : appProperties . secondaryButton _BackgroundColor ,
BorderColor : appProperties . warningButton _BorderColor ,
Color : appProperties . warningButton _TextColor
} )
} ,
/ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RIGHT PANEL
/* ------------------------------------------------------ */
rightPanel : {
backgroundColor _Panel : appProperties . primary _BackgroundColor ,
backgroundColor _Tab : appProperties . secondary _BackgroundColor ,
BackgroundColor _Pre : appProperties . light _BackgroundColor ,
text _Primary : appProperties . mainText _Color ,
text _Secondary : appProperties . supportText _Color ,
bar _Ghost : appProperties . ghostBar ,
bar _Dragging : appProperties . draggingBar ,
icon _Color _TogglePanel : appProperties . icon _Color ,
icon _HoverColor _TogglePanel : appProperties . icon _HoverColor ,
message _Warning _BackgroundColor : appProperties . warning _BackgroundColor ,
message _Warning _BorderColor : appProperties . warning _BorderColor ,
message _Warning _Color : appProperties . warning _TextColor ,
message _Error _BackgroundColor : appProperties . danger _BackgroundColor ,
message _Error _BorderColor : appProperties . danger _BorderColor ,
message _Error _Color : appProperties . danger _TextColor ,
message _Success _BackgroundColor : appProperties . success _BackgroundColor ,
message _Success _BorderColor : appProperties . success _BorderColor ,
message _Success _Color : appProperties . success _TextColor ,
/ * : : : : : : : : : : : : : :
COMPILE TAB
: : : : : : : : : : : : : : : * /
compileTab : {
button _Compile : appProperties . uiElements . button ( {
BackgroundColor : appProperties . primaryButton _BackgroundColor ,
BorderColor : appProperties . primaryButton _BorderColor ,
Color : appProperties . primaryButton _TextColor
} ) ,
button _Details : appProperties . uiElements . button ( {
BackgroundColor : appProperties . secondaryButton _BackgroundColor ,
BorderColor : appProperties . secondaryButton _BorderColor ,
Color : appProperties . secondaryButton _TextColor
} ) ,
button _Publish : appProperties . uiElements . button ( {
BackgroundColor : appProperties . secondaryButton _BackgroundColor ,
BorderColor : appProperties . secondaryButton _BorderColor ,
Color : appProperties . secondaryButton _TextColor
} ) ,
dropdown _CompileContract : appProperties . uiElements . dropdown ( {
BackgroundColor : appProperties . dropdown _BackgroundColor ,
BorderColor : appProperties . dropdown _BorderColor ,
Color : appProperties . dropdown _TextColor
} ) ,
box _CompileContainer : appProperties . uiElements . solidBorderBox ( {
BackgroundColor : appProperties . solidBorderBox _BackgroundColor ,
BorderColor : appProperties . solidBorderBox _BorderColor ,
Color : appProperties . solidBorderBox _TextColor
} ) ,
icon _WarnCompilation _Color : appProperties . warning _BackgroundColor
} ,
/ * : : : : : : : : : : : : : :
RUN TAB
: : : : : : : : : : : : : : : * /
runTab : {
box _RunTab : appProperties . uiElements . solidBorderBox ( {
BackgroundColor : appProperties . solidBorderBox _BackgroundColor ,
BorderColor : appProperties . solidBorderBox _BorderColor ,
Color : appProperties . solidBorderBox _TextColor
} ) ,
dropdown _RunTab : appProperties . uiElements . dropdown ( {
BackgroundColor : appProperties . dropdown _BackgroundColor ,
BorderColor : appProperties . dropdown _BorderColor ,
Color : appProperties . dropdown _TextColor
} ) ,
input _RunTab : appProperties . uiElements . inputField ( {
BackgroundColor : appProperties . input _BackgroundColor ,
BorderColor : appProperties . input _BorderColor ,
Color : appProperties . input _TextColor
} ) ,
box _Instance : appProperties . uiElements . solidBorderBox ( {
BackgroundColor : appProperties . solidBorderBox _BackgroundColor ,
BorderColor : appProperties . solidBorderBox _BorderColor ,
Color : appProperties . solidBorderBox _TextColor
} ) ,
button _atAddress : appProperties . uiElements . button ( {
BackgroundColor : appProperties . primaryButton _BackgroundColor ,
BorderColor : appProperties . primaryButton _BorderColor ,
Color : appProperties . primaryButton _TextColor
} ) ,
button _Create : appProperties . uiElements . button ( {
BackgroundColor : appProperties . primaryButton _BackgroundColor ,
BorderColor : appProperties . primaryButton _BorderColor ,
Color : appProperties . primaryButton _TextColor
} ) ,
button _Instance _Call : appProperties . uiElements . button ( {
BackgroundColor : appProperties . callButton _BackgroundColor ,
BorderColor : appProperties . callButton _BorderColor ,
Color : appProperties . callButton _TextColor
} ) ,
button _Instance _Transact : appProperties . uiElements . button ( {
BackgroundColor : appProperties . transactButton _BackgroundColor ,
BorderColor : appProperties . transactButton _BorderColor ,
Color : appProperties . transactButton _TextColor
} ) ,
button _Instance _TransactPayable : appProperties . uiElements . button ( {
BackgroundColor : appProperties . transactPayableButton _BackgroundColor ,
BorderColor : appProperties . transactPayableButton _BorderColor ,
Color : appProperties . transactPayableButton _TextColor
} ) ,
icon _Color _Instance _CopyToClipboard : appProperties . icon _Color ,
icon _HoverColor _Instance _CopyToClipboard : appProperties . icon _HoverColor
} ,
/ * : : : : : : : : : : : : : :
SETTINGS TAB
: : : : : : : : : : : : : : : * /
settingsTab : {
box _SolidityVersionInfo : appProperties . uiElements . dottedBorderBox ( {
BackgroundColor : appProperties . solidBorderBox _BackgroundColor ,
BorderColor : appProperties . solidBorderBox _BorderColor ,
Color : appProperties . solidBorderBox _TextColor
} ) ,
dropdown _SelectCompiler : appProperties . uiElements . dropdown ( {
BackgroundColor : appProperties . dropdown _BackgroundColor ,
BorderColor : appProperties . dropdown _BorderColor ,
Color : appProperties . dropdown _TextColor
} )
} ,
/ * : : : : : : : : : : : : : :
DEBUGGER TAB
: : : : : : : : : : : : : : : * /
debuggerTab : {
text _Primary : appProperties . mainText _Color ,
text _Secondary : appProperties . supportText _Color ,
box _Debugger : appProperties . uiElements . solidBorderBox ( {
BackgroundColor : appProperties . solidBorderBox _BackgroundColor ,
BorderColor : appProperties . solidBorderBox _BorderColor ,
Color : appProperties . solidBorderBox _TextColor
} ) ,
button _Debugger : appProperties . uiElements . button ( {
BackgroundColor : appProperties . secondaryButton _BackgroundColor ,
BorderColor : appProperties . secondaryButton _BorderColor ,
Color : appProperties . secondaryButton _TextColor
} ) ,
button _Debugger _icon _Color : appProperties . icon _Color ,
button _Debugger _icon _HoverColor : appProperties . icon _HoverColor ,
dropdown _Debugger : appProperties . uiElements . dropdown ( {
BackgroundColor : appProperties . dropdown _BackgroundColor ,
BorderColor : appProperties . dropdown _BorderColor ,
Color : appProperties . dropdown _TextColor
} ) ,
input _Debugger : appProperties . uiElements . inputField ( {
BackgroundColor : appProperties . input _BackgroundColor ,
BorderColor : appProperties . input _BorderColor ,
Color : appProperties . input _TextColor
} ) ,
debuggerDropdowns _Instructions _Highlight _BackgroundColor : appProperties . secondary _BackgroundColor
} ,
/ * : : : : : : : : : : : : : :
ANALYSIS TAB
: : : : : : : : : : : : : : : * /
analysisTab : {
button _Run _AnalysisTab : appProperties . uiElements . button ( {
BackgroundColor : appProperties . primaryButton _BackgroundColor ,
BorderColor : appProperties . primaryButton _BorderColor ,
Color : appProperties . primaryButton _TextColor
} ) ,
box _AnalysisContainer : appProperties . uiElements . solidBorderBox ( {
BackgroundColor : appProperties . solidBorderBox _BackgroundColor ,
BorderColor : appProperties . solidBorderBox _BorderColor ,
Color : appProperties . solidBorderBox _TextColor
} )
} ,
/ * : : : : : : : : : : : : : :
SUPPORT TAB
: : : : : : : : : : : : : : : * /
supportTab : {
box _IframeContainer : appProperties . uiElements . solidBorderBox ( {
BackgroundColor : appProperties . solidBorderBox _BackgroundColor ,
BorderColor : appProperties . solidBorderBox _BorderColor ,
Color : appProperties . solidBorderBox _TextColor
} ) ,
box _SupportInfo : appProperties . uiElements . dottedBorderBox ( {
BackgroundColor : appProperties . solidBorderBox _BackgroundColor ,
BorderColor : appProperties . solidBorderBox _BorderColor ,
Color : appProperties . solidBorderBox _TextColor
} )
}
}
}
}
return {
return {
textBoxL : textBoxes [ 'display-box-L' ] ,
colors : cssProperties . colors ,
infoTextBox : textBoxes [ 'info-text-box' ] ,
appProperties : appProperties ,
inputField : textBoxes [ 'input' ] ,
borders : cssProperties . borders ,
displayBox : textBoxes [ 'display-box' ] ,
leftPanel : remixProperties . leftPanel ,
warningTextBox : textBoxes [ 'warning-text-box' ] ,
editor : remixProperties . editor ,
titleL : texts [ 'title-L' ] ,
terminal : remixProperties . terminal ,
titleM : texts [ 'title-M' ] ,
rightPanel : remixProperties . rightPanel ,
dropdown : buttons [ 'dropdown' ] ,
remix : remixProperties . remix
button : buttons [ 'button' ] ,
colors : colors ,
titleBox : textBoxes [ 'title-box' ]
}
}
}
}