-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmorphos.icons.yml
More file actions
47 lines (47 loc) · 1.18 KB
/
morphos.icons.yml
File metadata and controls
47 lines (47 loc) · 1.18 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
phosphor:
enabled: true
label: Phosphor
description: 'A flexible icon family for interfaces, diagrams, presentations — whatever, really.'
links:
- https://phosphoricons.com
- https://github.com/phosphor-icons/core
version: 2.1.1
license:
name: MIT
url: https://github.com/phosphor-icons/core/blob/main/LICENSE
gpl-compatible: true
extractor: svg
config:
sources:
- icons/phosphor/{icon_id}.svg
settings:
size:
title: 'Size'
type: 'integer'
default: 32
multipleOf: 4
minimum: 16
maximum: 96
color:
title: Color
type: string
format: color
alt:
title: 'Alt text'
type: 'string'
description: 'Accessibility alternative text, leave empty for decorative icon.'
template: >-
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 256 256"
width="{{ size|default(32) }}"
height="{{ size|default(32) }}"
fill="{{ color|default('currentColor') }}"
{% if alt %}
aria-label="{{ alt }}"
{% else %}
aria-hidden="true"
{% endif %}
>
{{ content }}
</svg>