Fix svg options
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -16,11 +16,8 @@ defmodule Mix.Tasks.Heroicons.Generate do
|
|||||||
remove_dimensions: true,
|
remove_dimensions: true,
|
||||||
sort_attributes: true,
|
sort_attributes: true,
|
||||||
remove_attributes: ["stroke"],
|
remove_attributes: ["stroke"],
|
||||||
remove_path_attributes: ["stroke-width"],
|
|
||||||
add_attributes: [
|
add_attributes: [
|
||||||
{"stroke-width", "1.5"},
|
{"stroke", "currentColor"}
|
||||||
{"stroke", "currentColor"},
|
|
||||||
{"aria-hidden", "true"}
|
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -36,8 +33,7 @@ defmodule Mix.Tasks.Heroicons.Generate do
|
|||||||
sort_attributes: true,
|
sort_attributes: true,
|
||||||
remove_attributes: ["fill"],
|
remove_attributes: ["fill"],
|
||||||
add_attributes: [
|
add_attributes: [
|
||||||
{"fill", "currentColor"},
|
{"fill", "currentColor"}
|
||||||
{"aria-hidden", "true"}
|
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -53,8 +49,7 @@ defmodule Mix.Tasks.Heroicons.Generate do
|
|||||||
sort_attributes: true,
|
sort_attributes: true,
|
||||||
remove_attributes: ["fill"],
|
remove_attributes: ["fill"],
|
||||||
add_attributes: [
|
add_attributes: [
|
||||||
{"fill", "currentColor"},
|
{"fill", "currentColor"}
|
||||||
{"aria-hidden", "true"}
|
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user