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