Skip to content

Commit ba7181d

Browse files
committed
New “small” badge style
1 parent 11f491b commit ba7181d

File tree

2 files changed

+3
-1
lines changed
  • apps/webapp/app
    • components/primitives
    • routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.regions

2 files changed

+3
-1
lines changed

apps/webapp/app/components/primitives/Badge.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ const variants = {
66
"grid place-items-center rounded-full px-2 h-5 tracking-wider text-xxs bg-charcoal-750 text-text-bright uppercase whitespace-nowrap",
77
"extra-small":
88
"grid place-items-center border border-charcoal-650 rounded-sm px-1 h-4 text-xxs bg-background-bright text-blue-500 whitespace-nowrap",
9+
small:
10+
"grid place-items-center border border-charcoal-650 rounded-sm px-1.5 h-5 text-xs bg-background-bright text-blue-500 whitespace-nowrap",
911
"outline-rounded":
1012
"grid place-items-center rounded-full px-1 h-4 tracking-wider text-xxs border border-blue-500 text-blue-500 uppercase whitespace-nowrap",
1113
rounded:

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.regions/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export default function Page() {
234234
isSticky
235235
visibleButtons={
236236
region.isDefault ? (
237-
<Badge variant="outline-rounded" className="inline-grid">
237+
<Badge variant="small" className="inline-grid">
238238
Default
239239
</Badge>
240240
) : (

0 commit comments

Comments
 (0)