-
Notifications
You must be signed in to change notification settings - Fork 1
/
postcard_heart.rb
30 lines (29 loc) · 969 Bytes
/
postcard_heart.rb
1
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
# frozen_string_literal: true
# rubocop:disable Layout/LineLength
module Phlex
module Icons
module Bootstrap
class PostcardHeart < Base
def view_template
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
fill: 'currentColor',
viewbox: '0 0 16 16'
) do |s|
s.path(
d:
'M8 4.5a.5.5 0 0 0-1 0v7a.5.5 0 0 0 1 0zm3.5.878c1.482-1.42 4.795 1.392 0 4.622-4.795-3.23-1.482-6.043 0-4.622M2.5 5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1z'
)
s.path(
fill_rule: 'evenodd',
d:
'M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1z'
)
end
end
end
end
end
end
# rubocop:enable Layout/LineLength