Class: PhlexIcons::Tabler::ColorSwatch
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Tabler::ColorSwatch
show all
- Defined in:
- lib/phlex-icons/tabler/color_swatch.rb
Instance Attribute Summary
Attributes inherited from Base
#variant
Attributes inherited from Base
#attrs
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #view_template
Methods inherited from Base
#initialize, #view_template
Instance Method Details
#filled ⇒ Object
6
7
8
|
# File 'lib/phlex-icons/tabler/color_swatch.rb', line 6
def filled
raise NotImplementedError
end
|
#outline ⇒ Object
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/phlex-icons/tabler/color_swatch.rb', line 10
def outline
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'none',
stroke: 'currentColor',
stroke_width: '2',
stroke_linecap: 'round',
stroke_linejoin: 'round'
) do |s|
s.path(d: 'M19 3h-4a2 2 0 0 0 -2 2v12a4 4 0 0 0 8 0v-12a2 2 0 0 0 -2 -2')
s.path(
d: 'M13 7.35l-2 -2a2 2 0 0 0 -2.828 0l-2.828 2.828a2 2 0 0 0 0 2.828l9 9'
)
s.path(d: 'M7.3 13h-2.3a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h12')
s.path(d: 'M17 17l0 .01')
end
end
|