Browse Source

Tweaked design, added svgo config

pull/48/head
Corey Ginnivan 1 month ago
parent
commit
ef5802f205
  1. 18
      src/index.html
  2. 67
      svgo.config.js

18
src/index.html

@ -53,10 +53,7 @@
>
<main class="flex-grow">
<nav class="flex justify-between p-4 text-sm md:p-6 lg:p-8 md:text-base">
<a class="font-extrabold" href="/">System UIcons</a>
<div class="flex space-x-3 md:space-x-8">
<!-- <a class="hover:underline" href="/about">Behind the design</a>
<a class="hover:underline" href="/changelog">Changelog</a> -->
<div class="flex ml-auto space-x-3 md:space-x-8">
<a
class="hover:underline"
href="https://github.com/CoreyGinnivan/system-uicons"
@ -78,13 +75,16 @@
>
</div>
</nav>
<div class="p-4 md:p-6 lg:p-8">
<p class="text-xl leading-tight text-black lg:text-3xl xl:text-5xl">
<div class="p-4 md:p-6 lg:p-8 y-">
<p class="text-xl leading-tight font-semibold text-black lg:text-3xl xl:text-5xl">
System UIcons
</p>
<p class="text-xl leading-tight ml-24 text-black lg:text-3xl xl:text-5xl">
A growing collection of simple and consistent icons specifically
designed for systems and products.
<strong class="italic underline"
>Use how you want, without attribution.</strong
>
</p>
<p class="text-xl leading-tight font-semibold text-black lg:text-3xl xl:text-5xl">
Use how you want, without attribution.
</p>
</div>
<div

67
svgo.config.js

@ -0,0 +1,67 @@
// svgo.config.js
module.exports = {
multipass: true,
datauri: "enc",
js2svg: {
pretty: true,
},
plugins: [
"cleanupAttrs",
"cleanupEnableBackground",
"cleanupIDs",
"cleanupListOfValues",
"cleanupNumericValues",
"collapseGroups",
"convertColors",
{
name: "convertPathData",
params: {
noSpaceAfterFlags: false,
},
},
{ convertShapeToPath: false },
"convertStyleToAttrs",
"convertTransform",
"inlineStyles",
{
name: "mergePaths",
params: {
noSpaceAfterFlags: false,
},
},
"minifyStyles",
"moveElemsAttrsToGroup",
"moveGroupAttrsToElems",
{
name: "removeAttrs",
attrs: {
"data-name": "",
"clip-rule": "",
},
},
"removeComments",
"removeDesc",
"removeDoctype",
"removeEditorsNSData",
"removeEmptyAttrs",
"removeEmptyContainers",
"removeEmptyText",
"removeHiddenElems",
"removeMetadata",
"removeNonInheritableGroupAttrs",
"removeTitle",
{
name: "removeUnknownsAndDefaults",
params: {
keepRoleAttr: true,
},
},
"removeUnusedNS",
"removeUselessDefs",
"removeUselessStrokeAndFill",
"removeXMLProcInst",
"sortAttrs",
{ removeViewBox: false },
{ removeXMLNS: false },
],
};
Loading…
Cancel
Save