From 7b23218b48bc4bb970d614356d2d4a13c12701d1 Mon Sep 17 00:00:00 2001 From: Sebastian Gsell Date: Tue, 27 Feb 2024 16:56:38 +0100 Subject: [PATCH 01/23] Add dark mode logo --- .../images/estimagic_logo_dark_mode.svg | 119 ++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 docs/source/_static/images/estimagic_logo_dark_mode.svg diff --git a/docs/source/_static/images/estimagic_logo_dark_mode.svg b/docs/source/_static/images/estimagic_logo_dark_mode.svg new file mode 100644 index 000000000..6134f5d3c --- /dev/null +++ b/docs/source/_static/images/estimagic_logo_dark_mode.svg @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 97be92569ccfc5b493949de4409bcb4c2466bc3f Mon Sep 17 00:00:00 2001 From: Sebastian Gsell Date: Tue, 27 Feb 2024 17:03:25 +0100 Subject: [PATCH 02/23] Modify conf file --- docs/source/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 8d7a6a3c8..6dd276f7d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -166,6 +166,7 @@ html_theme_options = { "github_url": "https://github.com/OpenSourceEconomics/estimagic", + "logo": {"image_dark": "_static/images/estimagic_logo_dark_mode.svg"}, } html_css_files = ["css/custom.css"] From d7904679878a86438e83b54fea56ec515fa89e6e Mon Sep 17 00:00:00 2001 From: Sebastian Gsell Date: Tue, 27 Feb 2024 18:18:09 +0100 Subject: [PATCH 03/23] Switch logos in index.md --- docs/source/conf.py | 1 + docs/source/index.md | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 6dd276f7d..0b332157a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -167,6 +167,7 @@ html_theme_options = { "github_url": "https://github.com/OpenSourceEconomics/estimagic", "logo": {"image_dark": "_static/images/estimagic_logo_dark_mode.svg"}, + # "logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"}, } html_css_files = ["css/custom.css"] diff --git a/docs/source/index.md b/docs/source/index.md index fd31a67b7..9d5ef101c 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -1,6 +1,12 @@ ```{raw} html -