Sha256: 48a5f5e279375ce9bafac6438fc781a43716c2dd78c5fa6d04c3fc0ded877b51

Contents?: true

Size: 1.91 KB

Versions: 25

Compression:

Stored size: 1.91 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class ChartBar < 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:
                'M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75ZM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 0 1-1.875-1.875V8.625ZM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 0 1 3 19.875v-6.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:
                'M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z'
            )
          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/chart_bar.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/chart_bar.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/chart_bar.rb