mirror of
https://github.com/rowtype-yoga/ry-blocks.git
synced 2024-11-09 17:52:04 +03:00
Component Library from Rowtype Yoga
.github/workflows | ||
.psci_modules | ||
.storybook | ||
.vscode | ||
src | ||
test | ||
.gitignore | ||
.purs-repl | ||
convert-more.fish | ||
convert-svgs.js | ||
index.dev.js | ||
index.prod.js | ||
LICENCE | ||
package.json | ||
packages.dhall | ||
README.md | ||
spago.dhall | ||
webpack.common.js | ||
webpack.dev.js | ||
webpack.prod.js | ||
yarn.lock |
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