Skip to content

Commit

Permalink
default dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
seesharpguy committed Nov 22, 2023
1 parent 15be463 commit 69a20ca
Showing 1 changed file with 85 additions and 90 deletions.
175 changes: 85 additions & 90 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,95 +33,93 @@ module.exports = {
},
},
},
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// ...
// googleTagManager: {
// trackingID: 'GTM-W8Z6BLQ',
// },
prism: {
additionalLanguages: [
'csharp',
'php',
'ruby',
'java',
'rust',
'elixir',
'groovy',
'sql',
'typescript',
],
themeConfig: {
// ...
// googleTagManager: {
// trackingID: 'GTM-W8Z6BLQ',
// },
prism: {
additionalLanguages: [
'csharp',
'php',
'ruby',
'java',
'rust',
'elixir',
'groovy',
'sql',
'typescript',
],
},
image: 'img/logo.png',
navbar: {
style: 'dark',
title: null,
logo: {
alt: 'ThreeTen Labs logo',
src: 'img/logo.png',
},
image: 'img/logo.png',
navbar: {
style: 'dark',
title: null,
logo: {
alt: 'ThreeTen Labs logo',
src: 'img/logo.png',
},
hideOnScroll: true,
items: [
// {
// to: '/games/',
// activeBasePath: 'docs',
// label: 'Games',
// position: 'right',
// },
],
hideOnScroll: true,
items: [
// {
// to: '/games/',
// activeBasePath: 'docs',
// label: 'Games',
// position: 'right',
// },
],
},
footer: {
style: 'dark',
logo: {
alt: 'ThreeTen Labs logo',
src: 'img/logo.png',
href: 'https://threetenlabs.com/',
},
footer: {
style: 'dark',
logo: {
alt: 'ThreeTen Labs logo',
src: 'img/logo.png',
href: 'https://threetenlabs.com/',
links: [
{
title: 'Get Started',
items: [
{
label: 'Games',
to: '/games/',
},
{
label: 'Company',
to: '/company/',
},
],
},
links: [
{
title: 'Get Started',
items: [
{
label: 'Games',
to: '/games/',
},
{
label: 'Company',
to: '/company/',
},
],
},
{
title: 'Mobile Applications',
items: [
{
label: 'Google Play Store',
href: 'https://play.google.com/store/games?hl=en_US&gl=US',
},
{
label: 'Apple Store',
href: 'https://www.google.com/aclk?sa=l&ai=DChcSEwjti6-lsLCCAxVTREcBHePWD5UYABABGgJxdQ&ase=2&gclid=Cj0KCQiAuqKqBhDxARIsAFZELmIsqZLsX5VUBTnZyroBKqNkekxkFjml_1kkrf095qdhZ3VJh2ZM1I8aAhz7EALw_wcB&sig=AOD64_0a_wlOYm72NTLP9hTCfjLUMjQXWQ&q&nis=4&adurl&ved=2ahUKEwjynKWlsLCCAxVSkIkEHZRICMsQ0Qx6BAgGEAE',
},
],
},
],
copyright: `Copyright: © ${new Date().getFullYear()} ThreeTen Labs. All rights reserved.`,
},
colorMode: {
// Hides the switch in the navbar
// Useful if you want to support a single color mode
disableSwitch: false,
},
// announcementBar: {
// id: 'yass-release', // Any value that will identify this message.
// content:
// '<div class="announcement-bar"><a href="https://google.com" target="_blank" rel="noopener"><span>Announcing the first release of Spider Solitaire</span> <span style="margin-left:1rem">Learn more</span> <span style="margin-left:0.25rem">→</span></a></div>',
// backgroundColor: 'rgb(210, 215, 254)', // Defaults to `#fff`.
// textColor: 'rgb(22 31 49)', // Defaults to `#000`.
// isCloseable: true, // Defaults to `true`.
// },
}),
{
title: 'Mobile Applications',
items: [
{
label: 'Google Play Store',
href: 'https://play.google.com/store/games?hl=en_US&gl=US',
},
{
label: 'Apple Store',
href: 'https://www.google.com/aclk?sa=l&ai=DChcSEwjti6-lsLCCAxVTREcBHePWD5UYABABGgJxdQ&ase=2&gclid=Cj0KCQiAuqKqBhDxARIsAFZELmIsqZLsX5VUBTnZyroBKqNkekxkFjml_1kkrf095qdhZ3VJh2ZM1I8aAhz7EALw_wcB&sig=AOD64_0a_wlOYm72NTLP9hTCfjLUMjQXWQ&q&nis=4&adurl&ved=2ahUKEwjynKWlsLCCAxVSkIkEHZRICMsQ0Qx6BAgGEAE',
},
],
},
],
copyright: `Copyright: © ${new Date().getFullYear()} ThreeTen Labs. All rights reserved.`,
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: false,
},
// announcementBar: {
// id: 'yass-release', // Any value that will identify this message.
// content:
// '<div class="announcement-bar"><a href="https://google.com" target="_blank" rel="noopener"><span>Announcing the first release of Spider Solitaire</span> <span style="margin-left:1rem">Learn more</span> <span style="margin-left:0.25rem">→</span></a></div>',
// backgroundColor: 'rgb(210, 215, 254)', // Defaults to `#fff`.
// textColor: 'rgb(22 31 49)', // Defaults to `#000`.
// isCloseable: true, // Defaults to `true`.
// },
},
presets: [
[
'classic',
Expand Down Expand Up @@ -165,8 +163,5 @@ module.exports = {
},
],
],
plugins: [
'docusaurus-plugin-sass',
// path.resolve(__dirname, 'plugins', 'gtm'),
],
plugins: ['docusaurus-plugin-sass'],
};

0 comments on commit 69a20ca

Please sign in to comment.