From 77a4001fed8fd9163734846dfb37a460d0da0e5e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 19:11:40 +0000 Subject: [PATCH] misc(docs): changed colors --- .docs/.overrides/main.html.disabled | 5 +++++ mkdocs.yml | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 .docs/.overrides/main.html.disabled diff --git a/.docs/.overrides/main.html.disabled b/.docs/.overrides/main.html.disabled new file mode 100644 index 0000000..bace02a --- /dev/null +++ b/.docs/.overrides/main.html.disabled @@ -0,0 +1,5 @@ +{% extends "base.html" %} + +{% block announce %} + Put an announcement here. +{% endblock %} diff --git a/mkdocs.yml b/mkdocs.yml index 01b84ed..2ab3bdb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -63,23 +63,25 @@ markdown_extensions: theme: name: material + custom_dir: ./.docs/.overrides palette: - media: '(prefers-color-scheme: light)' scheme: default - primary: orange - accent: amber + primary: cyan + accent: light blue toggle: icon: material/toggle-switch name: Switch to dark mode - media: '(prefers-color-scheme: dark)' scheme: slate - primary: orange - accent: amber + primary: cyan + accent: light blue toggle: icon: material/toggle-switch-off-outline name: Switch to light mode features: + - announce.dismiss - content.code.annotate - content.code.copy - navigation.instant