diff --git a/src/Applications/UI/Kit.elm b/src/Applications/UI/Kit.elm
index 5e61bc1f..90335115 100644
--- a/src/Applications/UI/Kit.elm
+++ b/src/Applications/UI/Kit.elm
@@ -39,9 +39,6 @@ colorKit =
, base0D = rgb 6 182 239
, base0E = rgb 129 91 164
, base0F = rgb 233 107 168
-
- -- ~(˘▾˘~)
- , accent = rgb 231 150 128
}
@@ -51,9 +48,17 @@ colors =
, error = colorKit.base08
, warning = colorKit.base0A
+ -- Gray
+ , gray_100 = Color.hsl 0 0 0.988
+ , gray_200 = Color.hsl 0 0 0.973
+ , gray_300 = Color.hsl 0 0 0.933
+ , gray_400 = Color.hsl 0 0 0.882
+ , gray_500 = Color.hsl 0 0 0.863
+ , gray_600 = Color.hsl 0 0 0.776
+
-- Other
, background = rgb 2 7 14
- , selection = colorKit.accent
+ , selection = colorKit.base04
, text = colorKit.base01
}
diff --git a/src/Applications/UI/Tracks/Scene/List.elm b/src/Applications/UI/Tracks/Scene/List.elm
index 7bd60f46..ddc0049f 100644
--- a/src/Applications/UI/Tracks/Scene/List.elm
+++ b/src/Applications/UI/Tracks/Scene/List.elm
@@ -302,6 +302,7 @@ infiniteListView deps harvest infiniteList favouritesOnly searchTerm ( nowPlayin
selectedTrackIndexes
dnd
deps.showAlbum
+ deps.darkMode
derivedColors
_ ->
@@ -517,8 +518,8 @@ defaultItemView args _ idx identifiedTrack =
]
-playlistItemView : Bool -> Maybe Queue.Item -> Maybe String -> List Int -> DnD.Model Int -> Bool -> DerivedColors -> Int -> Int -> IdentifiedTrack -> Html Msg
-playlistItemView favouritesOnly nowPlaying searchTerm selectedTrackIndexes dnd showAlbum derivedColors _ idx identifiedTrack =
+playlistItemView : Bool -> Maybe Queue.Item -> Maybe String -> List Int -> DnD.Model Int -> Bool -> Bool -> DerivedColors -> Int -> Int -> IdentifiedTrack -> Html Msg
+playlistItemView favouritesOnly nowPlaying searchTerm selectedTrackIndexes dnd showAlbum darkMode derivedColors _ idx identifiedTrack =
let
( identifiers, track ) =
identifiedTrack
@@ -578,7 +579,7 @@ playlistItemView favouritesOnly nowPlaying searchTerm selectedTrackIndexes dnd s
--
, if DnD.isBeingDraggedOver listIdx dnd then
- [ dragIndicator ]
+ [ dragIndicator darkMode ]
else
[]
@@ -888,6 +889,14 @@ rowFontColors =
}
-dragIndicator : Html.Attribute msg
-dragIndicator =
- style "box-shadow" ("0 1px 0 0 " ++ Color.toCssString UI.Kit.colorKit.accent ++ " inset")
+dragIndicator : Bool -> Html.Attribute msg
+dragIndicator darkMode =
+ let
+ color =
+ if darkMode then
+ UI.Kit.colors.gray_300
+
+ else
+ UI.Kit.colorKit.base03
+ in
+ style "box-shadow" ("0 1px 0 0 " ++ Color.toCssString color ++ " inset")
diff --git a/src/Applications/UI/Tracks/View.elm b/src/Applications/UI/Tracks/View.elm
index 9757dcdf..dc4cfbb6 100644
--- a/src/Applications/UI/Tracks/View.elm
+++ b/src/Applications/UI/Tracks/View.elm
@@ -164,6 +164,7 @@ navigation maybeGrouping favouritesOnly searchTerm selectedPlaylist isOnIndexPag
, C.border_none
, C.flex_grow
, C.h_full
+ , C.min_w_0
, C.ml_1
, C.mt_px
, C.outline_none
diff --git a/src/Applications/UI/View.elm b/src/Applications/UI/View.elm
index cc130945..f00c848a 100644
--- a/src/Applications/UI/View.elm
+++ b/src/Applications/UI/View.elm
@@ -233,7 +233,7 @@ content { justifyCenter, scrolling } nodes =
, C.flex_col
, C.items_center
, C.h_full
- , C.px_4
+ , C.px_3
--
, C.md__px_8
diff --git a/src/Static/Html/Application.html b/src/Static/Html/Application.html
index a4b6b039..3ea8dcab 100644
--- a/src/Static/Html/Application.html
+++ b/src/Static/Html/Application.html
@@ -11,7 +11,7 @@
-
+