Skip to content

darioesp/svgl

ย 
ย 

Repository files navigation

Discover ย โ˜ย  Submit logo ย โ˜ย  Stack ย โ˜ย  Contributing

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:

Important

To avoid conflicts with other svgs IDs, generate a short random number for the id: Generate (only check 'include numbers').

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

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

{
  "id": 45248,
  "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 ๐Ÿš€.

โœŒ๏ธ Contributing

๐Ÿ”‘ License

About

๐Ÿš€ A beautiful library with SVG logos.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 67.0%
  • Svelte 27.0%
  • JavaScript 2.4%
  • HTML 2.1%
  • CSS 1.5%