Sha256: 64555c51b6d1dda9a85175e10f8bc6e5578623c99b210aad27c2d6afd761fdba

Contents?: true

Size: 1.68 KB

Versions: 25

Compression:

Stored size: 1.68 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Backspace < 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:
                'M2.515 10.674a1.875 1.875 0 0 0 0 2.652L8.89 19.7c.352.351.829.549 1.326.549H19.5a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-9.284c-.497 0-.974.198-1.326.55l-6.375 6.374ZM12.53 9.22a.75.75 0 1 0-1.06 1.06L13.19 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L15.31 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-1.72 1.72-1.72-1.72Z',
              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:
                'M12 9.75 14.25 12m0 0 2.25 2.25M14.25 12l2.25-2.25M14.25 12 12 14.25m-2.58 4.92-6.374-6.375a1.125 1.125 0 0 1 0-1.59L9.42 4.83c.21-.211.497-.33.795-.33H19.5a2.25 2.25 0 0 1 2.25 2.25v10.5a2.25 2.25 0 0 1-2.25 2.25h-9.284c-.298 0-.585-.119-.795-.33Z'
            )
          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/backspace.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/backspace.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/backspace.rb