Class: Phlex::Icons::Iconoir::DatabaseTag
- Defined in:
- lib/phlex/icons/iconoir/icons/database_tag.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Phlex::Icons::Iconoir::Base
Instance Method Details
#regular ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/phlex/icons/iconoir/icons/database_tag.rb', line 2 def regular svg( class: @class, width: @width, height: @height, stroke_width: @stroke_width, viewbox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" ) do |s| s.path( d: "M2 15V9C2 5.68629 4.68629 3 8 3H16C19.3137 3 22 5.68629 22 9V15C22 18.3137 19.3137 21 16 21H8C4.68629 21 2 18.3137 2 15Z", stroke: "currentColor", stroke_width: @stroke_width ) s.path( d: "M16.3571 12C17.0714 12 18.5 12 18.5 10C18.5 8 17.0714 8 16.3571 8L13.5 8V12M16.3571 12C15.2143 12 13.9762 12 13.5 12M16.3571 12C17.0714 12 18.5 12 18.5 14C18.5 16 17.0714 16 16.3571 16H13.5V12", stroke: "currentColor", stroke_linecap: "round", stroke_linejoin: "round" ) s.path( d: "M8.35714 8H5.5V12L5.5 16H8.35714C9.07143 16 10.5 16 10.5 14V10C10.5 8 9.07143 8 8.35714 8Z", stroke: "currentColor", stroke_linecap: "round", stroke_linejoin: "round" ) end end |
#solid ⇒ Object
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/phlex/icons/iconoir/icons/database_tag.rb', line 35 def solid svg( class: @class, width: @width, height: @height, viewbox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" ) do |s| s.path( fill_rule: "evenodd", clip_rule: "evenodd", d: "M1.25 9C1.25 5.27208 4.27208 2.25 8 2.25H16C19.7279 2.25 22.75 5.27208 22.75 9V15C22.75 18.7279 19.7279 21.75 16 21.75H8C4.27208 21.75 1.25 18.7279 1.25 15V9ZM17.33 8.90446C17.0799 8.76441 16.7422 8.75008 16.3571 8.75008H14.25V11.2501H16.3571L16.3782 11.2501C16.7545 11.2495 17.0845 11.2332 17.33 11.0957C17.4876 11.0074 17.75 10.7939 17.75 10.0001C17.75 9.20624 17.4876 8.99272 17.33 8.90446ZM18.582 12.0001C19.0049 11.5491 19.25 10.8884 19.25 10.0001C19.25 8.79392 18.7981 8.00744 18.0629 7.5957C17.4429 7.24849 16.7382 7.24953 16.3936 7.25004L16.3571 7.25008H13.5C13.0858 7.25008 12.75 7.58586 12.75 8.00008V16.0001C12.75 16.4143 13.0858 16.7501 13.5 16.7501H16.3571L16.3936 16.7501C16.7382 16.7506 17.4429 16.7517 18.0629 16.4045C18.7981 15.9927 19.25 15.2062 19.25 14.0001C19.25 13.1118 19.0049 12.4511 18.582 12.0001ZM16.3788 12.7501L16.3571 12.7501H14.25V15.2501H16.3571C16.7422 15.2501 17.0799 15.2357 17.33 15.0957C17.4876 15.0074 17.75 14.7939 17.75 14.0001C17.75 13.2062 17.4876 12.9927 17.33 12.9045C17.0846 12.767 16.7549 12.7507 16.3788 12.7501ZM8.35714 8.75008C8.74222 8.75008 9.07989 8.76441 9.32998 8.90446C9.48758 8.99272 9.75 9.20624 9.75 10.0001V14.0001C9.75 14.7939 9.48758 15.0074 9.32998 15.0957C9.07989 15.2357 8.74222 15.2501 8.35714 15.2501H6.25V8.75008H8.35714ZM11.25 10.0001C11.25 8.79392 10.7981 8.00744 10.0629 7.5957C9.44287 7.24849 8.73819 7.24953 8.39361 7.25004L8.35714 7.25008H5.5C5.08579 7.25008 4.75 7.58586 4.75 8.00008V16.0001C4.75 16.4143 5.08579 16.7501 5.5 16.7501H8.35714L8.39361 16.7501C8.73819 16.7506 9.44287 16.7517 10.0629 16.4045C10.7981 15.9927 11.25 15.2062 11.25 14.0001V10.0001Z", fill: "currentColor" ) end end |