Skip to content

Commit 5408c62

Browse files
authored
chore: adjust badge colors (#375)
This is a style proposal related to simple-icons/simple-icons#10794 (comment). It has a better visual on the logo and its stroke. ### Preview ![](https://github.com/jsr-io/jsr/assets/8186898/7df8b1fa-ceab-4cdc-be14-2633d25663a2)
1 parent 0f23340 commit 5408c62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frontend/routes/badges/package.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export const handler: Handlers<unknown, State> = {
3131
new URL("../../static/logo.svg", import.meta.url),
3232
),
3333
message: packageResp.data.latestVersion,
34-
labelColor: "rgb(8,51,68)",
35-
color: "rgb(247,223,30)",
34+
labelColor: "rgb(247,223,30)",
35+
color: "rgb(8,51,68)",
3636
logoWidth: "25",
3737
}),
3838
{

frontend/routes/badges/package_score.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ export const handler: Handlers<unknown, State> = {
3535
new URL("../../static/logo.svg", import.meta.url),
3636
),
3737
message: `${packageResp.data.score}%`,
38-
labelColor: "rgb(8,51,68)",
39-
color: "rgb(247,223,30)",
38+
labelColor: "rgb(247,223,30)",
39+
color: "rgb(8,51,68)",
4040
logoWidth: "25",
4141
}),
4242
{

0 commit comments

Comments
 (0)