Skip to content

Commit

Permalink
feat(ui): update codeblock colors
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Dec 10, 2022
1 parent 0e0674d commit 5321914
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}

hr {
@apply my-8;
@apply my-8 bg-black/40 h-[2px];
}

blockquote {
Expand Down Expand Up @@ -109,16 +109,16 @@
}

code {
@apply bg-black/[.02] p-1;
@apply bg-black/[.05] p-1;
}

pre {
@apply bg-black/[.02];
@apply bg-black/[.05];
@apply overflow-scroll;

& > code {
@apply grid;
@apply py-3 px-0;
@apply py-2 px-0;
@apply bg-transparent;

span {
Expand All @@ -127,7 +127,7 @@
}

&.highlighted-line {
@apply bg-gray-500/10 border-l border-l-gray-500;
@apply bg-gray-500/10 border-l-2 border-l-gray-500;
}

&.highlighted-word {
Expand All @@ -150,7 +150,7 @@
}

div[data-rehype-pretty-code-title=''] {
@apply bg-black/[.02] p-3;
@apply bg-black/[.05] p-3;
@apply italic text-gray-500;
@apply border-b border-b-gray-300;
}
Expand Down

0 comments on commit 5321914

Please sign in to comment.