Skip to content

Commit

Permalink
style(libs/ui): increase blur effect for focus lines of enhanced code…
Browse files Browse the repository at this point in the history
… blocks
  • Loading branch information
vnphanquang committed Apr 18, 2024
1 parent 95ea498 commit 9b84546
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sharp-spies-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltevietnam/ui': patch
---

increase blur effect for focused lines in enhanced block codes
2 changes: 1 addition & 1 deletion libs/ui/src/css/typography/base/prose.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
&:has([data-focus]) {
& .line:not([data-focus]) {
opacity: 0.5;
filter: blur(0.095rem);
filter: blur(0.15rem);
transition: filter 200ms ease-out;
}

Expand Down

0 comments on commit 9b84546

Please sign in to comment.