chore(deps): update dependency svgo to v4 (#1790)
* chore(deps): update dependency svgo to v4 * chore: regenerate `deno.lock` * chore(stylelint/optimized-svgs): update svgo syntax for v4.x * refactor: apply svg lint fixes Looks like the only difference is that the order of functions in the `transform` attribute was changed, shouldn't have any functional differences. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: WalkQuackBack <[email protected]> Co-authored-by: uncenter <[email protected]>
This commit is contained in:
5 files changed
+59
-49
No files matched your search
@@ -268,7 +268,7 @@
|
||||
summary,
|
||||
#control\.syn {
|
||||
@svg: escape(
|
||||
'<svg width="128" height="104" viewBox="0 0 128 104" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><defs><filter id="a" x="-.06" y="-.03" width="1.14" height="1.07" color-interpolation-filters="sRGB"><feFlood flood-color="#000" flood-opacity=".498" result="flood"/><feGaussianBlur in="SourceGraphic" result="blur" stdDeviation="1"/><feOffset dx="1" dy="1" in="blur" result="offset"/><feComposite in="flood" in2="offset" operator="in" result="comp1"/><feComposite in="SourceGraphic" in2="comp1" result="comp2"/></filter><filter id="b" x="-.06" y="-.03" width="1.14" height="1.07" color-interpolation-filters="sRGB"><feFlood flood-color="#000" flood-opacity=".498" result="flood"/><feGaussianBlur in="SourceGraphic" result="blur" stdDeviation="1"/><feOffset dx="1" dy="1" in="blur" result="offset"/><feComposite in="flood" in2="offset" operator="in" result="comp1"/><feComposite in="SourceGraphic" in2="comp1" result="comp2"/></filter></defs><g transform="translate(64)" filter="url(#a)"><rect x="8.5" y="8.5" width="40" height="80" rx="4" ry="4" fill="@{surface0}"/><text transform="matrix(0 -.995 1 0 0 0)" x="-86.188" y="23.735" fill="@{subtext1}" xml:space="preserve"><tspan x="-86.188" y="23.735" font-family=""PT Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Cantarell,"Helvetica Neue",sans-serif" font-size="14px" font-weight="400">Synopsis</tspan></text><g fill="@{overlay0}"><rect transform="scale(-1 1)rotate(-45)" x="-28.7" y="-6.53" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="rotate(-45)" x="-1.47" y="26.3" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="scale(-1 1)rotate(-45)" x="-23.7" y="-1.58" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="rotate(-45)" x="-6.42" y="21.4" width="7.88" height="2.46" rx=".985" ry=".985"/></g></g><g filter="url(#b)"><rect x="8.5" y="8.5" width="40" height="80" rx="4" ry="4" fill="@{surface0}"/><text transform="matrix(0 -.995 1 0 0 0)" x="-86.188" y="23.735" fill="@{subtext1}" xml:space="preserve"><tspan x="-86.188" y="23.735" font-family=""PT Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Cantarell,"Helvetica Neue",sans-serif" font-size="14px" font-weight="400">Synopsis</tspan></text><g fill="@{overlay0}"><rect transform="rotate(-45)" x="-3.59" y="18.6" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="scale(-1 1)rotate(-45)" x="-26.6" y="1.24" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="rotate(-45)" x="1.36" y="23.5" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="scale(-1 1)rotate(-45)" x="-31.5" y="-3.71" width="7.88" height="2.46" rx=".985" ry=".985"/></g></g></svg>'
|
||||
'<svg width="128" height="104" viewBox="0 0 128 104" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><defs><filter id="a" x="-.06" y="-.03" width="1.14" height="1.07" color-interpolation-filters="sRGB"><feFlood flood-color="#000" flood-opacity=".498" result="flood"/><feGaussianBlur in="SourceGraphic" result="blur" stdDeviation="1"/><feOffset dx="1" dy="1" in="blur" result="offset"/><feComposite in="flood" in2="offset" operator="in" result="comp1"/><feComposite in="SourceGraphic" in2="comp1" result="comp2"/></filter><filter id="b" x="-.06" y="-.03" width="1.14" height="1.07" color-interpolation-filters="sRGB"><feFlood flood-color="#000" flood-opacity=".498" result="flood"/><feGaussianBlur in="SourceGraphic" result="blur" stdDeviation="1"/><feOffset dx="1" dy="1" in="blur" result="offset"/><feComposite in="flood" in2="offset" operator="in" result="comp1"/><feComposite in="SourceGraphic" in2="comp1" result="comp2"/></filter></defs><g transform="translate(64)" filter="url(#a)"><rect x="8.5" y="8.5" width="40" height="80" rx="4" ry="4" fill="@{surface0}"/><text transform="matrix(0 -.995 1 0 0 0)" x="-86.188" y="23.735" fill="@{subtext1}" xml:space="preserve"><tspan x="-86.188" y="23.735" font-family=""PT Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Cantarell,"Helvetica Neue",sans-serif" font-size="14px" font-weight="400">Synopsis</tspan></text><g fill="@{overlay0}"><rect transform="rotate(45)scale(-1 1)" x="-28.7" y="-6.53" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="rotate(-45)" x="-1.47" y="26.3" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="rotate(45)scale(-1 1)" x="-23.7" y="-1.58" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="rotate(-45)" x="-6.42" y="21.4" width="7.88" height="2.46" rx=".985" ry=".985"/></g></g><g filter="url(#b)"><rect x="8.5" y="8.5" width="40" height="80" rx="4" ry="4" fill="@{surface0}"/><text transform="matrix(0 -.995 1 0 0 0)" x="-86.188" y="23.735" fill="@{subtext1}" xml:space="preserve"><tspan x="-86.188" y="23.735" font-family=""PT Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Cantarell,"Helvetica Neue",sans-serif" font-size="14px" font-weight="400">Synopsis</tspan></text><g fill="@{overlay0}"><rect transform="rotate(-45)" x="-3.59" y="18.6" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="rotate(45)scale(-1 1)" x="-26.6" y="1.24" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="rotate(-45)" x="1.36" y="23.5" width="7.88" height="2.46" rx=".985" ry=".985"/><rect transform="rotate(45)scale(-1 1)" x="-31.5" y="-3.71" width="7.88" height="2.46" rx=".985" ry=".985"/></g></g></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
|
||||
@@ -897,7 +897,7 @@
|
||||
|
||||
.site-header__logo img {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="65.812" height="58"><g stroke="@{surface0}" stroke-width=".07269443"><path d="m18.93 18.826 9.324 3.395v10.954l-9.323-3.392zM9.473 22.27v10.957l9.459-3.445V18.826zm-.001 10.958 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 22.271 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M18.793 25.664v10.957l9.461-3.446V22.218z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 22.271 9.32 3.393v10.957L9.47 33.225z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m28.294 11.165 9.323 3.395v10.954l-9.323-3.392zm-9.459 3.445v10.957l9.459-3.445V11.165z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m18.835 25.567 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m18.835 14.61 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M28.156 18.003V28.96l9.461-3.446V14.557z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m18.835 14.61 9.32 3.393V28.96l-9.323-3.396z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m9.568 33.296 9.323 3.395v10.954l-9.323-3.392zM.109 36.74v10.957l9.459-3.445V33.296z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m.11 47.698 9.32 3.393 9.461-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m.11 36.741 9.32 3.393 9.461-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M9.43 40.134v10.957l9.461-3.446V36.688z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m.11 36.741 9.32 3.393v10.957L.106 47.695z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m18.93 36.7 9.324 3.396V51.05l-9.323-3.392zm-9.458 3.446v10.957l9.459-3.445V36.7zm0 10.957 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 40.146 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M18.793 43.539v10.957l9.461-3.446V40.093z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 40.146 9.32 3.393v10.957L9.47 51.1z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m18.93 25.635 9.324 3.395v10.954l-9.323-3.392zM9.473 29.08v10.957l9.459-3.445V25.635z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 40.037 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 29.08 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M18.793 32.473V43.43l9.461-3.446V29.027z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 29.08 9.32 3.393V43.43L9.47 40.034z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m56.384 29.89 9.323 3.396V44.24l-9.323-3.392zm-9.459 3.446v10.957l9.459-3.445V29.89z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m46.925 44.293 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m46.925 33.336 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M56.246 36.729v10.957l9.461-3.446V33.283z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m46.925 33.336 9.32 3.393v10.957l-9.323-3.396z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g transform="translate(-1683.66 -513.275)scale(.65177)"><g stroke="@{surface0}" stroke-width=".07269443"><path d="m2655.35 838.592 14.304 5.21v16.807l-14.305-5.206zm-14.512 5.287v16.81l14.511-5.286v-16.81z" stroke="@{surface0}" stroke-width=".3264961281805"/><path d="m2640.838 860.69 14.3 5.205 14.516-5.286-14.305-5.206z" stroke="@{surface0}" stroke-width=".3264961281805"/><path d="m2640.838 843.879 14.3 5.205 14.516-5.286-14.305-5.206z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".3264961281805"/><path d="M2655.138 849.084v16.811l14.516-5.286v-16.811z" fill="@{yellow}" stroke="@{surface0}" stroke-width=".3264961281805"/><path d="m2640.838 843.879 14.3 5.205v16.811l-14.305-5.21z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".3264961281805"/></g><circle cx="2835.218" cy="1823.899" r="2.967" transform="skewY(-20)scale(.9397 1)" fill="@{surface2}"/></g><g stroke="@{surface0}" strLine truncated
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="65.812" height="58"><g stroke="@{surface0}" stroke-width=".07269443"><path d="m18.93 18.826 9.324 3.395v10.954l-9.323-3.392zM9.473 22.27v10.957l9.459-3.445V18.826zm-.001 10.958 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 22.271 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M18.793 25.664v10.957l9.461-3.446V22.218z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 22.271 9.32 3.393v10.957L9.47 33.225z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m28.294 11.165 9.323 3.395v10.954l-9.323-3.392zm-9.459 3.445v10.957l9.459-3.445V11.165z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m18.835 25.567 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m18.835 14.61 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M28.156 18.003V28.96l9.461-3.446V14.557z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m18.835 14.61 9.32 3.393V28.96l-9.323-3.396z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m9.568 33.296 9.323 3.395v10.954l-9.323-3.392zM.109 36.74v10.957l9.459-3.445V33.296z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m.11 47.698 9.32 3.393 9.461-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m.11 36.741 9.32 3.393 9.461-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M9.43 40.134v10.957l9.461-3.446V36.688z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m.11 36.741 9.32 3.393v10.957L.106 47.695z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m18.93 36.7 9.324 3.396V51.05l-9.323-3.392zm-9.458 3.446v10.957l9.459-3.445V36.7zm0 10.957 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 40.146 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M18.793 43.539v10.957l9.461-3.446V40.093z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 40.146 9.32 3.393v10.957L9.47 51.1z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m18.93 25.635 9.324 3.395v10.954l-9.323-3.392zM9.473 29.08v10.957l9.459-3.445V25.635z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 40.037 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 29.08 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M18.793 32.473V43.43l9.461-3.446V29.027z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m9.472 29.08 9.32 3.393V43.43L9.47 40.034z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g stroke="@{surface0}" stroke-width=".07269443"><path d="m56.384 29.89 9.323 3.396V44.24l-9.323-3.392zm-9.459 3.446v10.957l9.459-3.445V29.89z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m46.925 44.293 9.32 3.393 9.462-3.446-9.323-3.392z" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m46.925 33.336 9.32 3.393 9.462-3.446-9.323-3.392z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="M56.246 36.729v10.957l9.461-3.446V33.283z" fill="@{surface2}" stroke="@{surface0}" stroke-width=".2128005857719"/><path d="m46.925 33.336 9.32 3.393v10.957l-9.323-3.396z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".2128005857719"/></g><g transform="translate(-1683.66 -513.275)scale(.65177)"><g stroke="@{surface0}" stroke-width=".07269443"><path d="m2655.35 838.592 14.304 5.21v16.807l-14.305-5.206zm-14.512 5.287v16.81l14.511-5.286v-16.81z" stroke="@{surface0}" stroke-width=".3264961281805"/><path d="m2640.838 860.69 14.3 5.205 14.516-5.286-14.305-5.206z" stroke="@{surface0}" stroke-width=".3264961281805"/><path d="m2640.838 843.879 14.3 5.205 14.516-5.286-14.305-5.206z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".3264961281805"/><path d="M2655.138 849.084v16.811l14.516-5.286v-16.811z" fill="@{yellow}" stroke="@{surface0}" stroke-width=".3264961281805"/><path d="m2640.838 843.879 14.3 5.205v16.811l-14.305-5.21z" fill="@{surface1}" stroke="@{surface0}" stroke-width=".3264961281805"/></g><circle cx="2835.218" cy="1823.899" r="2.967" transform="scale(.9397 1)skewY(-18.882)" fill="@{surface2}"/></g><g stroke="@{surface0}"Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user