Sha256: 47e7124463ecc49f031de7fd49e0668e955770a2816c450e507fd6e692337a12

Contents?: true

Size: 1.58 KB

Versions: 14

Compression:

Stored size: 1.58 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class CodeBracketSquare < 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:
                'M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm14.25 6a.75.75 0 0 1-.22.53l-2.25 2.25a.75.75 0 1 1-1.06-1.06L15.44 12l-1.72-1.72a.75.75 0 1 1 1.06-1.06l2.25 2.25c.141.14.22.331.22.53Zm-10.28-.53a.75.75 0 0 0 0 1.06l2.25 2.25a.75.75 0 1 0 1.06-1.06L8.56 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-2.25 2.25Z',
              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:
                'M14.25 9.75 16.5 12l-2.25 2.25m-4.5 0L7.5 12l2.25-2.25M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.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/code_bracket_square.rb
phlex-icons-1.6.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-1.5.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-1.5.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-1.4.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-1.4.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-1.3.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-1.3.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-1.2.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-1.2.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-1.1.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-1.1.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-1.0.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-1.0.0 lib/phlex/icons/hero/code_bracket_square.rb