Skip to content

Commit

Permalink
feat: chevron-expand and chevron-collapse icons (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-perkins authored Mar 22, 2023
1 parent e358a4f commit cdb0d80
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function optimizeSvgs(srcSvgData: SvgData[]) {
if (item.isElem()) {
item.eachAttr((attr) => {
if (attr.name === 'stroke' || attr.name === 'fill') {
if (attr.value === '#000') {
if (attr.value === '#000' || attr.value === 'currentColor') {
item.addAttr({
name: attr.name,
value: 'currentColor',
Expand Down
46 changes: 46 additions & 0 deletions src/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2545,6 +2545,29 @@
"sharp"
]
},
{
"name": "chevron-collapse",
"tags": [
"chevron",
"collapse"
]
},
{
"name": "chevron-collapse-outline",
"tags": [
"chevron",
"collapse",
"outline"
]
},
{
"name": "chevron-collapse-sharp",
"tags": [
"chevron",
"collapse",
"sharp"
]
},
{
"name": "chevron-down",
"tags": [
Expand Down Expand Up @@ -2600,6 +2623,29 @@
"sharp"
]
},
{
"name": "chevron-expand",
"tags": [
"chevron",
"expand"
]
},
{
"name": "chevron-expand-outline",
"tags": [
"chevron",
"expand",
"outline"
]
},
{
"name": "chevron-expand-sharp",
"tags": [
"chevron",
"expand",
"sharp"
]
},
{
"name": "chevron-forward",
"tags": [
Expand Down
1 change: 1 addition & 0 deletions src/svg/chevron-collapse-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/svg/chevron-collapse-sharp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/svg/chevron-collapse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/svg/chevron-expand-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/svg/chevron-expand-sharp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/svg/chevron-expand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cdb0d80

Please sign in to comment.