From f245509c808a518decc5b679a47e29c11eae2f16 Mon Sep 17 00:00:00 2001 From: rand00 Date: Thu, 13 Jan 2022 12:02:32 +0100 Subject: [PATCH] Opam_graph: UI: Styling: Alternative layer2 deps bg --- src/opam_graph.ml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/opam_graph.ml b/src/opam_graph.ml index 90d2f13..a343490 100644 --- a/src/opam_graph.ml +++ b/src/opam_graph.ml @@ -262,12 +262,18 @@ line { stroke: bisque; } -.layer2_deps_bg { - fill: url(#gradient_01); +.layer2_deps.bg { + fill: ghostwhite; } |} - (* a_fill @@ `Color ("url(#gradient_01)", None); *) + + (*< Note the '.layer2_deps.bg' selector... + https://steveliles.github.io/a_multi_class_union_css_selector.html*) + (* .layer2_deps.bg fills: + OCaml: a_fill @@ `Color ("url(#gradient_01)", None); + CSS: fill: url(#gradient_01); + *) type position = { x : float;