Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
912b0ac7
Commit
912b0ac7
authored
Dec 04, 2017
by
Rob Stupay
Committed by
yann300
Dec 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to styleguide
parent
a4100040
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
13 deletions
+42
-13
package.json
remix-debugger/package.json
+0
-1
style-guide.js
remix-lib/src/ui/style-guide.js
+42
-12
No files found.
remix-debugger/package.json
View file @
912b0ac7
...
@@ -118,4 +118,3 @@
...
@@ -118,4 +118,3 @@
]
]
}
}
}
}
remix-lib/src/ui/style-guide.js
View file @
912b0ac7
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
module
.
exports
=
styleGuide
module
.
exports
=
styleGuide
function
styleGuide
()
{
function
styleGuide
()
{
/* --------------------------------------------------------------------------
/* --------------------------------------------------------------------------
CSS PROPERTIES
CSS PROPERTIES
...
@@ -17,14 +19,13 @@ function styleGuide () {
...
@@ -17,14 +19,13 @@ function styleGuide () {
transparent
:
'transparent'
,
transparent
:
'transparent'
,
white
:
'hsla(198, 100%, 97%, 1)'
,
white
:
'hsla(198, 100%, 97%, 1)'
,
black
:
'hsla(240, 100%, 6%, 1)'
,
black
:
'hsla(240, 100%, 6%, 1)'
,
opacityBlack
:
'hsla(240, 100%, 6%, .7)'
,
// BLUE
// BLUE
blue
:
'hsla(233, 91%, 36%, 1)'
,
blue
:
'hsla(233, 91%, 36%, 1)'
,
lightBlue
:
'hsla(202, 91%, 75%, 1)'
,
lightBlue
:
'hsla(202, 91%, 75%, 1)'
,
blueLightTrans
:
'hsla(202, 91%, 75%, .4)'
,
blueLightTrans
:
'hsla(202, 91%, 75%, .4)'
,
backgroundBlue
:
'hsla(240, 100%, 21%, 1)'
,
backgroundBlue
:
'hsla(240, 100%, 21%, 1)'
,
blueBlack
:
'hsla(205, 13%, 18%, 1)'
,
// erase blueBlack ??
brightBlue
:
'hsla(233, 91%, 58%, 1)'
,
brightBlue
:
'hsla(233, 91%, 58%, 1)'
,
blueGreyEve
:
'hsla(213, 64%, 65%, 1)'
,
blueGreyEve
:
'hsla(213, 64%, 65%, 1)'
,
bluePruneEve
:
'hsla(232, 30%, 20%, 1)'
,
bluePruneEve
:
'hsla(232, 30%, 20%, 1)'
,
...
@@ -87,6 +88,9 @@ function styleGuide () {
...
@@ -87,6 +88,9 @@ function styleGuide () {
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
var
appProperties
=
{
var
appProperties
=
{
aceTheme
:
'tomorrow_night_blue'
,
/* ------------------------------------------------------
/* ------------------------------------------------------
BACKGROUND COLORS
BACKGROUND COLORS
------------------------------------------------------ */
------------------------------------------------------ */
...
@@ -94,8 +98,7 @@ function styleGuide () {
...
@@ -94,8 +98,7 @@ function styleGuide () {
secondary_BackgroundColor
:
cssProperties
.
colors
.
backgroundBlue
,
secondary_BackgroundColor
:
cssProperties
.
colors
.
backgroundBlue
,
tertiary_BackgroundColor
:
cssProperties
.
colors
.
greyBlueNight
,
tertiary_BackgroundColor
:
cssProperties
.
colors
.
greyBlueNight
,
quaternary_BackgroundColor
:
cssProperties
.
colors
.
blueGreyEve
,
quaternary_BackgroundColor
:
cssProperties
.
colors
.
blueGreyEve
,
quinary_BackgroundColor
:
cssProperties
.
colors
.
greyBlueMed
,
fifth_BackgroundColor
:
cssProperties
.
colors
.
bluePruneEve
,
senary_BackgroundColor
:
cssProperties
.
colors
.
blueBerrySmog
,
seventh_BackgroundColor
:
cssProperties
.
colors
.
blueMonday
,
seventh_BackgroundColor
:
cssProperties
.
colors
.
blueMonday
,
dark_BackgroundColor
:
cssProperties
.
colors
.
black
,
dark_BackgroundColor
:
cssProperties
.
colors
.
black
,
light_BackgroundColor
:
cssProperties
.
colors
.
white
,
light_BackgroundColor
:
cssProperties
.
colors
.
white
,
...
@@ -111,10 +114,10 @@ function styleGuide () {
...
@@ -111,10 +114,10 @@ function styleGuide () {
******************************************************** */
******************************************************** */
mainText_Color
:
cssProperties
.
colors
.
white
,
mainText_Color
:
cssProperties
.
colors
.
white
,
supportText_Color
:
cssProperties
.
colors
.
lightBlue
,
supportText_Color
:
cssProperties
.
colors
.
lightBlue
,
supportText_OppositeColor
:
cssProperties
.
colors
.
lightBlue
,
// remove supportText_Opposite ???
sub_supportText_Color
:
cssProperties
.
colors
.
greyBlueLight
,
sub_supportText_Color
:
cssProperties
.
colors
.
greyBlueLight
,
specialText_Color
:
cssProperties
.
colors
.
greenZing
,
brightText_Color
:
cssProperties
.
colors
.
blueMascara
,
additionalText_Color
:
cssProperties
.
colors
.
desatGrey
,
errorText_Color
:
cssProperties
.
colors
.
strongRed
,
errorText_Color
:
cssProperties
.
colors
.
strongRed
,
warningText_Color
:
cssProperties
.
colors
.
orange
,
warningText_Color
:
cssProperties
.
colors
.
orange
,
infoText_Color
:
cssProperties
.
colors
.
violet
,
infoText_Color
:
cssProperties
.
colors
.
violet
,
...
@@ -210,6 +213,23 @@ function styleGuide () {
...
@@ -210,6 +213,23 @@ function styleGuide () {
quaternaryButton_BorderColor
:
cssProperties
.
colors
.
veryLightGrey
,
quaternaryButton_BorderColor
:
cssProperties
.
colors
.
veryLightGrey
,
/* .................
/* .................
/* .................
Fifth
.................. */
fifthButton_TextColor
:
cssProperties
.
colors
.
black
,
fifthButton_BackgroundColor
:
cssProperties
.
colors
.
blueFairyDust
,
fifthButton_BorderColor
:
cssProperties
.
colors
.
veryLightGrey
,
/* .................
/* .................
Sixth
.................. */
sixthButton_TextColor
:
cssProperties
.
colors
.
black
,
sixthButton_BackgroundColor
:
cssProperties
.
colors
.
greenZing
,
sixthButton_BorderColor
:
cssProperties
.
colors
.
veryLightGrey
,
/* .................
SUCCESS
SUCCESS
.................. */
.................. */
successButton_TextColor
:
cssProperties
.
colors
.
white
,
successButton_TextColor
:
cssProperties
.
colors
.
white
,
...
@@ -251,6 +271,11 @@ function styleGuide () {
...
@@ -251,6 +271,11 @@ function styleGuide () {
transactButton_BackgroundColor
:
cssProperties
.
colors
.
blueFairyDust
,
transactButton_BackgroundColor
:
cssProperties
.
colors
.
blueFairyDust
,
transactButton_BorderColor
:
cssProperties
.
colors
.
lightRed
,
transactButton_BorderColor
:
cssProperties
.
colors
.
lightRed
,
// CONSTANT
constantButton_TextColor
:
cssProperties
.
colors
.
black
,
constantButton_BackgroundColor
:
cssProperties
.
colors
.
greenZing
,
constantButton_BorderColor
:
cssProperties
.
colors
.
greenZing
,
// PAYABLE TRANSACTION
// PAYABLE TRANSACTION
transactPayableButton_TextColor
:
cssProperties
.
colors
.
black
,
transactPayableButton_TextColor
:
cssProperties
.
colors
.
black
,
transactPayableButton_BackgroundColor
:
cssProperties
.
colors
.
red
,
transactPayableButton_BackgroundColor
:
cssProperties
.
colors
.
red
,
...
@@ -358,9 +383,11 @@ function styleGuide () {
...
@@ -358,9 +383,11 @@ function styleGuide () {
REMIX GENERAL
REMIX GENERAL
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
remix
:
{
remix
:
{
modalDialog_BackgroundColor_Primary
:
appProperties
.
primary
_BackgroundColor
,
modalDialog_BackgroundColor_Primary
:
appProperties
.
fifth
_BackgroundColor
,
modalDialog_text_Primary
:
appProperties
.
main
Text_Color
,
modalDialog_text_Primary
:
appProperties
.
additional
Text_Color
,
modalDialog_text_Secondary
:
appProperties
.
supportText_Color
,
modalDialog_text_Secondary
:
appProperties
.
supportText_Color
,
modalDialog_text_Link
:
appProperties
.
brightText_Color
,
modalDialog_text_Em
:
appProperties
.
specialText_Color
,
modalDialog_Header_Footer_BackgroundColor
:
appProperties
.
secondary_BackgroundColor
,
modalDialog_Header_Footer_BackgroundColor
:
appProperties
.
secondary_BackgroundColor
,
modalDialog_Header_Footer_Color
:
appProperties
.
mainText_Color
,
modalDialog_Header_Footer_Color
:
appProperties
.
mainText_Color
,
modalDialog_BoxDottedBorder_BackgroundColor
:
appProperties
.
solidBorderBox_BackgroundColor
,
modalDialog_BoxDottedBorder_BackgroundColor
:
appProperties
.
solidBorderBox_BackgroundColor
,
...
@@ -478,6 +505,7 @@ function styleGuide () {
...
@@ -478,6 +505,7 @@ function styleGuide () {
text_Primary
:
appProperties
.
mainText_Color
,
text_Primary
:
appProperties
.
mainText_Color
,
text_Secondary
:
appProperties
.
supportText_Color
,
text_Secondary
:
appProperties
.
supportText_Color
,
text_Teriary
:
appProperties
.
sub_supportText_Color
,
text_Teriary
:
appProperties
.
sub_supportText_Color
,
text_link
:
appProperties
.
brightText_Color
,
bar_Ghost
:
appProperties
.
ghostBar
,
bar_Ghost
:
appProperties
.
ghostBar
,
bar_Dragging
:
appProperties
.
draggingBar
,
bar_Dragging
:
appProperties
.
draggingBar
,
...
@@ -577,19 +605,21 @@ function styleGuide () {
...
@@ -577,19 +605,21 @@ function styleGuide () {
BorderColor
:
appProperties
.
primaryButton_BorderColor
,
BorderColor
:
appProperties
.
primaryButton_BorderColor
,
Color
:
appProperties
.
primaryButton_TextColor
Color
:
appProperties
.
primaryButton_TextColor
}),
}),
button_Create
:
appProperties
.
uiElements
.
button
({
button_Create
:
appProperties
.
uiElements
.
button
({
BackgroundColor
:
appProperties
.
transactButton_BackgroundColor
,
BackgroundColor
:
appProperties
.
transactButton_BackgroundColor
,
BorderColor
:
appProperties
.
transactButton_BorderColor
,
BorderColor
:
appProperties
.
transactButton_BorderColor
,
Color
:
appProperties
.
transactButton_TextColor
Color
:
appProperties
.
transactButton_TextColor
}),
}),
button_Constant
:
appProperties
.
uiElements
.
button
({
BackgroundColor
:
appProperties
.
constantButton_BackgroundColor
,
BorderColor
:
appProperties
.
constantButton_BorderColor
,
Color
:
appProperties
.
constantButton_TextColor
}),
button_Instance_Call
:
appProperties
.
uiElements
.
button
({
button_Instance_Call
:
appProperties
.
uiElements
.
button
({
BackgroundColor
:
appProperties
.
callButton_BackgroundColor
,
BackgroundColor
:
appProperties
.
callButton_BackgroundColor
,
BorderColor
:
appProperties
.
callButton_BorderColor
,
BorderColor
:
appProperties
.
callButton_BorderColor
,
Color
:
appProperties
.
callButton_TextColor
Color
:
appProperties
.
callButton_TextColor
}),
}),
button_Instance_Transact
:
appProperties
.
uiElements
.
button
({
button_Instance_Transact
:
appProperties
.
uiElements
.
button
({
BackgroundColor
:
appProperties
.
transactButton_BackgroundColor
,
BackgroundColor
:
appProperties
.
transactButton_BackgroundColor
,
BorderColor
:
appProperties
.
transactButton_BorderColor
,
BorderColor
:
appProperties
.
transactButton_BorderColor
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment