Sha256: ff6ae59d40174f843cbe3a595b5c30a92673d709c46605cb72399051941d1a27

Contents?: true

Size: 1.98 KB

Versions: 25

Compression:

Stored size: 1.98 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Newspaper < 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:
                'M4.125 3C3.089 3 2.25 3.84 2.25 4.875V18a3 3 0 0 0 3 3h15a3 3 0 0 1-3-3V4.875C17.25 3.839 16.41 3 15.375 3H4.125ZM12 9.75a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H12Zm-.75-2.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75ZM6 12.75a.75.75 0 0 0 0 1.5h7.5a.75.75 0 0 0 0-1.5H6Zm-.75 3.75a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1-.75-.75ZM6 6.75a.75.75 0 0 0-.75.75v3c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75v-3A.75.75 0 0 0 9 6.75H6Z',
              clip_rule: 'evenodd'
            )
            s.path(
              d:
                'M18.75 6.75h1.875c.621 0 1.125.504 1.125 1.125V18a1.5 1.5 0 0 1-3 0V6.75Z'
            )
          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 7.5h1.5m-1.5 3h1.5m-7.5 3h7.5m-7.5 3h7.5m3-9h3.375c.621 0 1.125.504 1.125 1.125V18a2.25 2.25 0 0 1-2.25 2.25M16.5 7.5V18a2.25 2.25 0 0 0 2.25 2.25M16.5 7.5V4.875c0-.621-.504-1.125-1.125-1.125H4.125C3.504 3.75 3 4.254 3 4.875V18a2.25 2.25 0 0 0 2.25 2.25h13.5M6 7.5h3v3H6v-3Z'
            )
          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/newspaper.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/newspaper.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/newspaper.rb