Skip to content

Commit

Permalink
Apply colors to codeblock component
Browse files Browse the repository at this point in the history
  • Loading branch information
MTRNord committed Jun 4, 2024
1 parent d5b7455 commit 258ac4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sass/components/_code.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "../helpers/colors";

/**
* This is anything relevant to codeblocks
*/
Expand Down Expand Up @@ -34,8 +36,8 @@ pre table {
}

:not(pre)>code {
color: #f54029;
border: 1px solid #f54029;
color: colors.$codeblock;
border: 1px solid colors.$codeblock;
border-radius: 4px;
padding: 0 .4rem;
}
Expand Down

0 comments on commit 258ac4c

Please sign in to comment.