Sha256: 4c6a5b81c86975667e41c3e3b352f6743a4d28d93e191825dca15a261209c3cd

Contents?: true

Size: 1.5 KB

Versions: 14

Compression:

Stored size: 1.5 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class CommandLine < Base
        def solid
          svg(
            **attrs,
            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.25 6a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V6Zm3.97.97a.75.75 0 0 1 1.06 0l2.25 2.25a.75.75 0 0 1 0 1.06l-2.25 2.25a.75.75 0 0 1-1.06-1.06l1.72-1.72-1.72-1.72a.75.75 0 0 1 0-1.06Zm4.28 4.28a.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(
            **attrs,
            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.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
phlex-icons-hero-1.6.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-1.6.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-1.5.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-hero-1.5.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-hero-1.4.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-1.4.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-hero-1.3.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-1.3.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-hero-1.2.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-1.2.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-1.1.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-hero-1.1.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-1.0.0 lib/phlex/icons/hero/command_line.rb
phlex-icons-hero-1.0.0 lib/phlex/icons/hero/command_line.rb