Skip to content

Commit 64419c2

Browse files
committed
Changed shiki styling
1 parent b26a509 commit 64419c2

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/build.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ async function build() {
1515
// 2. Add Shiki plugin for syntax highlighting
1616
// This will automatically handle tokenizing code blocks asynchronously
1717
md.use(Shiki({
18-
themes: {
19-
light: 'github-light',
20-
dark: 'github-dark',
21-
}
18+
theme: 'light-plus'
2219
}));
2320

2421
// 3. Prepare directories and load the HTML template

src/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ body {
88
background: #fafafa;
99
}
1010

11-
/* Ensure code blocks have padding and scroll horizontally */
1211
pre.shiki {
13-
padding: 1rem;
12+
background-color: #FFFCF2 !important;
13+
border: 1px solid #e1e4e8;
14+
padding: 16px;
1415
border-radius: 6px;
1516
overflow-x: auto;
1617
}

0 commit comments

Comments
 (0)