Sha256: 942feceeae8e5eb0a45421de7fedb2d5e913b427b12b4ddc0b2e231435cd1952

Contents?: true

Size: 1.6 KB

Versions: 25

Compression:

Stored size: 1.6 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class PlayCircle < 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:
                'M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm14.024-.983a1.125 1.125 0 0 1 0 1.966l-5.603 3.113A1.125 1.125 0 0 1 9 15.113V8.887c0-.857.921-1.4 1.671-.983l5.603 3.113Z',
              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: 'M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'
            )
            s.path(
              stroke_linecap: 'round',
              stroke_linejoin: 'round',
              d:
                'M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z'
            )
          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/play_circle.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/play_circle.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/play_circle.rb