README.md in phlex-icons-hero-0.11.0 vs README.md in phlex-icons-hero-0.12.0

- old
+ new

@@ -8,17 +8,18 @@ </div> # Phlex::Icons -General icons extension for [Phlex](https://phlex.fun). Includes more than 🎨 7,300 icons from: +General icons extension for [Phlex](https://phlex.fun). Includes more than 🎨 12,000 icons from: - [Bootstrap Icons](https://icons.getbootstrap.com) (2,000+) - [Flag Icons](https://flagicons.lipis.dev) (250+) - [Heroicons](https://heroicons.com) (300+) - [Lucide Icons](https://lucide.dev/icons) (1,500+) - [RadixUI Icons](https://radix-ui.com/icons) (300+) - [Remix Icons](https://remixicon.com) (2,800+) +- [Tabler Icons](https://tabler.io/icons) (4,800+) And happy to extend to other icon packs! Thanks [nejdetkadir](https://github.com/nejdetkadir) for creating [Phlex::Heroicons](https://github.com/nejdetkadir/phlex-heroicons) as it was the base for this gem. @@ -94,10 +95,22 @@ ### Remix Icons configuration Nothing to configure for Remix Icons. +### Tabler Icons configuration + +```ruby +Phlex::Icons::Tabler.configure do |config| + config.default_variant = :outline # or :filled +end + +# OR + +Phlex::Icons::Tabler.configuration.default_variant = :outline # or :filled +``` + ## Usage ```ruby require 'phlex_icons' @@ -108,9 +121,10 @@ render Phlex::Icons::Flag::Sa.new(variant: :rectangle, classes: 'size-4') render Phlex::Icons::Hero::Home.new(variant: :solid, classes: 'size-4') render Phlex::Icons::Lucide::House.new(classes: 'size-4') render Phlex::Icons::Radix::Home.new(classes: 'size-4') render Phlex::Icons::Remix::HomeLine.new(classes: 'size-4') + render Phlex::Icons::Tabler::Home.new(variant: :filled, classes: 'size-4') end end end ```