Sha256: 5bc75b69c832b1ab38f7599ac855df51810687c46ad02ded74f4c0d29f2c9032

Contents?: true

Size: 1.78 KB

Versions: 25

Compression:

Stored size: 1.78 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class PencilSquare < 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-8.4 8.4a5.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.32l8.4-8.4Z'
            )
            s.path(
              d:
                'M5.25 5.25a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3V13.5a.75.75 0 0 0-1.5 0v5.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5V8.25a1.5 1.5 0 0 1 1.5-1.5h5.25a.75.75 0 0 0 0-1.5H5.25Z'
            )
          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.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10'
            )
          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_square.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/pencil_square.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/pencil_square.rb