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
9c417a95
Commit
9c417a95
authored
Nov 27, 2017
by
Rob Stupay
Committed by
yann300
Dec 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remix_theme style-guide update
parent
74c7ed8f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
25 deletions
+58
-25
style-guide.js
remix-lib/src/ui/style-guide.js
+58
-25
No files found.
remix-lib/src/ui/style-guide.js
View file @
9c417a95
...
@@ -33,6 +33,9 @@ function styleGuide () {
...
@@ -33,6 +33,9 @@ function styleGuide () {
blueMascara
:
'hsla(187, 100%, 51%, 1)'
,
blueMascara
:
'hsla(187, 100%, 51%, 1)'
,
blueMorningGlory
:
'hsla(213, 74%, 80%, 1)'
,
blueMorningGlory
:
'hsla(213, 74%, 80%, 1)'
,
blueFairyDust
:
'hsla(181, 83%, 86%, 1)'
,
blueFairyDust
:
'hsla(181, 83%, 86%, 1)'
,
blueMonday
:
'hsla(213, 100%, 16%, 1)'
,
greenZing
:
'hsla(148, 79%, 47%, 1)'
,
// GREY
// GREY
grey
:
'hsla(0, 0%, 40%, 1)'
,
grey
:
'hsla(0, 0%, 40%, 1)'
,
...
@@ -93,7 +96,7 @@ function styleGuide () {
...
@@ -93,7 +96,7 @@ function styleGuide () {
quaternary_BackgroundColor
:
cssProperties
.
colors
.
blueGreyEve
,
quaternary_BackgroundColor
:
cssProperties
.
colors
.
blueGreyEve
,
quinary_BackgroundColor
:
cssProperties
.
colors
.
greyBlueMed
,
quinary_BackgroundColor
:
cssProperties
.
colors
.
greyBlueMed
,
senary_BackgroundColor
:
cssProperties
.
colors
.
blueBerrySmog
,
senary_BackgroundColor
:
cssProperties
.
colors
.
blueBerrySmog
,
seventh_BackgroundColor
:
cssProperties
.
colors
.
blue
Blur
,
seventh_BackgroundColor
:
cssProperties
.
colors
.
blue
Monday
,
dark_BackgroundColor
:
cssProperties
.
colors
.
black
,
dark_BackgroundColor
:
cssProperties
.
colors
.
black
,
light_BackgroundColor
:
cssProperties
.
colors
.
white
,
light_BackgroundColor
:
cssProperties
.
colors
.
white
,
debuggingMode_BackgroundColor
:
cssProperties
.
colors
.
lightViolet
,
debuggingMode_BackgroundColor
:
cssProperties
.
colors
.
lightViolet
,
...
@@ -136,9 +139,9 @@ function styleGuide () {
...
@@ -136,9 +139,9 @@ function styleGuide () {
danger_BorderColor
:
cssProperties
.
colors
.
red
,
danger_BorderColor
:
cssProperties
.
colors
.
red
,
// Warning
// Warning
warning_TextColor
:
cssProperties
.
colors
.
desatGrey
,
warning_TextColor
:
cssProperties
.
colors
.
black
,
warning_BackgroundColor
:
cssProperties
.
colors
.
blu
e
,
warning_BackgroundColor
:
cssProperties
.
colors
.
orang
e
,
warning_BorderColor
:
cssProperties
.
colors
.
orange
,
//
warning_BorderColor: cssProperties.colors.orange,
// Tooltip
// Tooltip
tooltip_Color
:
cssProperties
.
colors
.
white
,
tooltip_Color
:
cssProperties
.
colors
.
white
,
...
@@ -163,9 +166,15 @@ function styleGuide () {
...
@@ -163,9 +166,15 @@ function styleGuide () {
/* ------------------------------------------------------
/* ------------------------------------------------------
SOLID BORDER BOX
SOLID BORDER BOX
******************************************************** */
******************************************************** */
solidBorderBox_TextColor
:
cssProperties
.
colors
.
black
,
solidBorderBox_TextColor
:
cssProperties
.
colors
.
white
,
solidBorderBox_BackgroundColor
:
cssProperties
.
colors
.
blueGreyEve
,
solidBorderBox_BackgroundColor
:
cssProperties
.
colors
.
black
,
solidBorderBox_BorderColor
:
cssProperties
.
colors
.
backgroundBlue
,
solidBorderBox_BorderColor
:
cssProperties
.
colors
.
lightBlue
,
/* ------------------------------------------------------
SOLID BOX
******************************************************** */
solidBox_TextColor
:
cssProperties
.
colors
.
white
,
solidBox_BackgroundColor
:
cssProperties
.
colors
.
black
,
/* ------------------------------------------------------
/* ------------------------------------------------------
BUTTONS
BUTTONS
...
@@ -192,6 +201,15 @@ function styleGuide () {
...
@@ -192,6 +201,15 @@ function styleGuide () {
teriaryButton_BackgroundColor
:
cssProperties
.
colors
.
greyBlueMed
,
teriaryButton_BackgroundColor
:
cssProperties
.
colors
.
greyBlueMed
,
teriaryButton_BorderColor
:
cssProperties
.
colors
.
veryLightGrey
,
teriaryButton_BorderColor
:
cssProperties
.
colors
.
veryLightGrey
,
/* .................
/* .................
/* .................
Quaternary
.................. */
quaternaryButton_TextColor
:
cssProperties
.
colors
.
black
,
quaternaryButton_BackgroundColor
:
cssProperties
.
colors
.
blueMascara
,
quaternaryButton_BorderColor
:
cssProperties
.
colors
.
veryLightGrey
,
/* .................
SUCCESS
SUCCESS
.................. */
.................. */
successButton_TextColor
:
cssProperties
.
colors
.
white
,
successButton_TextColor
:
cssProperties
.
colors
.
white
,
...
@@ -230,7 +248,7 @@ function styleGuide () {
...
@@ -230,7 +248,7 @@ function styleGuide () {
// TRANSACTION
// TRANSACTION
transactButton_TextColor
:
cssProperties
.
colors
.
black
,
transactButton_TextColor
:
cssProperties
.
colors
.
black
,
transactButton_BackgroundColor
:
cssProperties
.
colors
.
orange
,
transactButton_BackgroundColor
:
cssProperties
.
colors
.
blueFairyDust
,
transactButton_BorderColor
:
cssProperties
.
colors
.
lightRed
,
transactButton_BorderColor
:
cssProperties
.
colors
.
lightRed
,
// PAYABLE TRANSACTION
// PAYABLE TRANSACTION
...
@@ -256,6 +274,17 @@ function styleGuide () {
...
@@ -256,6 +274,17 @@ function styleGuide () {
width : 100%;
width : 100%;
`
,
`
,
solidBox
:
(
opts
=
{})
=>
`
background-color :
${
opts
.
BackgroundColor
}
;
color :
${
opts
.
Color
}
;
font-size : 12px;
padding : 10px 15px;
line-height : 20px;
overflow : hidden;
word-break : break-word;
width : 100%;
`
,
dottedBorderBox
:
(
opts
=
{})
=>
`
dottedBorderBox
:
(
opts
=
{})
=>
`
background-color :
${
opts
.
BackgroundColor
}
;
background-color :
${
opts
.
BackgroundColor
}
;
border : .2em dotted
${
opts
.
BorderColor
}
;
border : .2em dotted
${
opts
.
BorderColor
}
;
...
@@ -378,7 +407,7 @@ function styleGuide () {
...
@@ -378,7 +407,7 @@ function styleGuide () {
backgroundColor_Editor_Context_Error_Highlights
:
appProperties
.
error_BackgroundColor
,
backgroundColor_Editor_Context_Error_Highlights
:
appProperties
.
error_BackgroundColor
,
backgroundColor_DebuggerMode
:
appProperties
.
debuggingMode_BackgroundColor
,
backgroundColor_DebuggerMode
:
appProperties
.
debuggingMode_BackgroundColor
,
text_Primary
:
appProperties
.
supportText_Opposite
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_Editor
:
''
,
text_Editor
:
''
,
...
@@ -393,7 +422,7 @@ function styleGuide () {
...
@@ -393,7 +422,7 @@ function styleGuide () {
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
terminal
:
{
terminal
:
{
backgroundColor_Menu
:
appProperties
.
secondary_BackgroundColor
,
backgroundColor_Menu
:
appProperties
.
secondary_BackgroundColor
,
backgroundColor_Terminal
:
appProperties
.
se
nary
_BackgroundColor
,
backgroundColor_Terminal
:
appProperties
.
se
venth
_BackgroundColor
,
backgroundColor_TerminalCLI
:
appProperties
.
seventh_BackgroundColor
,
backgroundColor_TerminalCLI
:
appProperties
.
seventh_BackgroundColor
,
text_Primary
:
appProperties
.
mainText_Color
,
text_Primary
:
appProperties
.
mainText_Color
,
...
@@ -425,15 +454,15 @@ function styleGuide () {
...
@@ -425,15 +454,15 @@ function styleGuide () {
}),
}),
button_Log_Debug
:
appProperties
.
uiElements
.
button
({
button_Log_Debug
:
appProperties
.
uiElements
.
button
({
BackgroundColor
:
appProperties
.
info
Button_BackgroundColor
,
BackgroundColor
:
appProperties
.
quaternary
Button_BackgroundColor
,
BorderColor
:
appProperties
.
infoButton_BorderColor
,
BorderColor
:
appProperties
.
infoButton_BorderColor
,
Color
:
appProperties
.
infoButton_TextColor
Color
:
appProperties
.
infoButton_TextColor
}),
}),
button_Log_Details
:
appProperties
.
uiElements
.
button
({
button_Log_Details
:
appProperties
.
uiElements
.
button
({
BackgroundColor
:
appProperties
.
second
aryButton_BackgroundColor
,
BackgroundColor
:
appProperties
.
quatern
aryButton_BackgroundColor
,
BorderColor
:
appProperties
.
second
aryButton_BorderColor
,
BorderColor
:
appProperties
.
quatern
aryButton_BorderColor
,
Color
:
appProperties
.
second
aryButton_TextColor
Color
:
appProperties
.
quatern
aryButton_TextColor
})
})
},
},
...
@@ -442,9 +471,9 @@ function styleGuide () {
...
@@ -442,9 +471,9 @@ function styleGuide () {
RIGHT PANEL
RIGHT PANEL
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
rightPanel
:
{
rightPanel
:
{
backgroundColor_Panel
:
appProperties
.
primary
_BackgroundColor
,
backgroundColor_Panel
:
appProperties
.
seventh
_BackgroundColor
,
backgroundColor_Tab
:
appProperties
.
quinary
_BackgroundColor
,
backgroundColor_Tab
:
appProperties
.
seventh
_BackgroundColor
,
BackgroundColor_Pre
:
appProperties
.
light
_BackgroundColor
,
BackgroundColor_Pre
:
appProperties
.
dark
_BackgroundColor
,
text_Primary
:
appProperties
.
mainText_Color
,
text_Primary
:
appProperties
.
mainText_Color
,
text_Secondary
:
appProperties
.
supportText_Color
,
text_Secondary
:
appProperties
.
supportText_Color
,
...
@@ -497,7 +526,7 @@ function styleGuide () {
...
@@ -497,7 +526,7 @@ function styleGuide () {
box_CompileContainer
:
appProperties
.
uiElements
.
solidBorderBox
({
box_CompileContainer
:
appProperties
.
uiElements
.
solidBorderBox
({
BackgroundColor
:
appProperties
.
solidBorderBox_BackgroundColor
,
BackgroundColor
:
appProperties
.
solidBorderBox_BackgroundColor
,
BorderColor
:
appProperties
.
solidBorderBox_B
order
Color
,
BorderColor
:
appProperties
.
solidBorderBox_B
ackground
Color
,
Color
:
appProperties
.
solidBorderBox_TextColor
Color
:
appProperties
.
solidBorderBox_TextColor
}),
}),
...
@@ -510,9 +539,8 @@ function styleGuide () {
...
@@ -510,9 +539,8 @@ function styleGuide () {
::::::::::::::: */
::::::::::::::: */
runTab
:
{
runTab
:
{
box_RunTab
:
appProperties
.
uiElements
.
solidBorderBox
({
box_RunTab
:
appProperties
.
uiElements
.
solidBorderBox
({
BackgroundColor
:
appProperties
.
solidBorderBox_BackgroundColor
,
BackgroundColor
:
appProperties
.
solidBox_BackgroundColor
,
BorderColor
:
appProperties
.
solidBorderBox_BorderColor
,
Color
:
appProperties
.
solidBox_TextColor
Color
:
appProperties
.
solidBorderBox_TextColor
}),
}),
dropdown_RunTab
:
appProperties
.
uiElements
.
dropdown
({
dropdown_RunTab
:
appProperties
.
uiElements
.
dropdown
({
...
@@ -532,10 +560,15 @@ function styleGuide () {
...
@@ -532,10 +560,15 @@ function styleGuide () {
Color
:
appProperties
.
input_TextColor
Color
:
appProperties
.
input_TextColor
}),
}),
box_Instance
:
appProperties
.
uiElements
.
solidBorderBox
({
box_Instance
:
appProperties
.
uiElements
.
solidBox
({
BackgroundColor
:
appProperties
.
solidBorderBox_BackgroundColor
,
BackgroundColor
:
appProperties
.
solidBox_BackgroundColor
,
BorderColor
:
appProperties
.
solidBorderBox_BorderColor
,
Color
:
appProperties
.
solidBox_TextColor
Color
:
appProperties
.
solidBorderBox_TextColor
}),
borderBox_Instance
:
appProperties
.
uiElements
.
solidBorderBox
({
BackgroundColor
:
appProperties
.
solidBox_BackgroundColor
,
Color
:
appProperties
.
solidBox_TextColor
,
BorderColor
:
appProperties
.
solidBorderBox_BorderColor
}),
}),
button_atAddress
:
appProperties
.
uiElements
.
button
({
button_atAddress
:
appProperties
.
uiElements
.
button
({
...
...
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