Skip to content

Commit c8fe5d7

Browse files
committed
ui: remove border from GitHub star badge
- Remove border, border-radius, padding, background - Change from button-like to text link style - Keep hover effect (color change only) - Now matches the style of other header links
1 parent 4e17488 commit c8fe5d7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/lib/components/GitHubStarBadge.svelte

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,16 @@
4646
display: inline-flex;
4747
align-items: center;
4848
gap: 6px;
49-
padding: 6px 12px;
49+
padding: 0;
5050
color: var(--text-secondary);
5151
font-size: 0.9rem;
5252
font-weight: 500;
5353
text-decoration: none;
54-
border-radius: 8px;
55-
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
56-
background: transparent;
57-
border: 1px solid var(--border);
54+
transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
5855
}
5956
6057
.github-star-badge:hover {
6158
color: var(--text-primary);
62-
border-color: var(--accent);
63-
background: color-mix(in srgb, var(--accent) 5%, transparent);
6459
}
6560
6661
.github-star-badge svg {

0 commit comments

Comments
 (0)