Skip to content

Commit 745fc94

Browse files
committed
Add hover highlight to welcome modal example tiles
1 parent a6cf57c commit 745fc94

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/lib/components/WelcomeModal.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@
271271
text-align: left;
272272
overflow: hidden;
273273
font-family: inherit;
274+
transition: border-color 0.15s ease, box-shadow 0.15s ease;
275+
}
276+
277+
.example-card:hover {
278+
border-color: var(--accent);
279+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
274280
}
275281
276282

0 commit comments

Comments
 (0)