Sha256: f81587b043f7d5be114d92c0d3e53ffde5e01ca77b6890786a016ec88b4f5365

Contents?: true

Size: 1.33 KB

Versions: 14

Compression:

Stored size: 1.33 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Graph < Base
        def filled
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M18 3a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 3 -3h12zm-2.293 6.293a1 1 0 0 0 -1.414 0l-2.293 2.292l-1.293 -1.292a1 1 0 0 0 -1.414 0l-3 3a1 1 0 0 0 0 1.414l.094 .083a1 1 0 0 0 1.32 -.083l2.293 -2.292l1.293 1.292l.094 .083a1 1 0 0 0 1.32 -.083l2.293 -2.292l1.293 1.292a1 1 0 0 0 1.414 -1.414l-2 -2z'
            )
          end
        end

        def outline
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'none',
            stroke: 'currentColor',
            stroke_width: '2',
            stroke_linecap: 'round',
            stroke_linejoin: 'round'
          ) do |s|
            s.path(
              d:
                'M4 18v-12a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z'
            )
            s.path(d: 'M7 14l3 -3l2 2l3 -3l2 2')
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

14 entries across 14 versions & 2 rubygems

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