Skip to content

Commit 76973d5

Browse files
authored
Merge pull request #3834 from ClickHouse/fix_yaml_styling
Use a light mode theme for light mode
2 parents a743a5c + 4a5d58f commit 76973d5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docusaurus.config.en.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,9 @@ const config = {
288288
copyright: `© 2016–${new Date().getFullYear()} ClickHouse, Inc.`,
289289
},
290290
prism: {
291-
theme: themes.darkTheme,
291+
theme: require('prism-react-renderer').themes.github,
292292
darkTheme: themes.darkTheme,
293-
additionalLanguages: ["java", "cpp", "rust", "python", "javascript"],
293+
additionalLanguages: ["java", "cpp", "rust", "python", "javascript", "yaml"],
294294
magicComments: [
295295
// Remember to extend the default highlight class name as well!
296296
{

docusaurus.config.jp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ const config = {
254254
copyright: `© 2016–${new Date().getFullYear()} ClickHouse, Inc.`,
255255
},
256256
prism: {
257-
theme: themes.darkTheme,
257+
theme: require('prism-react-renderer').themes.github,
258258
darkTheme: themes.darkTheme,
259259
additionalLanguages: ["java", "cpp", "rust", "python", "javascript"],
260260
magicComments: [

docusaurus.config.ru.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ const config = {
260260
copyright: `© 2016–${new Date().getFullYear()} ClickHouse, Inc.`,
261261
},
262262
prism: {
263-
theme: themes.darkTheme,
263+
theme: require('prism-react-renderer').themes.github,
264264
darkTheme: themes.darkTheme,
265265
additionalLanguages: ["java", "cpp", "rust", "python", "javascript"],
266266
magicComments: [

docusaurus.config.zh.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ const config = {
254254
copyright: `© 2016–${new Date().getFullYear()} ClickHouse, Inc.`,
255255
},
256256
prism: {
257-
theme: themes.darkTheme,
257+
theme: require('prism-react-renderer').themes.github,
258258
darkTheme: themes.darkTheme,
259259
additionalLanguages: ["java", "cpp", "rust", "python", "javascript"],
260260
magicComments: [

0 commit comments

Comments
 (0)