Sha256: cab6fd9a91f98c8e6a81446b738a34b102097320cff2fea604e04a2e52a6a4d5

Contents?: true

Size: 1.43 KB

Versions: 25

Compression:

Stored size: 1.43 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Pencil < 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(
              d:
                'M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z'
            )
          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:
                'm16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125'
            )
          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/pencil.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/pencil.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/pencil.rb