From 1f457e079800a51bd972c825e682f3c337cf8b31 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Tue, 2 May 2023 11:32:14 +0200 Subject: [PATCH] Revert "Chage primary color to better match SWH theme" This reverts commit ae901af0d505517b878969bc691710afa1fa5415. Two people within the team reported it's hard to read for them with the new theme (color-blindness) --- docs/_static/custom.css | 12 ------------ docs/index.rst | 12 ++++++------ 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index efc9b1ad..5efaa860 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -1,15 +1,3 @@ -html[data-theme="light"] { - --pst-color-primary: #e20026; - --pst-color-secondary: #52566D; -} - -html[data-theme="dark"] { - --pst-color-primary: #e20026; - --pst-color-secondary: #dbdbdb; - --pst-color-secondary-text: #141325; -} - - table.swh-logos-table td, table.swh-logos-table th { text-align: center; diff --git a/docs/index.rst b/docs/index.rst index 0eabce27..4c77e6d8 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -24,7 +24,7 @@ Welcome to Software Heritage documentation .. button-ref:: landing-basics :ref-type: ref - :color: secondary + :color: primary :expand: Discover Software Heritage @@ -41,7 +41,7 @@ Welcome to Software Heritage documentation .. button-ref:: landing-preserve :ref-type: ref - :color: secondary + :color: primary :expand: Archive source code @@ -59,7 +59,7 @@ Welcome to Software Heritage documentation .. button-ref:: landing-browse :ref-type: ref - :color: secondary + :color: primary :expand: Learn how to search the archive @@ -76,7 +76,7 @@ Welcome to Software Heritage documentation Join our network of partners. Collaborate with the team or become an ambassador. Teach others how to use the archive. Get materials for your next events. .. button-link:: http://example.com - :color: secondary + :color: primary :expand: Tell the world about Software Heritage @@ -94,7 +94,7 @@ Welcome to Software Heritage documentation .. button-ref:: landing-interface :ref-type: ref - :color: secondary + :color: primary :expand: Use Software Heritage in your applications @@ -112,7 +112,7 @@ Welcome to Software Heritage documentation .. button-ref:: landing-contribute :ref-type: ref - :color: secondary + :color: primary :expand: Improve the universal archive of source code -- GitLab