Sha256: bff445ff36ced6a365c33d1ccdca0fcfd20190bf1396e2cc085bdc48e3872c97

Contents?: true

Size: 1.59 KB

Versions: 25

Compression:

Stored size: 1.59 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Calendar < 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:
                'M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z',
              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:
                'M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5'
            )
          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/calendar.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/calendar.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/calendar.rb