Skip to content

Commit fd3cc60

Browse files
author
Adithya Krishna
authored
[Chore] - Fixed Code Block Colors (#125)
Signed-off-by: Adithya Krishna <[email protected]>
1 parent 2517bac commit fd3cc60

File tree

2 files changed

+42
-23
lines changed

2 files changed

+42
-23
lines changed

docusaurus.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @ts-check
22
// Note: type annotations allow type checking and IDEs autocompletion
33

4-
const lightCodeTheme = require('prism-react-renderer/themes/github');
4+
const lightCodeTheme = require('prism-react-renderer/themes/nightOwlLight');
55
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
66

77
require('dotenv').config();
@@ -210,6 +210,7 @@ const config = {
210210
prism: {
211211
theme: lightCodeTheme,
212212
darkTheme: darkCodeTheme,
213+
additionalLanguages: ['rust', 'bash', 'typescript', 'csharp', 'lua', 'protobuf', 'powershell', 'toml', 'yaml', 'wasm', 'javascript', 'go'],
213214
},
214215
}),
215216
};

package-lock.json

Lines changed: 40 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)