mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-26 15:14:22 +02:00
☀️🌝 Fixes default color mode
This commit is contained in:
parent
895f8b9780
commit
c792b3246e
@ -1,5 +1,5 @@
|
|||||||
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
|
||||||
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
||||||
|
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
||||||
|
|
||||||
/* External URLs */
|
/* External URLs */
|
||||||
const externalUrl = {
|
const externalUrl = {
|
||||||
@ -26,11 +26,13 @@ module.exports = {
|
|||||||
projectName: 'dashy', // Usually your repo name.
|
projectName: 'dashy', // Usually your repo name.
|
||||||
plugins: ['docusaurus-plugin-sass'],
|
plugins: ['docusaurus-plugin-sass'],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
|
colorMode: {
|
||||||
defaultMode: 'dark',
|
defaultMode: 'dark',
|
||||||
switchConfig: {
|
switchConfig: {
|
||||||
darkIcon: '🌙',
|
darkIcon: '🌙',
|
||||||
lightIcon: '☀️',
|
lightIcon: '☀️',
|
||||||
},
|
},
|
||||||
|
},
|
||||||
navbar: {
|
navbar: {
|
||||||
title: 'Dashy',
|
title: 'Dashy',
|
||||||
logo: {
|
logo: {
|
||||||
@ -38,7 +40,10 @@ module.exports = {
|
|||||||
src: 'img/dashy.png',
|
src: 'img/dashy.png',
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
|
{ label: 'GitHub', to: 'https://github.com/lissy93/dashy' },
|
||||||
|
{ label: 'Live Demo', to: 'https://demo.dashy.to' },
|
||||||
|
{ label: 'Quick Start', to: '/docs/quick-start' },
|
||||||
|
{ label: 'Documentation', to: '/docs' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user