diff --git a/content/README.md b/content/README.md index 19dbed7a..ec1471f7 100644 --- a/content/README.md +++ b/content/README.md @@ -8,7 +8,8 @@ hide: ['toc'] # [OpenShift Examples](https://examples.openshift.pub/) -![](openshift-examples.png) +![OpenShift Examples Logo](images/logo-black.png#only-light) +![OpenShift Examples Logo](images/logo-white.png#only-dark) The OpenShift Examples is a personal collection of valuable information, code snippets, and practical demonstrations related to OpenShift and Kubernetes. It serves as a repository of Robert's own experiences & contributions, solutions, and best practices in managing and deploying applications on OpenShift. diff --git a/mkdocs.yml b/mkdocs.yml index 07c35df4..0a8c047d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -19,17 +19,28 @@ theme: # logo: images/desk.png # favicon: images/favicon.png palette: - - primary: black - accent: red + # Palette toggle for automatic mode + - media: "(prefers-color-scheme)" + primary: blue grey toggle: - icon: material/lightbulb-outline + icon: material/brightness-auto name: Switch to light mode - - scheme: slate - primary: black - accent: red + + # Palette toggle for light mode + - media: "(prefers-color-scheme: light)" + primary: blue grey + scheme: default toggle: - icon: material/lightbulb + icon: material/brightness-7 name: Switch to dark mode + + # Palette toggle for dark mode + - media: "(prefers-color-scheme: dark)" + primary: blue grey + scheme: slate + toggle: + icon: material/brightness-4 + name: Switch to system preference font: text: Overpass code: Overpass Mono @@ -110,6 +121,7 @@ plugins: toolbar: false # control if hovering on a diagram shows a toolbar for zooming or not (default: true) tooltips: false # control if tooltips will be shown (default: true) edit: false # control if edit button will be shown in the lightbox view (default: true) + darkmode: true border: 0 # increase or decrease the border / margin around your diagrams (default: 5) - mike: deploy_prefix: preview