Skip to content

Commit

Permalink
add more generic svg attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
benStre committed Nov 8, 2024
1 parent 6532830 commit c24e530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export const svgTags = new Set(["animate", "animateMotion", "animateTransform",
// TODO: name collisions: "a", "script", "style", "title",

const genericSvgAttributes = [
...cXY, ...widthAndHeight, ...xy, "fill", "fill-rule", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "transform",
...cXY, ...widthAndHeight, ...xy, "x1","x2","y1","y2", "mask", "rx", "ry", "fill", "fill-rule", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "transform",
"mode", "in", "in2", "result", "filterUnits", "color-interpolation-filters","stop-color","offset","gradientUnits","gradientTransform",
"xmlns", "version", "xmlns:xlink", "viewBox", "preserveAspectRatio", "d", "stdDeviation", "values", "type", "clip-path", "text-anchor", "filter", "flood-opacity", "operator", "dy", "fill-opacity", "r"
] as const;
Expand Down

0 comments on commit c24e530

Please sign in to comment.