Skip to content

Commit

Permalink
🚚 Extract code styles into theme
Browse files Browse the repository at this point in the history
  • Loading branch information
carloscuesta committed Apr 15, 2023
1 parent c96237c commit 79424e0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/utils/theme/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,19 @@ html {
.language-project-html {
background-color: #ff7043;
}

:not(pre) > code[class*='language-'],
pre,
.prose pre,
pre[class*='language-'] {
font-family: Operator Mono, Fira Code, Consolas, monospace;
font-size: 1.25rem;
background: #1d1f21;
color: #f8f8f2;
}

:not(pre) > code[class*='language-'] {
padding: 0.1em;
border-radius: 0.3em;
white-space: normal;
}

1 comment on commit 79424e0

@vercel
Copy link

@vercel vercel bot commented on 79424e0 Apr 15, 2023

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:

carloscuesta – ./

carloscuesta-git-master-carloscuesta.vercel.app
carloscuesta.me
carloscuesta-carloscuesta.vercel.app

Please sign in to comment.