From 846b9b7aa9fcd1182fafde6b0dc31986c1207d43 Mon Sep 17 00:00:00 2001 From: Rambaud Pierrick <12rambau@users.noreply.github.com> Date: Fri, 14 May 2021 16:39:23 +0200 Subject: [PATCH] use a variable for the color of editthispage In the [documentation](https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/customizing.html), every single link is customizable but the editthispage one because it is still piloted by a hard color value in the main css file --- src/scss/index.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scss/index.scss b/src/scss/index.scss index de9213785..4191fc71d 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -492,7 +492,7 @@ nav.bd-links { padding-top: 2rem; a { - color: #130754; + color: var(--pst-color-sidebar-link-active); } } @@ -584,4 +584,4 @@ div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */ -webkit-user-select: none !important; /* Chrome/Safari */ -moz-user-select: none !important; /* Firefox */ -ms-user-select: none !important; /* IE10+ */ -} \ No newline at end of file +}