Sha256: 987425ed3bc9d289f3cfc9b8947f56854d4a3ee2bd77925f468816d91b986eb3

Contents?: true

Size: 1.32 KB

Versions: 25

Compression:

Stored size: 1.32 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Bolt < Base
        def solid
          svg(
            class: classes,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor',
            aria_hidden: 'true',
            data_slot: 'icon'
          ) do |s|
            s.path(
              fill_rule: 'evenodd',
              d:
                'M14.615 1.595a.75.75 0 0 1 .359.852L12.982 9.75h7.268a.75.75 0 0 1 .548 1.262l-10.5 11.25a.75.75 0 0 1-1.272-.71l1.992-7.302H3.75a.75.75 0 0 1-.548-1.262l10.5-11.25a.75.75 0 0 1 .913-.143Z',
              clip_rule: 'evenodd'
            )
          end
        end

        def outline
          svg(
            class: classes,
            xmlns: 'http://www.w3.org/2000/svg',
            fill: 'none',
            viewbox: '0 0 24 24',
            stroke_width: '1.5',
            stroke: 'currentColor',
            aria_hidden: 'true',
            data_slot: 'icon'
          ) do |s|
            s.path(
              stroke_linecap: 'round',
              stroke_linejoin: 'round',
              d: 'm3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
phlex-icons-0.17.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/bolt.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/bolt.rb