Skip to content

Instantly share code, notes, and snippets.

@sergeysova
Last active July 28, 2022 10:38
Show Gist options
  • Save sergeysova/5c4d5f374293d55595c3d583019ed925 to your computer and use it in GitHub Desktop.
Save sergeysova/5c4d5f374293d55595c3d583019ed925 to your computer and use it in GitHub Desktop.
SVGF
import { h, spec } from "forest";
export default function Icon(props = {}) {
h("svg", {
attr: {
"height": "32",
"width": "32",
"xml:space": "preserve",
"xmlns": "http://www.w3.org/2000/svg"
},
fn() {
spec(props);
h("circle", {
attr: {
"cx": "16",
"cy": "16",
"fill": "#FFF",
"r": "14.5"
}
});
h("path", {
attr: {
"d": "M30.5 16c0-1.339-.196-2.631-.536-3.862C27.83 6.787 22.612 3 16.5 3 8.492 3 2 9.492 2 17.5c0 1.339.196 2.631.536 3.862C4.67 26.713 9.888 30.5 16 30.5c8.008 0 14.5-6.492 14.5-14.5z",
"fill": "#80D8FF"
}
});
h("path", {
attr: {
"d": "M15.737 31C7.474 31 1 24.411 1 16c0-3.629 1.237-7.111 3.485-9.804a.5.5 0 0 1 .768.641C3.155 9.35 2 12.604 2 16c0 7.851 6.034 14 13.737 14C23.602 30 30 23.72 30 16S23.602 2 15.737 2c-2.44 0-4.813.62-6.858 1.792a.5.5 0 0 1-.496-.869C10.579 1.665 13.122 1 15.737 1 24.153 1 31 7.729 31 16s-6.847 15-15.263 15z",
"fill": "#455A64"
}
});
h("path", {
attr: {
"d": "M7.543 4.552c0 .275-.225.5-.5.5a.501.501 0 0 1-.5-.5.5.5 0 0 1 1 0z",
"fill": "#455A64"
}
});
h("path", {
attr: {
"d": "M13.25 22.875c-.486 0-.403-.184-.571-.646l-1.429-4.703 11-6.526-9 11.875z",
"fill": "#ECEFF1"
}
});
h("path", {
attr: {
"d": "M13.25 22.875c.375 0 .541-.171.75-.375l2-1.945-2.495-1.504-.255 3.824z",
"fill": "#CFD8DC"
}
});
h("path", {
attr: {
"d": "m13.505 19.051 6.045 4.466c.69.38 1.188.183 1.359-.641l2.461-11.595c.252-1.01-.385-1.468-1.045-1.169L7.876 15.685c-.986.396-.979.946-.18 1.191l3.708 1.157 8.584-5.416c.405-.246.777-.114.473.157l-6.956 6.277z",
"fill": "#FFF"
}
});
h("path", {
attr: {
"d": "M19.55 24.018a.496.496 0 0 1-.316-.113l-5.763-4.721a.5.5 0 0 1-.019-.758l4.277-3.86a.499.499 0 1 1 .67.742l-3.846 3.47 5.313 4.353a.5.5 0 0 1-.316.887z",
"fill": "#455A64"
}
});
h("path", {
attr: {
"d": "M20.157 24.204c-.265 0-.55-.083-.849-.248l-3.286-2.641-1.684 1.553c-.234.229-.52.507-1.089.507-.7 0-.863-.369-.97-.748-.019-.065-.04-.141-.071-.228l-1.206-3.969-3.456-1.078c-.814-.25-.923-.749-.932-.951-.014-.336.161-.815 1.074-1.181l14.848-5.729a1.074 1.074 0 0 1 1.212.323c.203.249.281.573.215.889l-2.565 12.275c-.23 1.106-.945 1.226-1.241 1.226zM16 20.155c.111 0 .222.037.313.111l3.55 2.862c.459.219.5-.085.557-.354L22.985 10.5l-.063-.081-14.866 5.732c-.175.07-.29.139-.36.19.037.018.086.037.147.056l3.711 1.158c.157.05.281.174.329.332l1.274 4.196c.033.088.061.188.085.272a.133.133 0 0 1 .005.019c.133-.001.203-.037.388-.218l2.026-1.87a.508.508 0 0 1 .339-.131z",
"fill": "#455A64"
}
});
h("path", {
attr: {
"d": "M20.043 13.552c0 .275-.225.5-.5.5a.501.501 0 0 1-.5-.5.5.5 0 0 1 1 0z",
"fill": "#455A64"
}
});
}
});
}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment