From f9526a975eb6e22bb282471700d63fcaf8b68cf3 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Tue, 22 Feb 2022 05:37:54 -0600 Subject: [PATCH] get rid of visual hairline cracks --- src/Main.elm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/Main.elm b/src/Main.elm index c7bf343..45948c8 100644 --- a/src/Main.elm +++ b/src/Main.elm @@ -337,17 +337,22 @@ viewMaze maze = ( light, dark ) = case role of Nothing -> - ( Css.hex "ECEFF1", Css.hex "546E7A" ) + ( "#ECEFF1", "#546E7A" ) Just Maze.Entrance -> - ( Css.hex "B2FF59", Css.hex "64DD17" ) + ( "#B2FF59", "#64DD17" ) Just Maze.Exit -> - ( Css.hex "64FFDA", Css.hex "00BFA5" ) + ( "#64FFDA", "#00BFA5" ) in - [ Attrs.css - [ Css.fill light - , darkMode [ Css.fill dark ] + [ Attrs.strokeWidth "1" + , Attrs.css + [ Css.property "stroke" light + , Css.fill (Css.hex light) + , darkMode + [ Css.property "stroke" dark + , Css.fill (Css.hex dark) + ] ] ] , wall =