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
6713f691
Unverified
Commit
6713f691
authored
Feb 24, 2020
by
yann300
Committed by
GitHub
Feb 24, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2600 from ethereum/yann300-patch-4
Default to dark theme
parents
4e410a8b
40ea18a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
theme-module.js
src/app/tabs/theme-module.js
+1
-1
init.js
test-browser/helpers/init.js
+1
-0
No files found.
src/app/tabs/theme-module.js
View file @
6713f691
...
...
@@ -38,7 +38,7 @@ export class ThemeModule extends Plugin {
config
:
registry
.
get
(
'config'
).
api
}
this
.
themes
=
themes
.
reduce
((
acc
,
theme
)
=>
({
...
acc
,
[
theme
.
name
]:
theme
}),
{})
this
.
active
=
this
.
_deps
.
config
.
get
(
'settings/theme'
)
?
this
.
_deps
.
config
.
get
(
'settings/theme'
)
:
'
Flatly
'
this
.
active
=
this
.
_deps
.
config
.
get
(
'settings/theme'
)
?
this
.
_deps
.
config
.
get
(
'settings/theme'
)
:
'
Dark
'
}
/** Return the active theme */
...
...
test-browser/helpers/init.js
View file @
6713f691
...
...
@@ -29,5 +29,6 @@ function initModules (browser, callback) {
.
clickLaunchIcon
(
'settings'
)
.
setValue
(
'#gistaccesstoken'
,
process
.
env
.
gist_token
)
.
click
(
'#savegisttoken'
)
.
click
(
'#settingsView #Flatly'
)
// e2e tests were initially developed with Flatly. Some tests are failing with the default one (Dark), because the dark theme put uppercase everywhere.
.
perform
(()
=>
{
callback
()
})
}
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