mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-27 09:03:36 +00:00
67e1ff3d07
The dark theme is mostly built on top of the mkdocs slate theme.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-Authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
(cherry picked from commit 60251d89ee
)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
site_name: HedgeDoc
|
|
site_url: https://docs.hedgedoc.org
|
|
repo_url: https://github.com/hedgedoc/hedgedoc
|
|
site_description: 'HedgeDoc Documentation'
|
|
site_author: 'HedgeDoc Developers'
|
|
docs_dir: content
|
|
edit_uri: https://github.com/hedgedoc/hedgedoc/edit/master/docs/content/
|
|
nav:
|
|
- Home: index.md
|
|
- Interface:
|
|
Toolbar: interface/toolbar.md
|
|
- References:
|
|
'HedgeDoc Flavored Markdown': references/hfm.md
|
|
- Developer:
|
|
- '2.0 Development': dev/2.0.md
|
|
- Notes: dev/notes.md
|
|
- 'User Profiles & Authentication': dev/authentication.md
|
|
- Configuration: dev/config.md
|
|
- 'Documentation': dev/documentation.md
|
|
- FAQ: https://hedgedoc.org/faq
|
|
markdown_extensions:
|
|
- toc:
|
|
permalink: true
|
|
- admonition
|
|
- attr_list
|
|
- footnotes
|
|
theme:
|
|
name: 'material'
|
|
language: en
|
|
favicon: images/favicon.png
|
|
logo: images/logo.svg
|
|
palette:
|
|
- media: "(prefers-color-scheme: light)"
|
|
scheme: light
|
|
primary: 'hedgedoc'
|
|
accent: 'hedgedoc'
|
|
toggle:
|
|
icon: material/lightbulb-outline
|
|
name: Switch to dark mode
|
|
# Dark mode
|
|
- media: "(prefers-color-scheme: dark)"
|
|
scheme: slate
|
|
primary: 'hedgedoc'
|
|
accent: 'hedgedoc'
|
|
toggle:
|
|
icon: material/lightbulb
|
|
name: Switch to light mode
|
|
features:
|
|
- navigation.tabs
|
|
- navigation.sections
|
|
- toc.integrate
|
|
font: false
|
|
|
|
extra_css:
|
|
- theme/styles/hedgedoc-custom.css
|
|
- theme/styles/roboto.css
|