diff --git a/docusaurus.config.js b/docusaurus.config.js index 3f1b2cec18..db5503db29 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -61,6 +61,11 @@ const config = { customCss: ['./src/css/custom.css'], }, }), + { + googleTagManager: { + containerId: 'GTM-PL77JR5L', + }, + }, ], ], @@ -109,6 +114,11 @@ const config = { theme: lightCodeTheme, darkTheme: darkCodeTheme, }, + colorMode: { + defaultMode: 'dark', + disableSwitch: false, + respectPrefersColorScheme: false, + }, }), plugins: [ diff --git a/src/css/custom.css b/src/css/custom.css index cdf4275a59..a5e32508ea 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -55,7 +55,7 @@ a[href^="http"] { text-decoration: underline; } -a[href^="/"]:not([class^="menu__link"]):not([class^="sidebarItemLink"]):not([class^="navbar__item"]):not([itemprop^="url"]):not([class^="navbar__title"]):not([class^="tag_node_modules"]) { +a[href^="/"]:not([class^="menu__link"]):not([class^="sidebarItemLink"]):not([class^="navbar__item"]):not([itemprop^="url"]):not([class^="navbar__title"]):not([class^="tag_"]) { font-style: italic; text-decoration: underline; }