Skip to content

Commit cdb0d80

Browse files
authored
feat: chevron-expand and chevron-collapse icons (#1198)
1 parent e358a4f commit cdb0d80

8 files changed

+53
-1
lines changed

Diff for: scripts/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async function optimizeSvgs(srcSvgData: SvgData[]) {
9494
if (item.isElem()) {
9595
item.eachAttr((attr) => {
9696
if (attr.name === 'stroke' || attr.name === 'fill') {
97-
if (attr.value === '#000') {
97+
if (attr.value === '#000' || attr.value === 'currentColor') {
9898
item.addAttr({
9999
name: attr.name,
100100
value: 'currentColor',

Diff for: src/data.json

+46
Original file line numberDiff line numberDiff line change
@@ -2545,6 +2545,29 @@
25452545
"sharp"
25462546
]
25472547
},
2548+
{
2549+
"name": "chevron-collapse",
2550+
"tags": [
2551+
"chevron",
2552+
"collapse"
2553+
]
2554+
},
2555+
{
2556+
"name": "chevron-collapse-outline",
2557+
"tags": [
2558+
"chevron",
2559+
"collapse",
2560+
"outline"
2561+
]
2562+
},
2563+
{
2564+
"name": "chevron-collapse-sharp",
2565+
"tags": [
2566+
"chevron",
2567+
"collapse",
2568+
"sharp"
2569+
]
2570+
},
25482571
{
25492572
"name": "chevron-down",
25502573
"tags": [
@@ -2600,6 +2623,29 @@
26002623
"sharp"
26012624
]
26022625
},
2626+
{
2627+
"name": "chevron-expand",
2628+
"tags": [
2629+
"chevron",
2630+
"expand"
2631+
]
2632+
},
2633+
{
2634+
"name": "chevron-expand-outline",
2635+
"tags": [
2636+
"chevron",
2637+
"expand",
2638+
"outline"
2639+
]
2640+
},
2641+
{
2642+
"name": "chevron-expand-sharp",
2643+
"tags": [
2644+
"chevron",
2645+
"expand",
2646+
"sharp"
2647+
]
2648+
},
26032649
{
26042650
"name": "chevron-forward",
26052651
"tags": [

Diff for: src/svg/chevron-collapse-outline.svg

+1
Loading

Diff for: src/svg/chevron-collapse-sharp.svg

+1
Loading

Diff for: src/svg/chevron-collapse.svg

+1
Loading

Diff for: src/svg/chevron-expand-outline.svg

+1
Loading

Diff for: src/svg/chevron-expand-sharp.svg

+1
Loading

Diff for: src/svg/chevron-expand.svg

+1
Loading

0 commit comments

Comments
 (0)