Skip to content

Commit

Permalink
Ears + clipping for 2 bball jerseys
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkennedy22 committed May 24, 2024
1 parent a351a95 commit 40bdd61
Show file tree
Hide file tree
Showing 10 changed files with 247 additions and 93 deletions.
257 changes: 196 additions & 61 deletions src/display.ts

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export type RGB = {
b: number;
};

export type RGBA = RGB & { a: number };

export type HEX = string;

export type SvgMetadata = {
Expand Down
14 changes: 7 additions & 7 deletions svgs/body/body3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions svgs/body/body4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions svgs/ear/ear1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions svgs/ear/ear2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions svgs/ear/ear3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions svgs/jersey/basketball-panel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions svgs/jersey/basketball-standard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions tools/lib/svg-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,26 +333,31 @@ export const svgMetadata = {
gender: "both",
sport: "basketball",
legacyName: "jersey",
clip: true,
},
"basketball-stripe": {
gender: "both",
sport: "basketball",
legacyName: "jersey2",
clip: true,
},
"basketball-stripe-2": {
gender: "both",
sport: "basketball",
legacyName: "jersey4",
clip: true,
},
"basketball-pinstripe": {
gender: "both",
sport: "basketball",
legacyName: "jersey5",
clip: true,
},
"basketball-panel": {
gender: "both",
sport: "basketball",
legacyName: "jersey3",
clip: true,
},
referee: { gender: "both", sport: "referee" },
suit: { gender: "both", sport: "suit" },
Expand Down

0 comments on commit 40bdd61

Please sign in to comment.