Skip to content

Commit

Permalink
add Card link styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Apr 14, 2024
1 parent fc27175 commit 470608c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sour-dryers-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ryanatkn/fuz": patch
---

add `Card` link styling
6 changes: 6 additions & 0 deletions src/lib/Card.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@
flex-direction: column;
text-align: center;
}
.link {
box-shadow: var(--shadow_inset_md);
}
.link:active {
box-shadow: var(--shadow_inset_inverse_md);
}
.link.selected .content,
.link:hover .content {
text-decoration: underline;
Expand Down

0 comments on commit 470608c

Please sign in to comment.