Skip to content

Commit

Permalink
fix(Login): Logo for dark context (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
itupix authored May 27, 2020
1 parent 295f2c5 commit 92d32bf
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
17 changes: 17 additions & 0 deletions public/assets/logo-skizzle-dark-context.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions src/layouts/Login/Login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
animation: slideUp 0.7s;
animation-fill-mode: both;
animation-timing-function: ease-in-out;

&--dark {
display: none;
}
}

&__intro {
Expand Down Expand Up @@ -46,13 +50,13 @@
}

&:before {
content: '';
content: "";
position: absolute;
left: 1rem;
top: 50%;
width: 1.5rem;
height: 1.5rem;
background: url('../assets/logo-azure-devops.png') no-repeat;
background: url("../assets/logo-azure-devops.png") no-repeat;
background-size: cover;
transform: translateY(-50%);
}
Expand All @@ -70,6 +74,14 @@
.skz-login {
background-color: #333;

&__logo {
display: none;

&--dark {
display: block;
}
}

&__intro {
color: #fff;
}
Expand Down
5 changes: 5 additions & 0 deletions src/layouts/Login/Login.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ const { ipcRenderer } = require('electron');
src="./assets/logo-skizzle.svg"
alt="Skizzle"
/>
<img
class="skz-login__logo skz-login__logo--dark"
src="./assets/logo-skizzle-dark-context.svg"
alt="Skizzle"
/>
<p class="skz-login__intro">
Skizzle vous permet de regrouper les pull requests de vos équipes. <br/>Pour commencer <b>connectez vous</b> avec votre compte.
</p>
Expand Down

0 comments on commit 92d32bf

Please sign in to comment.