mirror of
https://github.com/rowtype-yoga/ry-blocks.git
synced 2024-11-05 05:34:51 +03:00
Component Library from Rowtype Yoga
.github/workflows | ||
.storybook | ||
.vscode | ||
src | ||
test | ||
.gitignore | ||
.purs-repl | ||
convert-more.fish | ||
convert-svgs.js | ||
index.dev.js | ||
index.prod.js | ||
LICENCE | ||
package-lock.json | ||
package.json | ||
packages.dhall | ||
README.md | ||
spago.dhall | ||
webpack.common.js | ||
webpack.dev.js | ||
webpack.prod.js |
Adding new icons
Place the svg in `src/Yoga/Blocks/Icon/SVG
fish convert-more.fish
You can usually delete the first empty fill
Make sure that fill
is var(--stroke-colour)
(check some other icons if unsure)
Add a reexport in:
module Yoga.Block.Icon.SVG