Sha256: 8eee59b27b75a0c738dae0dff52208d78e6fd95de861289b55cdef694418652d

Contents?: true

Size: 798 Bytes

Versions: 3

Compression:

Stored size: 798 Bytes

Contents

# frozen_string_literal: true

module Phlex
  module Lucide
    class CodepenIcon < Phlex::Lucide::Icon
      def view_template
        svg(
          xmlns: "http://www.w3.org/2000/svg",
          width: size,
          height: size,
          viewbox: "0 0 24 24",
          fill: "none",
          stroke: "currentColor",
          stroke_width: "2",
          stroke_linecap: "round",
          stroke_linejoin: "round",
          **props
        ) do |s|
          s.polygon(points: "12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2")
          s.line(x1: "12", x2: "12", y1: "22", y2: "15.5")
          s.polyline(points: "22 8.5 12 15.5 2 8.5")
          s.polyline(points: "2 15.5 12 8.5 22 15.5")
          s.line(x1: "12", x2: "12", y1: "2", y2: "8.5")
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phlex-lucide-0.428.0 lib/phlex/lucide/icons/codepen_icon.rb
phlex-lucide-0.427.1 lib/phlex/lucide/icons/codepen_icon.rb
phlex-lucide-0.427.0 lib/phlex/lucide/icons/codepen_icon.rb