Sha256: bcaad82cfc05a6c2c29eb69a1e1051feca3759a32158b5867d8c9405e2c1fbdf

Contents?: true

Size: 1.76 KB

Versions: 14

Compression:

Stored size: 1.76 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Dice5 < 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.333 2c1.96 0 3.56 1.537 3.662 3.472l.005 .195v12.666c0 1.96 -1.537 3.56 -3.472 3.662l-.195 .005h-12.666a3.667 3.667 0 0 1 -3.662 -3.472l-.005 -.195v-12.666c0 -1.96 1.537 -3.56 3.472 -3.662l.195 -.005h12.666zm-2.833 12a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0 -3zm-7 0a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0 -3zm3.5 -3.5a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0 -3zm-3.5 -3.5a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0 -3zm7 0a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0 -3z'
            )
          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:
                'M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z'
            )
            s.circle(cx: '8.5', cy: '8.5', r: '.5', fill: 'currentColor')
            s.circle(cx: '15.5', cy: '8.5', r: '.5', fill: 'currentColor')
            s.circle(cx: '15.5', cy: '15.5', r: '.5', fill: 'currentColor')
            s.circle(cx: '8.5', cy: '15.5', r: '.5', fill: 'currentColor')
            s.circle(cx: '12', cy: '12', r: '.5', fill: 'currentColor')
          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/dice_5.rb
phlex-icons-1.6.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-tabler-1.5.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-1.5.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-tabler-1.4.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-1.4.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-1.3.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-tabler-1.3.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-tabler-1.2.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-1.2.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-tabler-1.1.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-1.1.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-1.0.0 lib/phlex/icons/tabler/dice_5.rb
phlex-icons-tabler-1.0.0 lib/phlex/icons/tabler/dice_5.rb