Sha256: 2f101fd1b3f3194500f644f03eb398ffa642815ae50fa5304a947ab3019df6a5

Contents?: true

Size: 1.87 KB

Versions: 14

Compression:

Stored size: 1.87 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Sun < Base
        def solid
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor',
            aria_hidden: 'true',
            data_slot: 'icon'
          ) do |s|
            s.path(
              d:
                'M12 2.25a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75ZM7.5 12a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM18.894 6.166a.75.75 0 0 0-1.06-1.06l-1.591 1.59a.75.75 0 1 0 1.06 1.061l1.591-1.59ZM21.75 12a.75.75 0 0 1-.75.75h-2.25a.75.75 0 0 1 0-1.5H21a.75.75 0 0 1 .75.75ZM17.834 18.894a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 1 0-1.061 1.06l1.59 1.591ZM12 18a.75.75 0 0 1 .75.75V21a.75.75 0 0 1-1.5 0v-2.25A.75.75 0 0 1 12 18ZM7.758 17.303a.75.75 0 0 0-1.061-1.06l-1.591 1.59a.75.75 0 0 0 1.06 1.061l1.591-1.59ZM6 12a.75.75 0 0 1-.75.75H3a.75.75 0 0 1 0-1.5h2.25A.75.75 0 0 1 6 12ZM6.697 7.757a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 0 0-1.061 1.06l1.59 1.591Z'
            )
          end
        end

        def outline
          svg(
            **attrs,
            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:
                'M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

14 entries across 14 versions & 2 rubygems

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