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
34beb102
Commit
34beb102
authored
Dec 18, 2017
by
Rob Stupay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test of theme-chooser
parent
a2b60f0f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
3 deletions
+21
-3
terminal.js
src/app/panels/terminal.js
+5
-2
support-tab.js
src/app/tabs/support-tab.js
+0
-1
theme-chooser.js
src/app/theme/theme-chooser.js
+16
-0
No files found.
src/app/panels/terminal.js
View file @
34beb102
...
@@ -12,8 +12,11 @@ var executionContext = require('../../execution-context')
...
@@ -12,8 +12,11 @@ var executionContext = require('../../execution-context')
var
Dropdown
=
require
(
'../ui/dropdown'
)
var
Dropdown
=
require
(
'../ui/dropdown'
)
// -------------- styling ----------------------
// -------------- styling ----------------------
var
csjs
=
require
(
'csjs-inject'
)
var
csjs
=
require
(
'csjs-inject'
)
var
styleGuide
=
remixLib
.
ui
.
styleGuide
var
styles
=
styleGuide
()
var
styles
=
require
(
'../theme/theme-chooser'
)
// var styleGuide = remixLib.ui.styleGuide
// var styles = styleGuide('fred')
var
css
=
csjs
`
var
css
=
csjs
`
.panel {
.panel {
...
...
src/app/tabs/support-tab.js
View file @
34beb102
...
@@ -78,7 +78,6 @@ function supportTab (container, appAPI, events, opts) {
...
@@ -78,7 +78,6 @@ function supportTab (container, appAPI, events, opts) {
</div>
</div>
<div class="
${
css
.
chat
}
">
<div class="
${
css
.
chat
}
">
<div class="
${
css
.
chatTitle
}
" onclick=
${
openLink
}
title='Click to open chat in Gitter'>
<div class="
${
css
.
chatTitle
}
" onclick=
${
openLink
}
title='Click to open chat in Gitter'>
<img class="
${
css
.
icon
}
" title="Solidity" src="assets/img/remix_logo_512x512.svg">
<div class="
${
css
.
chatTitleText
}
">ethereum/remix community chat</div>
<div class="
${
css
.
chatTitleText
}
">ethereum/remix community chat</div>
</div>
</div>
<iframe class="
${
css
.
chatIframe
}
" src='https://gitter.im/ethereum/remix/~embed'>
<iframe class="
${
css
.
chatIframe
}
" src='https://gitter.im/ethereum/remix/~embed'>
...
...
src/app/theme/theme-chooser.js
0 → 100644
View file @
34beb102
var
remixLib
=
require
(
'remix-lib'
)
// var Storage = require('./storage')
// var styleGuide = remixLib.ui.styleGuide
var
styleGuideDark
=
remixLib
.
ui
.
styleGuideDark
// if (storage.get("theme") == 'dark') {
// return styleGuideDark
// } else {
// return styleGuide
// }
function
chooser
(
theme
)
{
return
theme
}
chooser
(
styleGuideDark
)
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