Closed Greenheart closed 7 months ago
sin()
cos()
There is a WIP branch that could be a good starting point: https://github.com/Greenheart/lifewheel/tree/feature/position-icons-circle.
Inspiration: https://codepen.io/kevinpowell/pen/qBMQJVr?editors=1100
We could use the base CSS for each circle, and then provide the CSS variables as svelte props in an each block. This way we don't need Sass.
each
sin()
andcos()
to position the icons evenly around the circle. Maybe use a offset to center icons within each dimension.There is a WIP branch that could be a good starting point: https://github.com/Greenheart/lifewheel/tree/feature/position-icons-circle.
Inspiration: https://codepen.io/kevinpowell/pen/qBMQJVr?editors=1100
We could use the base CSS for each circle, and then provide the CSS variables as svelte props in an
each
block. This way we don't need Sass.