Skip to content

Commit

Permalink
Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmbrown committed Jan 25, 2025
1 parent 6ad5396 commit 0b379a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags: ['note', 'astro', 'markdown']

[Here](https://shiki.style/themes) is a list of themes that work out-of-the-box!

I currently used the `github-dark ` theme for all code blocks on this site.
I currently use the `github-dark` theme for all code blocks on this site.

```typescript
// Example.ts
Expand Down
4 changes: 4 additions & 0 deletions src/layouts/Note.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ tags.sort()
.astro-code {
@apply p-6 text-base
}

code {
@apply bg-[#1E262F] text-[#FFA500] px-2 py-1 rounded text-center
}
</style>

<Main
Expand Down

0 comments on commit 0b379a7

Please sign in to comment.