Skip to content

Commit

Permalink
chore(website): add code block styles
Browse files Browse the repository at this point in the history
  • Loading branch information
donskov committed Jan 12, 2024
1 parent 1ce4896 commit ace03e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
import { themes as prismThemes } from 'prism-react-renderer';
import npm2yarn from '@docusaurus/remark-plugin-npm2yarn';
import packageJSON from '../package.json';

Expand Down Expand Up @@ -53,6 +54,9 @@ const config: Config = {
],

themeConfig: {
prism: {
theme: prismThemes.oneDark,
},
image: 'img/card.png',
colorMode: {
defaultMode: 'light',
Expand Down

0 comments on commit ace03e1

Please sign in to comment.