Skip to content

Commit

Permalink
fix: mark text color
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jan 18, 2024
1 parent e6bbcda commit 83d85ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ui/markdown/markdown.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,14 @@
--lightness: 0.3;
--highlighted: 1;
--highlight: oklch(var(--a) / var(--lightness));
background: transparent;
background: theme(colors.accent);
color: var(--tw-prose-body);
}

@supports (animation-timeline: view()) {
mark {
--highlighted: 0;
background: transparent;
animation: highlight steps(1) both;
animation-timeline: view();
animation-range: entry 100% cover 10%;
Expand Down

1 comment on commit 83d85ab

@vercel
Copy link

@vercel vercel bot commented on 83d85ab Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

shiro-git-main-innei.vercel.app
shiro-innei.vercel.app
springtide.vercel.app
innei.in

Please sign in to comment.