Fix #59: Use color-thief for setting player colors based on track cover

This commit is contained in:
Eliot Berriot 2018-02-18 14:31:52 +01:00
parent e67e290325
commit a910929132
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
2 changed files with 166 additions and 134 deletions

View file

@ -87,9 +87,7 @@
</div>
</div>
</div>
<div class="ui inverted segment player-wrapper">
<player></player>
</div>
<player></player>
</div>
</template>
@ -150,6 +148,7 @@ export default {
$sidebar-color: #1B1C1D;
.sidebar {
background: $sidebar-color;
@include media(">tablet") {
display:flex;
flex-direction:column;
@ -211,11 +210,6 @@ $sidebar-color: #1B1C1D;
flex: 1;
}
.player-wrapper {
border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
background-color: rgb(46, 46, 46) !important;
}
.logo {
cursor: pointer;
display: inline-block;