Skip to content

Commit

Permalink
fix(prose/header-btns): Improve transparency when hover Copy code &…
Browse files Browse the repository at this point in the history
… `Edit` buttons
  • Loading branch information
itsmartashub committed Jan 18, 2025
1 parent de56636 commit 82ef494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/sass/elements/_pre.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
background-color: hsla(var(--accent-hsl) / 0.2) !important;
color: var(--c-accent) !important;
transform: scale(0.98);
backdrop-filter: blur(5px) !important;

svg {
color: currentColor !important;
Expand Down
3 changes: 2 additions & 1 deletion src/sass/elements/_prose.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
--tw-prose-bullets: var(--c-accent) !important;
--tw-prose-hr: var(--c-border) !important;
--tw-prose-quotes: var(--c-accent) !important;
--tw-prose-quote-borders: var(--c-accent) !important;
// --tw-prose-quote-borders: var(--c-accent) !important;
--tw-prose-quote-borders: hsla(var(--accent-hsl) / .5) !important;
// --tw-prose-captions: red !important;
--tw-prose-code: currentCode !important;
// --tw-prose-pre-code: var(--c-accent) !important;
Expand Down

0 comments on commit 82ef494

Please sign in to comment.