Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Fix up codegen #52

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 71 additions & 2 deletions packages/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,76 @@ edition = "2021"

[dependencies]
codegen = "0.1.3"
heck = "0.4.0"
heck = "0.5.0"
regex = "1.6.0"
scraper = "0.13.0"
scraper = "0.19.0"
ego-tree = "0.6.2"
walkdir = "2.3.2"

[features]
default = ["strip-fill"]

# strip id from svg child elements
strip-id = []
# strip class from svg child elements
strip-class = []
# strip fill from svg child elements
strip-fill = []
# strip stroke from svg child elements
strip-stroke = []
# strip all
strip-all = ["strip-id", "strip-class", "strip-fill", "strip-stroke"]

# force fill on group elements to 'currentColor' -- overrides 'strip-fill'
g-force-fill-currentcolor = []
# allow fill on child elements if value is currentColor -- overrides 'strip-fill'
allow-fill-currentcolor = []

# generate all icons
all-icons = ["bs", "fi", "go", "io", "ld", "hi", "fa", "md"]

# bootstrap icons
bs = []

# feather icons
fi = []

# octicons
go = []

# ionicons
io = []

# lucide icons
ld = []

# heroicons
hi = ["hi-outline", "hi-solid"]
hi-outline = []
hi-solid = []

# font awesome
fa = ["fa-brands", "fa-regular", "fa-solid"]
fa-brands = []
fa-regular = []
fa-solid = []

# material design icons
md = ["md-action", "md-alert", "md-av", "md-communication", "md-content", "md-device", "md-editor", "md-file", "md-hardware", "md-home", "md-image", "md-maps", "md-navigation", "md-notification", "md-places", "md-social", "md-toggle"]
md-action = []
md-alert = []
md-av = []
md-communication = []
md-content = []
md-device = []
md-editor = []
md-file = []
md-hardware = []
md-home = []
md-image = []
md-maps = []
md-navigation = []
md-notification = []
md-places = []
md-social = []
md-toggle = []
Loading