Merge branch 'main' into design-icons

This commit is contained in:
Pablo Hdez 2023-12-14 00:32:07 +00:00 committed by GitHub
commit f0e79f85e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 2 deletions

View File

@ -52,7 +52,7 @@
alt={svgInfo.title}
/>
<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
href={`/directory/${svgInfo.category.toLowerCase()}`}
class="text-sm lowercase text-neutral-500 hover:underline">{svgInfo.category}</a

View File

@ -2120,5 +2120,12 @@ export const svgs: iSVG[] = [
category: 'Design',
route: '/library/gimp.svg',
url: 'https://www.gimp.org/'
},
{
id: 253,
title: 'Ubuntu',
category: 'Software',
route: '/library/ubuntu.svg',
url: 'https://ubuntu.com/'
}
];

View 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

View File

@ -16,5 +16,13 @@ module.exports = {
}
}
},
plugins: []
plugins: [
({ addUtilities }) => {
addUtilities({
'.text-balance': {
'text-wrap': 'balance'
}
});
}
]
};