📚一个拥有 SVG 徽标的美丽图书馆。使用 Sveltekit 与 Tailwind CSS 构建。 https://svgl.app/
Go to file
Pablo Hdez 7f38e57ad6
Merge pull request #130 from sujjeee/patch-1
📄 Update README docs.
2023-12-17 14:24:09 +00:00
.github 📦 Update issue templates. 2023-04-14 12:48:03 +01:00
.vscode 🔧 Update vscode settings. 2023-12-14 12:21:54 +00:00
src Remove ArtisanLabs from svgs.ts 2023-12-16 14:33:29 -06:00
static Delete static/library/ArtisanLabs.svg 2023-12-16 14:32:51 -06:00
.eslintignore 🧡 Initial commit with Sveltekit. 2023-03-14 21:08:22 +00:00
.eslintrc.cjs 🔨 Update eslint config. 2023-07-07 09:16:54 +01:00
.gitignore Webstrom, phpstorm, pycharm, rubytime and fleet logos added, .idea/ folder added in gitignore 2023-12-15 13:50:42 -03:00
.npmrc 🧡 Initial commit with Sveltekit. 2023-03-14 21:08:22 +00:00
.prettierignore 🧡 Initial commit with Sveltekit. 2023-03-14 21:08:22 +00:00
.prettierrc 🛠️ Update prettier json. 2023-03-15 11:27:46 +00:00
LICENSE 📝 Update license. 2023-03-20 00:39:40 +00:00
package.json ⬆️ New version. 2023-11-14 10:42:53 +00:00
postcss.config.cjs 🛠️ Add tailwindcss. 2023-03-15 11:28:22 +00:00
prettier.config.cjs 🛠️ Add prettier-plugin-tailwindcss. 2023-03-15 12:11:13 +00:00
README.md Update README.md 2023-12-17 19:28:05 +05:30
svelte.config.js 🛠️ Update alias. 2023-03-19 14:53:31 +00:00
tailwind.config.cjs style: 💄 Add text wrap balance in title card and center text for aling text when apply balance 2023-12-12 13:55:33 -03:00
tsconfig.json 🚀 Initial sveltekit config. 2023-03-15 11:29:15 +00:00
vercel.json 🛠 Create vercel.json. 2023-03-16 10:23:17 +00:00
vite.config.ts 🚀 Initial sveltekit config. 2023-03-15 11:29:15 +00:00

Svelte Badge Build Status GitHub stars GitHub issues GitHub forks GitHub PRs Tailwind CSS Badge

🛠️ Stack

🚀 Getting Started

You will need:

  1. Clone or fork this repository:
git clone git@github.com:pheralb/svgl.git
  1. Install dependencies with your favorite package manager:
# with npm:
npm install

# with pnpm:
pnpm install

# with ultra:
ultra install

# with yarn:
yarn install
  1. Go to the static/library folder and add your .svg logo. Remember to optimize SVG for web use, you can use SVGOMG.

  2. Go to the src/data/svgs.ts and add the information about your logo, following the structure:

{
  "title": "Title",
  "category": "Category",
  "route": "/library/your_logo.svg",
  "url": "Website"
},

or to support a different logo for light and dark themes:

{
  "title": "Title",
  "category": "Category",
  "route": {
    "light": "/library/your_logo_light.svg",
    "dark": "/library/your_logo_dark.svg"
  },
  "url": "Website"
},

And create a pull request with your logo 🚀.

🖥️ Terminal

SVG files can also be accessed directly from the terminal using svgls CLI.

Quick start

If you are using yarn or npm, run this command:

npx svgls add 

Or if you are using pnpm, run this command:

pnpm dlx svgls add 

For more details on installing and using svgls CLI, check out the GitHub repository: https://github.com/sujjeee/svgls

✌️ Contributing

🔑 License