colour circles like baps

This commit is contained in:
Matthew Stratford 2020-03-22 03:43:25 +00:00
parent ec128e1ca3
commit 002d3b9fb7
4 changed files with 15 additions and 0 deletions

View file

@ -95,6 +95,18 @@
background-color: #78acf1;
}
.sp-track .central {
color: green;
}
.sp-track .aux {
color: #07F;
}
.sp-track .ghost {
color: gray;
}
.sp-track-active {
background-color: #10c998 !important;
}

View file

@ -134,6 +134,7 @@ function wrapPromise<T, TArgs>(factory: (...args: TArgs[]) => Promise<T>) {
}
export interface Track {
type: "central";
title: string;
artist: string;
album: Album;

View file

@ -85,6 +85,7 @@ const Item = memo(function Item({
id={isReal ? TS_ITEM_MENU_ID : ""}
collect={() => ({ id })}
>
<i className={"fa fa-circle " + (x.type)}></i>&nbsp;
{x.title}
{"artist" in x && " - " + x.artist}
<code>

View file

@ -5,6 +5,7 @@ import { AppThunk } from "../store";
import { cloneDeep } from "lodash";
export interface ItemGhost {
type: "ghost";
title: string;
artist: string;
length: string;