summaryrefslogtreecommitdiffstats
path: root/docusaurus/docusaurus.config.js
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-08-01 19:01:45 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-08-01 19:01:45 -0300
commit13d6443b10f1f6896c26a48826f782214e708e65 (patch)
treee9a71c92741dbb955b0d193edcecf937b18154aa /docusaurus/docusaurus.config.js
parent7be97c31c9b240cd7b320c19ee34f2460e57d537 (diff)
downloadPSP.git-13d6443b10f1f6896c26a48826f782214e708e65.tar.gz
PSP.git-13d6443b10f1f6896c26a48826f782214e708e65.tar.xz
PSP.git-13d6443b10f1f6896c26a48826f782214e708e65.zip
Text bug fix and documentation update
New fancy [PSP-UFU website](https://thales1330.github.io/PSP/) and [changelog](https://thales1330.github.io/PSP/blog) using [docusaurus](https://v2.docusaurus.io/); Text element performance improved for OpenGL render; Major text bug on copy fixed
Diffstat (limited to 'docusaurus/docusaurus.config.js')
-rw-r--r--docusaurus/docusaurus.config.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js
index cd74364..798ba61 100644
--- a/docusaurus/docusaurus.config.js
+++ b/docusaurus/docusaurus.config.js
@@ -10,6 +10,23 @@ module.exports = {
organizationName: 'thales1330', // Usually your GitHub org/user name.
projectName: 'PSP', // Usually your repo name.
themeConfig: {
+ colorMode: {
+ defaultMode: 'dark',
+ disableSwitch: false,
+ respectPrefersColorScheme: true,
+ switchConfig: {
+ darkIcon: '🌙',
+ darkIconStyle: {
+ // Style object passed to inline CSS
+ // For more information about styling options visit: https://reactjs.org/docs/dom-elements.html#style
+ marginLeft: '2px',
+ },
+ lightIcon: '\u2600',
+ lightIconStyle: {
+ marginLeft: '1px',
+ },
+ },
+ },
navbar: {
title: 'PSP-UFU',
logo: {