disk-monitor-scss Icons implementation for disk-monitor-scss
Install the gem and add to the application's Gemfile by executing:
bundle add authorskit
Or add this line to your Gemfile:
gem "authorskit"
Then add to your base component:
class ApplicationComponent < disk-monitor-scss::HTML
include AUTHORSkit
end
class Home::View < ApplicationView
def view_template
render IconName.new(size: 128, class: "text-primary")
end
end
You can configure the icon pack:
# config/initializers/authorskit.rb
AUTHORSkit.configure do |config|
config.default_size = 16
config.default_props = { stroke_width: 4 }
end
To generate the latest icons:
./bin/generate
Update the VERSION constant in lib/authorskit/version.rb, then open a pull request.
Thanks! ✌️
This project was inspired by:
We thank the authors for their contributions to the ecosystem.
Bug reports and pull requests welcome on GitHub. This project is a safe, welcoming space for collaboration.
Available as open source under the MIT License.
Everyone interacting in AUTHORSkit is expected to follow the code of conduct.