Skip to content

Commit

Permalink
Add Icon.laptop and Icon.computer
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Dec 18, 2024
1 parent 07654a3 commit f183012
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/UI/Icon.elm
Original file line number Diff line number Diff line change
Expand Up @@ -1096,3 +1096,20 @@ 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" ] []
]


laptop : Icon msg
laptop =
Icon "laptop"
[]
[ path [ fill "currentColor", fillRule "evenodd", d "M2.5 3.75C2.5 3.19772 2.94772 2.75 3.5 2.75H10.5C11.0523 2.75 11.5 3.19772 11.5 3.75V8.75H10.5V3.75H3.5V8.75H2.5V3.75Z" ] []
, path [ fill "currentColor", d "M1 9.25H13C13 10.3546 12.1046 11.25 11 11.25H3C1.89543 11.25 1 10.3546 1 9.25Z" ] []
]


computer : Icon msg
computer =
Icon "computer"
[]
[ path [ fill "currentColor", fillRule "evenodd", d "M11.7929 2.49999L11 1.7071C10.8047 1.51184 10.8047 1.19525 11 0.999993C11.1953 0.804731 11.5118 0.804731 11.7071 0.999993L13.3536 2.64644C13.5488 2.8417 13.5488 3.15828 13.3536 3.35355L11.7071 4.99999C11.5118 5.19526 11.1953 5.19525 11 4.99999C10.8047 4.80473 10.8047 4.48815 11 4.29289L11.7929 3.49999H3.5C3.22386 3.49999 3 3.27613 3 2.99999C3 2.72385 3.22386 2.49999 3.5 2.49999H11.7929ZM1 2.99999C1 2.72385 1.22386 2.49999 1.5 2.49999C1.77614 2.49999 2 2.72385 2 2.99999C2 3.27614 1.77614 3.49999 1.5 3.49999C1.22386 3.49999 1 3.27614 1 2.99999ZM1 6.99999C1 6.72385 1.22386 6.49999 1.5 6.49999C1.77614 6.49999 2 6.72385 2 6.99999C2 7.27614 1.77614 7.49999 1.5 7.49999C1.22386 7.49999 1 7.27614 1 6.99999ZM3.5 6.49999C3.22386 6.49999 3 6.72385 3 6.99999C3 7.27614 3.22386 7.49999 3.5 7.49999H12.5C12.7761 7.49999 13 7.27614 13 6.99999C13 6.72385 12.7761 6.49999 12.5 6.49999H3.5ZM3 12.2929L2.20711 11.5H12.5C12.7761 11.5 13 11.2761 13 11C13 10.7239 12.7761 10.5 12.5 10.5H2.20711L3 9.7071C3.19526 9.51184 3.19526 9.19526 3 8.99999C2.80474 8.80473 2.48816 8.80473 2.29289 8.99999L0.646447 10.6464C0.451185 10.8417 0.451184 11.1583 0.646446 11.3535L2.29289 13C2.48816 13.1953 2.80474 13.1953 3 13C3.19526 12.8047 3.19526 12.4881 3 12.2929Z" ] []
]

0 comments on commit f183012

Please sign in to comment.