Sha256: a2f61e7bf0570c58f9a5b6a1f8482f7d6ff5c3f66dbdc48c640aa4128cd3a1fd

Contents?: true

Size: 1.3 KB

Versions: 25

Compression:

Stored size: 1.3 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class XMark < 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:
                'M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z',
              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: 'M6 18 18 6M6 6l12 12'
            )
          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/x_mark.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/x_mark.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/x_mark.rb