mirror of
https://github.com/CoreyGinnivan/system-uicons.git
synced 2024-04-26 11:10:29 +02:00
Tweaked design, added svgo config
This commit is contained in:
parent
f2e73eb17e
commit
ef5802f205
|
@ -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
Executable file
67
svgo.config.js
Executable file
|
@ -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…
Reference in a new issue