Class: Protos::Icon::Heroicon::Moon
- Inherits:
-
Protos::Icon::HeroiconComponent
- Object
- Component
- Component
- Protos::Icon::HeroiconComponent
- Protos::Icon::Heroicon::Moon
- Defined in:
- lib/protos/icon/heroicon/moon.rb
Instance Method Summary collapse
Methods inherited from Protos::Icon::HeroiconComponent
Instance Method Details
#outline ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/protos/icon/heroicon/moon.rb', line 28 def outline svg( **attrs, 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: "M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z" ) end end |
#solid ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/protos/icon/heroicon/moon.rb', line 10 def solid svg( **attrs, 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: "M9.528 1.718a.75.75 0 0 1 .162.819A8.97 8.97 0 0 0 9 6a9 9 0 0 0 9 9 8.97 8.97 0 0 0 3.463-.69.75.75 0 0 1 .981.98 10.503 10.503 0 0 1-9.694 6.46c-5.799 0-10.5-4.7-10.5-10.5 0-4.368 2.667-8.112 6.46-9.694a.75.75 0 0 1 .818.162Z", clip_rule: "evenodd" ) end end |