Sha256: bf881470e8a5c4c1ffd8155f84e1c09feb4219448c10330b1958b719a44659d5

Contents?: true

Size: 1.88 KB

Versions: 25

Compression:

Stored size: 1.88 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Sun < 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(
              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(
            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:
                '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

25 entries across 25 versions & 2 rubygems

Version Path
phlex-icons-0.17.0 lib/phlex/icons/hero/sun.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/sun.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/sun.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/sun.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/sun.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/sun.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/sun.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/sun.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/sun.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/sun.rb