From 19a02bdb7dacf7ef4792fb092d894ea7d767cf7b Mon Sep 17 00:00:00 2001 From: Saahil Date: Thu, 20 Jun 2024 00:08:34 -0400 Subject: [PATCH] Icons (big) --- src/assets/icons/bash.svg | 7 +++++++ src/assets/icons/bun.svg | 7 +++++++ src/assets/icons/coffeescript.svg | 6 ++++++ src/assets/icons/cpp.svg | 4 ++++ src/assets/icons/csharp.svg | 3 +++ src/assets/icons/docker.svg | 3 +++ src/assets/icons/ejs.svg | 3 +++ src/assets/icons/figma.svg | 9 +++++++++ src/assets/icons/generate_code.js | 14 ++++++++++++++ src/assets/icons/git.svg | 6 ++++++ src/assets/icons/graphql.svg | 3 +++ src/assets/icons/html.svg | 10 +++++----- src/assets/icons/install.js | 12 ++++++++++++ src/assets/icons/javascriptReact.svg | 8 ++++++++ src/assets/icons/json.svg | 3 +++ src/assets/icons/next.svg | 6 ++++++ src/assets/icons/npm.svg | 6 ++++++ src/assets/icons/pnpm.svg | 8 ++++++++ src/assets/icons/prisma.svg | 3 +++ src/assets/icons/puppeteer.svg | 5 +++++ src/assets/icons/python.svg | 8 ++++++++ src/assets/icons/readme.txt | 28 +++++++++++++++++++++++++++- src/assets/icons/robots.svg | 6 ++++++ src/assets/icons/sass.svg | 3 +++ src/assets/icons/tailwind.svg | 3 +++ src/assets/icons/vercel.svg | 3 +++ src/assets/icons/visualStudio.svg | 3 +++ src/assets/icons/vscode.svg | 3 +++ src/assets/icons/yarn.svg | 6 ++++++ 29 files changed, 183 insertions(+), 6 deletions(-) create mode 100644 src/assets/icons/bash.svg create mode 100644 src/assets/icons/bun.svg create mode 100644 src/assets/icons/coffeescript.svg create mode 100644 src/assets/icons/cpp.svg create mode 100644 src/assets/icons/csharp.svg create mode 100644 src/assets/icons/docker.svg create mode 100644 src/assets/icons/ejs.svg create mode 100644 src/assets/icons/figma.svg create mode 100644 src/assets/icons/generate_code.js create mode 100644 src/assets/icons/git.svg create mode 100644 src/assets/icons/graphql.svg create mode 100644 src/assets/icons/install.js create mode 100644 src/assets/icons/javascriptReact.svg create mode 100644 src/assets/icons/json.svg create mode 100644 src/assets/icons/next.svg create mode 100644 src/assets/icons/npm.svg create mode 100644 src/assets/icons/pnpm.svg create mode 100644 src/assets/icons/prisma.svg create mode 100644 src/assets/icons/puppeteer.svg create mode 100644 src/assets/icons/python.svg create mode 100644 src/assets/icons/robots.svg create mode 100644 src/assets/icons/sass.svg create mode 100644 src/assets/icons/tailwind.svg create mode 100644 src/assets/icons/vercel.svg create mode 100644 src/assets/icons/visualStudio.svg create mode 100644 src/assets/icons/vscode.svg create mode 100644 src/assets/icons/yarn.svg diff --git a/src/assets/icons/bash.svg b/src/assets/icons/bash.svg new file mode 100644 index 00000000..cd7f25b9 --- /dev/null +++ b/src/assets/icons/bash.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/assets/icons/bun.svg b/src/assets/icons/bun.svg new file mode 100644 index 00000000..4b940fd2 --- /dev/null +++ b/src/assets/icons/bun.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/assets/icons/coffeescript.svg b/src/assets/icons/coffeescript.svg new file mode 100644 index 00000000..792044e9 --- /dev/null +++ b/src/assets/icons/coffeescript.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/icons/cpp.svg b/src/assets/icons/cpp.svg new file mode 100644 index 00000000..29d42f97 --- /dev/null +++ b/src/assets/icons/cpp.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/icons/csharp.svg b/src/assets/icons/csharp.svg new file mode 100644 index 00000000..af1c7192 --- /dev/null +++ b/src/assets/icons/csharp.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/docker.svg b/src/assets/icons/docker.svg new file mode 100644 index 00000000..02a91617 --- /dev/null +++ b/src/assets/icons/docker.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/ejs.svg b/src/assets/icons/ejs.svg new file mode 100644 index 00000000..4c3cf629 --- /dev/null +++ b/src/assets/icons/ejs.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/figma.svg b/src/assets/icons/figma.svg new file mode 100644 index 00000000..fa03857f --- /dev/null +++ b/src/assets/icons/figma.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/icons/generate_code.js b/src/assets/icons/generate_code.js new file mode 100644 index 00000000..4337e0d8 --- /dev/null +++ b/src/assets/icons/generate_code.js @@ -0,0 +1,14 @@ +// once again a lazy soul +const fs = require('fs') +const files = fs.readdirSync(__dirname).filter(e=>e.endsWith('.svg')) +console.log(` +// template: import cssIcon from "../../assets/icons/css.svg" +// autogenerated script fyi +${files.map(f => { + return `import ${f.replace('.svg', 'Icon')} from "../../assets/icons/${f}"` +}).join('\n')} + +${files.map(f => { + return `export const ${f.replace('.svg', '')} = ${f.replace('.svg', 'Icon')};` +}).join('\n')} +`) diff --git a/src/assets/icons/git.svg b/src/assets/icons/git.svg new file mode 100644 index 00000000..f66c6e51 --- /dev/null +++ b/src/assets/icons/git.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/icons/graphql.svg b/src/assets/icons/graphql.svg new file mode 100644 index 00000000..6425cd4b --- /dev/null +++ b/src/assets/icons/graphql.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/html.svg b/src/assets/icons/html.svg index f38daf61..756a2515 100644 --- a/src/assets/icons/html.svg +++ b/src/assets/icons/html.svg @@ -1,6 +1,6 @@ - - - - - + + + + + diff --git a/src/assets/icons/install.js b/src/assets/icons/install.js new file mode 100644 index 00000000..dfe5fbe9 --- /dev/null +++ b/src/assets/icons/install.js @@ -0,0 +1,12 @@ +// yes i made a script +const fs = require('fs') +const names = process.argv.slice(2) +if(names.length == 0) return console.log(`No names..`) + names.forEach((n) => { +let s = Date.now() +console.log(`Downloading ${n}`) +fetch(`https://github.com/catppuccin/vscode-icons/blob/main/icons/mocha/${n}.svg?raw=true`).then(r=>r.arrayBuffer()).then(e => { + fs.writeFileSync(`${n}.svg`, Buffer.from(e)) + console.log(`Written ${n} in ${Date.now() - s}ms`) +}) +}) \ No newline at end of file diff --git a/src/assets/icons/javascriptReact.svg b/src/assets/icons/javascriptReact.svg new file mode 100644 index 00000000..f350d827 --- /dev/null +++ b/src/assets/icons/javascriptReact.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/icons/json.svg b/src/assets/icons/json.svg new file mode 100644 index 00000000..1b7b2bd7 --- /dev/null +++ b/src/assets/icons/json.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/next.svg b/src/assets/icons/next.svg new file mode 100644 index 00000000..f5ccf157 --- /dev/null +++ b/src/assets/icons/next.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/icons/npm.svg b/src/assets/icons/npm.svg new file mode 100644 index 00000000..38e7b9c7 --- /dev/null +++ b/src/assets/icons/npm.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/icons/pnpm.svg b/src/assets/icons/pnpm.svg new file mode 100644 index 00000000..5489e51c --- /dev/null +++ b/src/assets/icons/pnpm.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/icons/prisma.svg b/src/assets/icons/prisma.svg new file mode 100644 index 00000000..ba189ae0 --- /dev/null +++ b/src/assets/icons/prisma.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/puppeteer.svg b/src/assets/icons/puppeteer.svg new file mode 100644 index 00000000..bc9cfae2 --- /dev/null +++ b/src/assets/icons/puppeteer.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/icons/python.svg b/src/assets/icons/python.svg new file mode 100644 index 00000000..c7100c09 --- /dev/null +++ b/src/assets/icons/python.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/icons/readme.txt b/src/assets/icons/readme.txt index 71344f47..bbd74bf0 100644 --- a/src/assets/icons/readme.txt +++ b/src/assets/icons/readme.txt @@ -1 +1,27 @@ -import icons from https://github.com/catppuccin/vscode-icons/tree/main/icons/mocha \ No newline at end of file +import icons from https://github.com/catppuccin/vscode-icons/tree/main/icons/mocha +next +npm +prisma +puppeteer +sass +vscode +git +tailwind +bash +bun +cpp +docker +figma +graphql +html +javascript-react - installed +python +robots +csharp +coffeescript +json +yarn +ejs +vercel +visual-studio +pnpm \ No newline at end of file diff --git a/src/assets/icons/robots.svg b/src/assets/icons/robots.svg new file mode 100644 index 00000000..fcb9f7e7 --- /dev/null +++ b/src/assets/icons/robots.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/icons/sass.svg b/src/assets/icons/sass.svg new file mode 100644 index 00000000..314f7a84 --- /dev/null +++ b/src/assets/icons/sass.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/tailwind.svg b/src/assets/icons/tailwind.svg new file mode 100644 index 00000000..d3980d25 --- /dev/null +++ b/src/assets/icons/tailwind.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/vercel.svg b/src/assets/icons/vercel.svg new file mode 100644 index 00000000..467e1ab4 --- /dev/null +++ b/src/assets/icons/vercel.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/visualStudio.svg b/src/assets/icons/visualStudio.svg new file mode 100644 index 00000000..77b8966a --- /dev/null +++ b/src/assets/icons/visualStudio.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/vscode.svg b/src/assets/icons/vscode.svg new file mode 100644 index 00000000..b64cc1fe --- /dev/null +++ b/src/assets/icons/vscode.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/yarn.svg b/src/assets/icons/yarn.svg new file mode 100644 index 00000000..01e14aa1 --- /dev/null +++ b/src/assets/icons/yarn.svg @@ -0,0 +1,6 @@ + + + + + +