Skip to content

Commit

Permalink
making code visible in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Simplychee committed Dec 20, 2023
1 parent 2d8a8df commit c313d90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');


/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Logz.io Docs',
Expand Down Expand Up @@ -234,7 +235,7 @@ const config = {
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
//darkTheme: darkCodeTheme.dracula,
},
}),
};
Expand Down

0 comments on commit c313d90

Please sign in to comment.