Customize color and logo

This commit is contained in:
Cédric COURALET 2024-02-19 08:45:54 +01:00
parent aebf00c565
commit 1cac77907e
4 changed files with 52 additions and 39 deletions

BIN
docs/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,5 @@
:root {
--md-primary-fg-color: #873763;
--md-primary-fg-color--light: #66135e;
--md-primary-fg-color--dark: #ac76be;
}

View File

@ -1,39 +1,47 @@
site_name: Documentation du DSIT
site_url: https://documentation-dsit.lab.groupe-genes.fr
repo_url: https://code.groupe-genes.fr/DSIT/documentation-dsit
repo_name: dsit/documentation
edit_uri: src/branch/main/docs/
theme:
name: material
features:
- navigation.instant
- content.action.edit
- content.code.copy
palette:
# Palette toggle for light mode
- scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
markdown_extensions:
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.details
- admonition
- pymdownx.details
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
- nl2br
site_name: Documentation du DSIT
site_url: https://documentation-dsit.lab.groupe-genes.fr
repo_url: https://code.groupe-genes.fr/DSIT/documentation-dsit
repo_name: dsit/documentation
edit_uri: src/branch/main/docs/
theme:
name: material
features:
- navigation.sections
- toc.integrate
- navigation.top
- search.suggest
- search.highlight
- content.tabs.link
- content.code.copy
language: fr
palette:
- scheme: default
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
primary: custom
- scheme: slate
toggle:
icon: material/toggle-switch
name: Switch to light mode
primary: custom
accent: purple
logo: assets/logo_seul_blanc.png
extra_css:
- stylesheets/extra.css
markdown_extensions:
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.details
- admonition
- pymdownx.details
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
- nl2br