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
fe18c215
Commit
fe18c215
authored
Apr 18, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remix logo colors for light and dark themes
parent
d8d287d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
landing-page.js
src/app/ui/landing-page/landing-page.js
+9
-1
No files found.
src/app/ui/landing-page/landing-page.js
View file @
fe18c215
...
@@ -197,11 +197,19 @@ export class LandingPage extends BaseApi {
...
@@ -197,11 +197,19 @@ export class LandingPage extends BaseApi {
app
.
loadFromGist
({
gist
:
''
})
app
.
loadFromGist
({
gist
:
''
})
}
}
globalRegistry
.
get
(
'themeModule'
).
api
.
events
.
on
(
'themeChanged'
,
(
type
)
=>
{
const
invert
=
type
===
'dark'
?
1
:
0
const
img
=
document
.
getElementById
(
'remixLogo'
)
if
(
img
)
{
img
.
style
.
filter
=
`invert(
${
invert
}
)`
}
})
let
container
=
yo
`<div class="
${
css
.
homeContainer
}
bg-light">
let
container
=
yo
`<div class="
${
css
.
homeContainer
}
bg-light">
<div class="
${
css
.
jumbotronContainer
}
">
<div class="
${
css
.
jumbotronContainer
}
">
<div class="alert alert-info clearfix
${
css
.
thisJumboton
}
">
<div class="alert alert-info clearfix
${
css
.
thisJumboton
}
">
<div class="
${
css
.
logoContainer
}
">
<div class="
${
css
.
logoContainer
}
">
<img src="
${
logo
}
" alt="remix logo">
<img
id='remixLogo'
src="
${
logo
}
" alt="remix logo">
</div>
</div>
<div class="
${
css
.
headlineContainer
}
">
<div class="
${
css
.
headlineContainer
}
">
<h2 class="">The new layout has arrived</h2>
<h2 class="">The new layout has arrived</h2>
...
...
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