Sha256: daefa467a1a2c0e63676bb5101c1f1605f640982ebfef8703dba5a826f6efa0d

Contents?: true

Size: 1.24 KB

Versions: 25

Compression:

Stored size: 1.24 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Check < 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:
                'M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z',
              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: 'm4.5 12.75 6 6 9-13.5'
            )
          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/check.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/check.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/check.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/check.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/check.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/check.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/check.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/check.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/check.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/check.rb