Sha256: fe169cb6f8a841a179b07d3276150a7bcb0e559f9da59e6492871c8711810e66

Contents?: true

Size: 1.28 KB

Versions: 12

Compression:

Stored size: 1.28 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Diamonds < Base
        def filled
          svg(
            class: classes,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M12 2.005c-.777 0 -1.508 .367 -1.971 .99l-5.362 6.895c-.89 1.136 -.89 3.083 0 4.227l5.375 6.911a2.457 2.457 0 0 0 3.93 -.017l5.361 -6.894c.89 -1.136 .89 -3.083 0 -4.227l-5.375 -6.911a2.446 2.446 0 0 0 -1.958 -.974z'
            )
          end
        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:
                'M10.831 20.413l-5.375 -6.91c-.608 -.783 -.608 -2.223 0 -3l5.375 -6.911a1.457 1.457 0 0 1 2.338 0l5.375 6.91c.608 .783 .608 2.223 0 3l-5.375 6.911a1.457 1.457 0 0 1 -2.338 0z'
            )
          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/diamonds.rb
phlex-icons-0.17.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-tabler-0.16.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-0.16.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-tabler-0.15.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-0.15.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-tabler-0.14.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-0.14.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-tabler-0.13.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-0.13.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-0.12.0 lib/phlex/icons/tabler/diamonds.rb
phlex-icons-tabler-0.12.0 lib/phlex/icons/tabler/diamonds.rb