Skip to content

Commit

Permalink
make triangle shield more rounded
Browse files Browse the repository at this point in the history
  • Loading branch information
claysmalley committed Dec 16, 2024
1 parent 319154b commit 09cca46
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions shieldlib/src/shield_helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export function triangleDownShield(
rectWidth: number
): Partial<ShieldDefinition> {
textColor = textColor ?? strokeColor;
radius = radius ?? 2;
radius = radius ?? 3;

return {
shapeBlank: {
Expand All @@ -232,10 +232,10 @@ export function triangleDownShield(
},
textLayout: textConstraint("triangleDown"),
padding: {
left: 1,
right: 1,
top: 2,
bottom: 1,
left: 0,
right: 0,
top: 3,
bottom: 0,
},
textColor,
};
Expand Down

0 comments on commit 09cca46

Please sign in to comment.