class Playbook::PbIcon::Icon

def asset_path

def asset_path
  return unless Rails.application.config.respond_to?(:icon_path)
  base_path = Rails.application.config.icon_path
  resolved_icon = resolve_alias(icon)
  icon_path = Dir.glob(Rails.root.join(base_path, "**", "#{resolved_icon}.svg")).first
  icon_path if icon_path && File.exist?(icon_path)
end