-
Notifications
You must be signed in to change notification settings - Fork 3
/
check.rb
21 lines (19 loc) · 823 Bytes
/
check.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true
module Phlex
module Heroicons
class Check < Base
def outline
svg(xmlns: 'http://www.w3.org/2000/svg', fill: 'none', viewbox: '0 0 24 24', stroke_width: '1.5', stroke: 'currentColor', aria_hidden: 'true', class: classes) do
whitespace
path stroke_linecap: 'round', stroke_linejoin: 'round', d: 'M4.5 12.75l6 6 9-13.5'
end
end
def solid
svg(xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24', fill: 'currentColor', aria_hidden: 'true', class: classes) do
whitespace
path fill_rule: 'evenodd', d: 'M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z', clip_rule: 'evenodd'
end
end
end
end
end