From d5143b26ef58520c7e7e23815fafca37bfd32deb Mon Sep 17 00:00:00 2001 From: Rob van der Leek <5324924+robvanderleek@users.noreply.github.com> Date: Wed, 8 Jan 2025 23:10:46 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20Add=20logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.js | 7 ++++--- src/codelimit.ts | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index dc04a31..ad1652b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -52386,7 +52386,8 @@ var require_codelimit = __commonJS({ const badge = { label: "CodeLimit", message, - color + color, + logoBase64: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmVyc2lvbj0iMS4wIiAgd2lkdGg9IjUwMCIgaGVpZ2h0PSI1MDAiIHZpZXdCb3g9IjAgMCA3NSA3NSI+DQo8cGF0aCBkPSJNMzkuMzg5LDEzLjc2OSBMMjIuMjM1LDI4LjYwNiBMNiwyOC42MDYgTDYsNDcuNjk5IEwyMS45ODksNDcuNjk5IEwzOS4zODksNjIuNzUgTDM5LjM4OSwxMy43Njl6Ig0Kc3R5bGU9InN0cm9rZTojZWZlZmVmO3N0cm9rZS13aWR0aDozO3N0cm9rZS1saW5lam9pbjpyb3VuZDtmaWxsOiNmZmZmZmY7Ig0KLz4NCjxwYXRoIGQ9Ik00OCwyNy42YTE5LjUsMTkuNSAwIDAgMSAwLDIxLjRNNTUuMSwyMC41YTMwLDMwIDAgMCAxIDAsMzUuNiIgc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6I2VmZWZlZjtzdHJva2Utd2lkdGg6NTtzdHJva2UtbGluZWNhcDpzcXVhcmUiLz4NCjwvc3ZnPg==" }; return (0, badge_maker_1.makeBadge)(badge); } @@ -52491,8 +52492,8 @@ var require_version = __commonJS({ Object.defineProperty(exports2, "__esModule", { value: true }); exports2.version = void 0; exports2.version = { - "revision": "158da01", - "year": "2025" + "revision": "61e09ec", + "year": "2024" }; } }); diff --git a/src/codelimit.ts b/src/codelimit.ts index a3940e8..21d679f 100644 --- a/src/codelimit.ts +++ b/src/codelimit.ts @@ -57,7 +57,8 @@ function makeBadgeSvg(message: string, color: string): string { const badge = { label: 'CodeLimit', message: message, - color: color + color: color, + logoBase64: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmVyc2lvbj0iMS4wIiAgd2lkdGg9IjUwMCIgaGVpZ2h0PSI1MDAiIHZpZXdCb3g9IjAgMCA3NSA3NSI+DQo8cGF0aCBkPSJNMzkuMzg5LDEzLjc2OSBMMjIuMjM1LDI4LjYwNiBMNiwyOC42MDYgTDYsNDcuNjk5IEwyMS45ODksNDcuNjk5IEwzOS4zODksNjIuNzUgTDM5LjM4OSwxMy43Njl6Ig0Kc3R5bGU9InN0cm9rZTojZWZlZmVmO3N0cm9rZS13aWR0aDozO3N0cm9rZS1saW5lam9pbjpyb3VuZDtmaWxsOiNmZmZmZmY7Ig0KLz4NCjxwYXRoIGQ9Ik00OCwyNy42YTE5LjUsMTkuNSAwIDAgMSAwLDIxLjRNNTUuMSwyMC41YTMwLDMwIDAgMCAxIDAsMzUuNiIgc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6I2VmZWZlZjtzdHJva2Utd2lkdGg6NTtzdHJva2UtbGluZWNhcDpzcXVhcmUiLz4NCjwvc3ZnPg==' }; return makeBadge(badge); }