Skip to content

Commit

Permalink
make navigation and toc primary color
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Jul 2, 2024
1 parent 84130c7 commit ca55c22
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/qiskit_sphinx_theme/assets/styles/_scaffold.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* This code is a Qiskit project.
*
* (C) Copyright IBM 2024.
*
* This code is licensed under the Apache License, Version 2.0. You may
* obtain a copy of this license in the LICENSE.txt file in the root directory
* of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
*
* Any modifications or derivative works of this code must retain this
* copyright notice, and modified files need to carry a notice indicating
* that they have been altered from the originals.
*/

body {
// Make navigation and toc icons primary instead of secondary color
.toc-overlay-icon,
.nav-overlay-icon {
.icon {
color: var(--color-foreground-primary);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
@import "icons";
@import "layout";
@import "left-sidebar";
@import "scaffold";
@import "sphinx-extensions";
@import "tables";
@import "typography";
Expand Down

0 comments on commit ca55c22

Please sign in to comment.