Sha256: 245d8393684d973a98cc5ff07ed489798654ab1e1f3940971b1b06176bb428c9

Contents?: true

Size: 1.08 KB

Versions: 12

Compression:

Stored size: 1.08 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Octahedron < Base
        def filled
          raise NotImplementedError
        end

        def outline
          svg(
            class: classes,
            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:
                'M12.859 21.652l8.845 -8.949a.984 .984 0 0 0 0 -1.407l-8.845 -8.948a1.233 1.233 0 0 0 -1.718 0l-8.845 8.949a.984 .984 0 0 0 0 1.407l8.845 8.949a1.234 1.234 0 0 0 1.718 -.001z'
            )
            s.path(
              d:
                'M2 12c.004 .086 .103 .178 .296 .246l8.845 2.632c.459 .163 1.259 .163 1.718 0l8.845 -2.632c.195 -.07 .294 -.156 .296 -.243'
            )
            s.path(d: 'M12 2.12v19.76')
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
phlex-icons-tabler-0.17.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-0.17.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-tabler-0.16.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-0.16.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-tabler-0.15.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-0.15.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-tabler-0.14.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-0.14.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-tabler-0.13.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-0.13.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-0.12.0 lib/phlex/icons/tabler/octahedron.rb
phlex-icons-tabler-0.12.0 lib/phlex/icons/tabler/octahedron.rb