Sha256: 86012347af52c466a43cdbb7a93ace1a137d47c9fc6b039c3984e266b9b9b4c2

Contents?: true

Size: 1.59 KB

Versions: 25

Compression:

Stored size: 1.59 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class CodeBracketSquare < 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:
                '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(
            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:
                '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

25 entries across 25 versions & 2 rubygems

Version Path
phlex-icons-0.17.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/code_bracket_square.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/code_bracket_square.rb