Skip to content

Commit 442cc99

Browse files
committed
Refactor AddButton styles for consistency; use CSS variables for spacing and dimensions
1 parent e761a90 commit 442cc99

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/CCIP/AddButton/AddButton.astro

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ const { href, text } = Astro.props
1616
.add-button {
1717
display: inline-flex;
1818
align-items: center;
19-
gap: 8px;
19+
gap: var(--space-2x);
2020
padding: var(--space-2x) var(--space-4x);
2121
border: 1px solid var(--tertiary-border);
22-
border-radius: 4px;
22+
border-radius: var(--space-1x);
2323
font-family: "Inter", sans-serif;
24-
font-size: 12px;
24+
font-size: var(--space-3x);
2525
font-weight: 600;
26-
line-height: 16px;
26+
line-height: var(--space-4x);
2727
color: var(--tertiary-foreground);
2828
text-decoration: none;
2929
background-color: transparent;
@@ -36,7 +36,7 @@ const { href, text } = Astro.props
3636
}
3737

3838
.add-button-icon {
39-
width: 12px;
40-
height: 12px;
39+
width: var(--space-3x);
40+
height: var(--space-3x);
4141
}
4242
</style>

0 commit comments

Comments
 (0)