From 259d567f3c8d1b86ff2adc353f96751eff05dc59 Mon Sep 17 00:00:00 2001 From: Aleen Date: Fri, 10 Nov 2023 13:26:04 +0800 Subject: [PATCH] doc: add the badge for Svelte #17 --- README.md | 1 + README_dfc.md | 1 + README_flat_square.md | 1 + README_flat_square_dfc.md | 1 + dist/svelte.svg | 20 ++++++++++++++++++++ package.json | 2 +- script/data.js | 3 ++- src/svelte.svg | 22 ++++++++++++++++++++++ src/svelte_dfc.svg | 22 ++++++++++++++++++++++ src/svelte_flat_square.svg | 11 +++++++++++ src/svelte_flat_square_dfc.svg | 11 +++++++++++ 11 files changed, 93 insertions(+), 2 deletions(-) create mode 100644 dist/svelte.svg create mode 100644 src/svelte.svg create mode 100644 src/svelte_dfc.svg create mode 100644 src/svelte_flat_square.svg create mode 100644 src/svelte_flat_square_dfc.svg diff --git a/README.md b/README.md index 1d54eee..8e30182 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ As for how to create a badge and add it to the collection? There are some steps - [![gulp](./src/gulp.svg)](https://badges.aleen42.com/src/gulp.svg) A badge used for projects using Gulp to build - [![angular](./src/angular.svg)](https://badges.aleen42.com/src/angular.svg) A badge used for repositories which has used the framework, Angular - [![postcss](./src/postcss.svg)](https://badges.aleen42.com/src/postcss.svg) A badge used for projects using [PostCSS](https://github.com/postcss/postcss) +- [![svelte](./src/svelte.svg)](https://badges.aleen42.com/src/svelte.svg) A badge used for repositories that using [Svelte](https://github.com/sveltejs/svelte) - [![gitlab](./src/gitlab.svg)](https://badges.aleen42.com/src/gitlab.svg) A badge used for Gitlab repositories - [![mocha](./src/mocha.svg)](https://badges.aleen42.com/src/mocha.svg) A badge used for projects using Mocha for unit tests - [![bower](./src/bower.svg)](https://badges.aleen42.com/src/bower.svg) A badge used for bower packages diff --git a/README_dfc.md b/README_dfc.md index 8275105..9182fdc 100644 --- a/README_dfc.md +++ b/README_dfc.md @@ -84,6 +84,7 @@ As for how to create a badge and add it to the collection? There are some steps - [![gulp](./src/gulp_dfc.svg)](https://badges.aleen42.com/src/gulp_dfc.svg) A badge used for projects using Gulp to build - [![angular](./src/angular_dfc.svg)](https://badges.aleen42.com/src/angular_dfc.svg) A badge used for repositories which has used the framework, Angular - [![postcss](./src/postcss_dfc.svg)](https://badges.aleen42.com/src/postcss_dfc.svg) A badge used for projects using [PostCSS](https://github.com/postcss/postcss) +- [![svelte](./src/svelte_dfc.svg)](https://badges.aleen42.com/src/svelte_dfc.svg) A badge used for repositories that using [Svelte](https://github.com/sveltejs/svelte) - [![gitlab](./src/gitlab_dfc.svg)](https://badges.aleen42.com/src/gitlab_dfc.svg) A badge used for Gitlab repositories - [![mocha](./src/mocha_dfc.svg)](https://badges.aleen42.com/src/mocha_dfc.svg) A badge used for projects using Mocha for unit tests - [![bower](./src/bower_dfc.svg)](https://badges.aleen42.com/src/bower_dfc.svg) A badge used for bower packages diff --git a/README_flat_square.md b/README_flat_square.md index 9d6e2a4..45e60e1 100644 --- a/README_flat_square.md +++ b/README_flat_square.md @@ -84,6 +84,7 @@ As for how to create a badge and add it to the collection? There are some steps - [![gulp](./src/gulp_flat_square.svg)](https://badges.aleen42.com/src/gulp_flat_square.svg) A badge used for projects using Gulp to build - [![angular](./src/angular_flat_square.svg)](https://badges.aleen42.com/src/angular_flat_square.svg) A badge used for repositories which has used the framework, Angular - [![postcss](./src/postcss_flat_square.svg)](https://badges.aleen42.com/src/postcss_flat_square.svg) A badge used for projects using [PostCSS](https://github.com/postcss/postcss) +- [![svelte](./src/svelte_flat_square.svg)](https://badges.aleen42.com/src/svelte_flat_square.svg) A badge used for repositories that using [Svelte](https://github.com/sveltejs/svelte) - [![gitlab](./src/gitlab_flat_square.svg)](https://badges.aleen42.com/src/gitlab_flat_square.svg) A badge used for Gitlab repositories - [![mocha](./src/mocha_flat_square.svg)](https://badges.aleen42.com/src/mocha_flat_square.svg) A badge used for projects using Mocha for unit tests - [![bower](./src/bower_flat_square.svg)](https://badges.aleen42.com/src/bower_flat_square.svg) A badge used for bower packages diff --git a/README_flat_square_dfc.md b/README_flat_square_dfc.md index 6ebd890..761a4cf 100644 --- a/README_flat_square_dfc.md +++ b/README_flat_square_dfc.md @@ -84,6 +84,7 @@ As for how to create a badge and add it to the collection? There are some steps - [![gulp](./src/gulp_flat_square_dfc.svg)](https://badges.aleen42.com/src/gulp_flat_square_dfc.svg) A badge used for projects using Gulp to build - [![angular](./src/angular_flat_square_dfc.svg)](https://badges.aleen42.com/src/angular_flat_square_dfc.svg) A badge used for repositories which has used the framework, Angular - [![postcss](./src/postcss_flat_square_dfc.svg)](https://badges.aleen42.com/src/postcss_flat_square_dfc.svg) A badge used for projects using [PostCSS](https://github.com/postcss/postcss) +- [![svelte](./src/svelte_flat_square_dfc.svg)](https://badges.aleen42.com/src/svelte_flat_square_dfc.svg) A badge used for repositories that using [Svelte](https://github.com/sveltejs/svelte) - [![gitlab](./src/gitlab_flat_square_dfc.svg)](https://badges.aleen42.com/src/gitlab_flat_square_dfc.svg) A badge used for Gitlab repositories - [![mocha](./src/mocha_flat_square_dfc.svg)](https://badges.aleen42.com/src/mocha_flat_square_dfc.svg) A badge used for projects using Mocha for unit tests - [![bower](./src/bower_flat_square_dfc.svg)](https://badges.aleen42.com/src/bower_flat_square_dfc.svg) A badge used for bower packages diff --git a/dist/svelte.svg b/dist/svelte.svg new file mode 100644 index 0000000..4bf2796 --- /dev/null +++ b/dist/svelte.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/package.json b/package.json index 91c8aaf..1d81391 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "homepage": "https://github.com/aleen42/badges#readme", "dependencies": { "@ctrl/tinycolor": "3.1.4", - "canvas": "2.7.0", + "canvas": "2.11.2", "node-getopt": "npm:@aleen42/node-getopt" }, "devDependencies": { diff --git a/script/data.js b/script/data.js index 26ca89b..2c8bbe9 100644 --- a/script/data.js +++ b/script/data.js @@ -15,7 +15,7 @@ * - Author: aleen42 * - Description: data for building badges * - Create Time: Apr 20th, 2017 - * - Update Time: Oct 19th, 2022 + * - Update Time: Nov 10th, 2023 * * **********************************************************************/ @@ -42,6 +42,7 @@ module.exports = [ 'Gulp': { fileName: 'gulp.svg', color: '#D34A47', description: 'A badge used for projects using Gulp to build' }, 'Angular': { fileName: 'angular.svg', color: '#DD1B16', description: 'A badge used for repositories which has used the framework, Angular' }, 'PostCSS': { fileName: 'postcss.svg', color: '#DD3A0A', description: 'A badge used for projects using [PostCSS](https://github.com/postcss/postcss)' }, + 'Svelte': { fileName: 'svelte.svg', color: '#ff3e00', description: 'A badge used for repositories that using [Svelte](https://github.com/sveltejs/svelte)' }, 'Gitlab': { fileName: 'gitlab.svg', color: '#FC6D26', description: 'A badge used for Gitlab repositories' }, 'Mocha': { fileName: 'mocha.svg', color: '#8D6748', description: 'A badge used for projects using Mocha for unit tests' }, 'Bower': { fileName: 'bower.svg', color: '#F68A31', description: 'A badge used for bower packages' }, diff --git a/src/svelte.svg b/src/svelte.svg new file mode 100644 index 0000000..bb0599d --- /dev/null +++ b/src/svelte.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + Svelte + Svelte + + \ No newline at end of file diff --git a/src/svelte_dfc.svg b/src/svelte_dfc.svg new file mode 100644 index 0000000..bb0599d --- /dev/null +++ b/src/svelte_dfc.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + Svelte + Svelte + + \ No newline at end of file diff --git a/src/svelte_flat_square.svg b/src/svelte_flat_square.svg new file mode 100644 index 0000000..18b7a71 --- /dev/null +++ b/src/svelte_flat_square.svg @@ -0,0 +1,11 @@ + + + + + + + + Svelte + + \ No newline at end of file diff --git a/src/svelte_flat_square_dfc.svg b/src/svelte_flat_square_dfc.svg new file mode 100644 index 0000000..18b7a71 --- /dev/null +++ b/src/svelte_flat_square_dfc.svg @@ -0,0 +1,11 @@ + + + + + + + + Svelte + + \ No newline at end of file