1
0
mirror of https://github.com/svg/svgo.git synced 2026-01-27 07:02:06 +03:00

55 Commits

Author SHA1 Message Date
Seth Falco
feb9b5e069 fix(convertColors): use currentColor instead of currentcolor (#2137) 2025-05-22 01:21:30 +01:00
Seth Falco
60cbbcce9b chore: omit unneccesary slugs in docs (#2121) 2025-05-05 19:38:05 +01:00
Seth Falco
966f124118 docs: minor revision to wording of migration (#2120) 2025-05-05 17:43:50 +01:00
Seth Falco
75dc22b4fb docs: add migration guide for svgo v4 (#2119) 2025-05-05 17:27:55 +01:00
Lucas Larson
10c4287051 docs: fix dead link in convertTransform.mdx (#2092) (#2106) 2025-04-18 10:15:29 +01:00
Seth Falco
9c8768f64d ci: add spellcheck (#2101) 2025-04-12 16:47:32 +01:00
Nathan Baulch
0eccff2794 chore: fix various typos across the project 2025-03-22 11:49:01 +00:00
Seth Falco
abb23bf123 docs: add usage section (#2038) 2024-06-16 00:10:42 +01:00
Seth Falco
1348383caa chore(addAttributesToSVGElement): fix typoes in docs (#2037) 2024-06-14 21:44:45 +01:00
Seth Falco
5481fc2477 fix: don't insert 0 at start or end of attribute if whitespace (#2036) 2024-06-14 12:48:56 +01:00
Seth Falco
32edd7bcd6 chores: amend version strings (#2023) 2024-06-07 18:53:07 +01:00
Seth Falco
1e23f66e76 chore: rename removescriptelement to removescripts (#2021) 2024-06-07 09:58:21 +01:00
Seth Falco
c86536ed70 chore: disable removeTitle from default plugins (#2014) 2024-05-24 21:14:48 +01:00
John Albin Wilkins
3d2a6247e0 Remove the removeViewBox plugin from the default plugins list (#1461) 2024-05-24 20:49:24 +01:00
Seth Falco
83a94e9475 chore: minor wording in package.json and docs (#2013) 2024-05-24 20:33:31 +01:00
Gifford Nowland
c250920fd0 docs: fix transposition of preset-default (#2012) 2024-05-20 17:28:23 +01:00
Seth Falco
bec0cb487e docs: minor restructure and rewording (#2011) 2024-05-18 09:46:13 +01:00
Seth Falco
07b3dc0f07 docs: add section on reproducible ids for prefix ids (#2010) 2024-05-18 01:10:02 +01:00
Seth Falco
9fdbb4d11c chore: use markdown in frontmatter (#2009) 2024-05-17 12:13:30 +01:00
Seth Falco
3bcdc37cb7 docs: use plugin names and refactor (#2007) 2024-05-15 20:37:26 +01:00
Viktor Szépe
559b9ad068 chore: resolve typos 2024-05-09 10:09:31 +01:00
Kevin Ebaugh
6b162fb9cd docs: fix "purly" typo (#1994) 2024-05-08 23:50:08 +01:00
Kendell R
9a7750f2a8 fix(mergePaths): use a default floatPrecision (#1945) 2024-02-07 21:20:50 +00:00
Jon Dufresne
59796a829b feat(removeDeprecatedAttrs): new removeDeprecatedAttrs plugin (#1869) 2024-01-15 21:48:14 +00:00
JayLeininger
6747e3a047 feat(convertcolors): add param to convert colors to common case (#1692) 2024-01-07 16:28:24 +00:00
Kendell R
8644cf36e8 feat(convertPathData): convert c to q (#1892) 2024-01-01 20:47:21 +00:00
Kendell R
562152a729 feat(convertPathData): use the sagitta of arcs to round and convert to lines when applicable (#1873) 2023-12-27 12:53:01 +00:00
Seth Falco
22533f1ffe chore: update prettier and eslint (#1885) 2023-12-15 13:10:21 +00:00
Jon Dufresne
aa470c7952 chore: apply prettier to all supported file types (#1870) 2023-12-15 12:30:44 +00:00
XhmikosR
74f8bd7af0 chore: fix typo (#1874) 2023-12-09 20:35:39 +00:00
Seth Falco
8390add9ab feat(removeUnknownAndDefaults): apply to xml declarations (#1872) 2023-12-07 11:56:14 +00:00
Jon Dufresne
d6ff70baf9 chore: fix several typos (#1868) 2023-12-03 18:02:22 +00:00
Seth Falco
a663d8d683 fix(cleanupEnableBackground): clean up inline styles too (#1866) 2023-12-02 12:26:21 +00:00
Seth Falco
e22d533be8 fix(removeHiddenElems): remove hidden definitions usage (#1852) 2023-11-26 20:55:35 +00:00
Seth Falco
ee0a0f5130 docs(removeXlink): add tip to run plugin last (#1840) 2023-11-18 18:19:25 +00:00
Seth Falco
bf5cf1fadd docs: add params section to remove xlink docs (#1839) 2023-11-18 17:46:29 +00:00
Bogdan Chadkin
9fca7be551 feat(removeXlink): new plugin to map xlink attrs to svg 2 2023-11-18 16:29:20 +00:00
Kendell R
14bdacc2df feat(convertPathData): replace with z and remove z when optimal (#1822) 2023-11-12 13:52:01 +00:00
Seth Falco
a9df915d1d fix: dont trim pre elements (#1796)
Includes pre in the array of text elements in _collections.js so that we don't trim whitespace on them, which effects rendering.
2023-11-12 11:56:39 +00:00
Seth Falco
4c2cc1bbdb feat(inlineStyles): remove redundant presentation attrs (#1829)
SVGs can have the same presentation attribute declared redundantly in
both the node attributes and `<style>` tag.

This wouldn't break anything, but we can shave off a few more bytes by
dropping the attribute in this case.
2023-11-11 12:43:13 +00:00
Seth Falco
43df633348 docs: add documentation for all commands (#1808) 2023-11-07 23:43:09 +00:00
Bogdan Chadkin
bbc6baca78 Plugin definitive guide (#1624)
This is just initial thoughts. Feel free to suggest any changes.

Here are described only the new visitor plugins api. Old "full", "perItem", "perItemReverse" will be removed in v3. Old JSAPI class on every node will be also removed so nodes could be plain objects.
2022-01-09 14:27:04 +03:00
Bogdan Chadkin
6cecd76f62 Remove config extending and full flag support 2021-02-15 13:12:29 +03:00
강석재
ece039ed8a Update ko.md 2018-03-08 18:37:18 +03:00
paroblow
162bb48184 Fix typo en.md 2018-03-08 18:37:18 +03:00
strarsis
2523799a12 Add inlineStyles plugin (rewrite of localStyles plugin) (#592)
Add inlineStyles plugin
2017-10-22 21:57:47 +03:00
David Leston
7f329bc74c Typo fixed: if yout plugin -> if your plugin 2017-07-12 14:01:24 -07:00
Jonathan Stoye
e776299890 updating the docs on the testing section 2016-10-10 10:49:13 +02:00
primeiros
e136a72b44 Create ko.md
Translate to Korean
2016-09-23 12:48:21 +09:00
Prayag Verma
b0d36a4830 Minor English tweak
Change sentence structure to make it more readable
2016-02-19 20:16:47 +05:30