mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-06 15:17:58 +08:00
Merge branch 'main' into design-icons
This commit is contained in:
commit
f0e79f85e8
@ -52,7 +52,7 @@
|
|||||||
alt={svgInfo.title}
|
alt={svgInfo.title}
|
||||||
/>
|
/>
|
||||||
<div class="mb-3 flex flex-col items-center justify-center">
|
<div class="mb-3 flex flex-col items-center justify-center">
|
||||||
<p class="truncate text-[15px] font-medium">{svgInfo.title}</p>
|
<p class="truncate text-[15px] font-medium text-balance text-center">{svgInfo.title}</p>
|
||||||
<a
|
<a
|
||||||
href={`/directory/${svgInfo.category.toLowerCase()}`}
|
href={`/directory/${svgInfo.category.toLowerCase()}`}
|
||||||
class="text-sm lowercase text-neutral-500 hover:underline">{svgInfo.category}</a
|
class="text-sm lowercase text-neutral-500 hover:underline">{svgInfo.category}</a
|
||||||
|
@ -2120,5 +2120,12 @@ export const svgs: iSVG[] = [
|
|||||||
category: 'Design',
|
category: 'Design',
|
||||||
route: '/library/gimp.svg',
|
route: '/library/gimp.svg',
|
||||||
url: 'https://www.gimp.org/'
|
url: 'https://www.gimp.org/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 253,
|
||||||
|
title: 'Ubuntu',
|
||||||
|
category: 'Software',
|
||||||
|
route: '/library/ubuntu.svg',
|
||||||
|
url: 'https://ubuntu.com/'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
1
static/library/ubuntu.svg
Normal file
1
static/library/ubuntu.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="#f47421"/><circle cx="50" cy="50" r="21.8" fill="none" stroke="#fff" stroke-width="8.6"/><g id="a"><circle cx="19.4" cy="50" r="8.4" fill="#f47421"/><path stroke="#f47421" stroke-width="3.2" d="M67 50h10"/><circle cx="19.4" cy="50" r="6" fill="#fff"/></g><use xlink:href="#a" transform="rotate(120 50 50)"/><use xlink:href="#a" transform="rotate(240 50 50)"/></svg>
|
After Width: | Height: | Size: 507 B |
@ -16,5 +16,13 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
plugins: []
|
plugins: [
|
||||||
|
({ addUtilities }) => {
|
||||||
|
addUtilities({
|
||||||
|
'.text-balance': {
|
||||||
|
'text-wrap': 'balance'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user