Merged in feat/SW-1711-switch-icons (pull request #1558)
Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons. Approved-by: Michael Zetterberg Approved-by: Erik Tiekstra
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
import { colorVariants } from '../colorVariants'
|
||||
|
||||
import type { NucleoIconProps } from '../../icon'
|
||||
|
||||
function PalmTree2(props: NucleoIconProps) {
|
||||
const fill = props.color ? colorVariants[props.color] : 'currentColor'
|
||||
const strokewidth = props.strokewidth || 2
|
||||
const width = props.size || '1em'
|
||||
const height = props.size || '1em'
|
||||
|
||||
return (
|
||||
<svg
|
||||
height={height}
|
||||
width={width}
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g
|
||||
fill={fill}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
transform="translate(0.25 0.25)"
|
||||
>
|
||||
<path
|
||||
d="M11.4,23a21.14,21.14,0,0,0,1.594-8.059A21.111,21.111,0,0,0,11,6"
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
/>
|
||||
<path
|
||||
d="M4,15l7-9C6,6,2,9,4,15Z"
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
/>
|
||||
<path
|
||||
d="M21,12,11,6S20,2,21,12Z"
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
/>
|
||||
<path
|
||||
d="M11,6,3,5S7-1,11,6Z"
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
/>
|
||||
<path
|
||||
d="M11,6l9-3S11.971-2.161,11,6Z"
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
/>
|
||||
<line
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
x1="1"
|
||||
x2="23"
|
||||
y1="23"
|
||||
y2="23"
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export default PalmTree2
|
||||
Reference in New Issue
Block a user