git.iko.soy/rowtype-yoga/purescript-next-website
on main help sign in
Improve background
commit9ee34ea7fc29ee465ad29cb9f07bbb0b92aa3232 authorsigma-andex <77549848+sigma-andex@users.noreply.github.com> dateMon 29 Aug 2022, 07:36 (4 years ago) parent67d76a3
1 file changed+4−2
src/Components/Navigation.purs+4−2
src/Components/Navigation.purs+4−2
@@ -42,8 +42,8 @@ mkBackgroundImage isDark =
4242 """
4343 else
4444 """
45− radial-gradient(25rem 25rem at left 15rem top 20rem, rgba(32, 178, 170, 0.25) 0% 10%,#0000 90% 90%),
46− radial-gradient(45rem 45rem at left 70rem top 40rem, rgba(30, 144, 255, 0.25) 0% 10%,#0000 70% 80%);
45+ radial-gradient(25rem 25rem at left 15rem top 20rem, rgba(30, 144, 255, 0.45) 0% 10%,#fff0 90% 90%),
46+ radial-gradient(45rem 45rem at left 70rem top 40rem, rgba(32, 178, 170, 0.45) 0% 10%,#fff0 70% 80%);
4747 """
4848
4949foreign import isDarkDefault_ :: Effect Boolean
@@ -101,7 +101,9 @@ navigation = do
101101 }
102102 $ icon siGithub { style: css { color: getColorValue theme "neutral" }, size: "1.5rem" }
103103 , el switch { checked: isDark, onChange: handler targetChecked $ traverse_ setDark } ""
104+
104105 ]
106+ , el NextUI.navbarToggle { hideIn: "mdMax" } React.empty -- [TODO] Find out why it is not hiding
105107 ]
106108 where
107109 mkLink theme { onClick, title, isActive } =