Skip to content

Commit

Permalink
Merge branch 'main' into dark-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Jul 3, 2024
2 parents df68cef + 618bf1c commit 6499c98
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 2 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
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
This file is vendored from Furo (created by Pradyun Gedam) and used under the MIT license.

We've made substantial changes to comply with IBM Carbon requirements
(https://carbondesignsystem.com/guidelines/icons/library/). These
have all been replaced with Carbon icons:
(https://carbondesignsystem.com/). These have all been replaced with Carbon icons:

* svg-menu
* svg-toc
* svg-arrow-right
* svg-pencil
* svg-eye

We obtained the icons from Figma and made the following edits to the SVG:

* Deleted the transparent `rect` element that was present.
* Replaced the value of the `fill` property with "currentColor".
-#}
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="svg-toc" viewBox="0 0 24 24">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/js/tests.js-snapshots/api-docs-class-page-1-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/js/tests.js-snapshots/api-docs-function-page-1-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/js/tests.js-snapshots/api-docs-inline-classes-1-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/js/tests.js-snapshots/api-docs-module-page-1-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/js/tests.js-snapshots/custom-directives-4-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6499c98

Please sign in to comment.