From 351182d841530c73bc603f4029c8d13b03e18de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8jberg?= Date: Wed, 18 Dec 2024 13:29:21 -0500 Subject: [PATCH] Add Icon.moon and Icon.sun --- src/UI/Icon.elm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/UI/Icon.elm b/src/UI/Icon.elm index 2fefea2..b8465ca 100644 --- a/src/UI/Icon.elm +++ b/src/UI/Icon.elm @@ -1080,3 +1080,19 @@ bookOutlined = [] [ path [ fill "currentColor", fillRule "evenodd", d "M4.5 2.5H10.5V8.5H3.5V3.5C3.5 2.94772 3.94772 2.5 4.5 2.5ZM3.5 9.5V10.5C3.5 11.0523 3.94772 11.5 4.5 11.5H10.5V9.5H3.5ZM11.5 9.5V11.5V12.5H10.5H4.5C3.39543 12.5 2.5 11.6046 2.5 10.5V3.5C2.5 2.39543 3.39543 1.5 4.5 1.5H10.5H11.5V2.5V8.5V9.5Z" ] [] ] + + +sun : Icon msg +sun = + Icon "sun" + [] + [ path [ strokeLinecap "round", fill "currentColor", fillRule "evenodd", d "M2.40381 2.40381L3.81802 3.81802M10.182 10.182L11.5962 11.5962M3.81802 10.182L2.40381 11.5962M11.5962 2.40381L10.182 3.81802M7 1.6967V2.6967M1.69669 7H2.69669M7 12.3033V11.3033M12.3033 7H11.3033M10 7C10 8.65685 8.65685 10 7 10C5.34315 10 4 8.65685 4 7C4 5.34315 5.34315 4 7 4C8.65685 4 10 5.34315 10 7Z" ] [] + ] + + +moon : Icon msg +moon = + Icon "moon" + [] + [ path [ fill "currentColor", fillRule "evenodd", d "M12.2911 9.83172C11.8792 9.94149 11.4464 10 11 10C8.23858 10 6 7.76142 6 5C6 3.40482 6.74701 1.98411 7.9103 1.06861C7.61345 1.02343 7.30946 1 7 1C3.68629 1 1 3.68629 1 7C1 10.3137 3.68629 13 7 13C9.28962 13 11.2797 11.7175 12.2911 9.83172Z" ] [] + ]