ExTablerIcons (ExTablerIcons v0.1.0) View Source
Runner for tabler-icons.
Profiles
You can define multiple ex_tabler_icons profiles. By default, there is a
profile called :default for which you can configure its args and current
directory:
config :ex_tabler_icons,
version: "1.50.0",
default: [
cd: Path.expand("../assets", __DIR__),
config_file: "tabler_icons.json",
font_output: "../priv/static/fonts/"
css_output: "css/"
],
umbrella_default: [
cd: Path.expand("../apps/my_app/assets", __DIR__),
config_file: "tabler_icons.json",
font_output: "../priv/static/fonts/",
css_output: "css/"
]
Link to this section Summary
Functions
Returns the configuration for the given profile.
Returns the configured ex_tabler_icons version.
Returns the version of the local tabler icons repository.
Link to this section Functions
Returns the configuration for the given profile.
Returns nil if the profile does not exist.
Returns the configured ex_tabler_icons version.
Returns the version of the local tabler icons repository.
Returns {:ok, version_string} on success or :error when the repository
is not available.