Sha256: 8550207557ac26a157983c8fd2dd06aafb2c8a4c81e0841356a127c296c632cb

Contents?: true

Size: 1.54 KB

Versions: 25

Compression:

Stored size: 1.54 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class CreditCard < 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: 'M4.5 3.75a3 3 0 0 0-3 3v.75h21v-.75a3 3 0 0 0-3-3h-15Z')
            s.path(
              fill_rule: 'evenodd',
              d:
                'M22.5 9.75h-21v7.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-7.5Zm-18 3.75a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z',
              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:
                'M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z'
            )
          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/credit_card.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/credit_card.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/credit_card.rb