-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add logo and update brand colors (#698)
* Updates to logos and colors * Minor tweaks * primary color darker * Admonitions * Header links * Version switcher colors * Link * Active color * Color docs * Favicon * Fixing logo variables * Logo dark * Logo fixes * Logo text fixes * tests * Diagonal logo * Theme button more minimal * No background * Add single dictionary config for logo * Deprecation * fix stroke miters; optimize svg; fix stroke width on dark logo Co-authored-by: Daniel McCloy <[email protected]> Co-authored-by: Jarrod Millman <[email protected]>
- Loading branch information
1 parent
31d1d09
commit 522a57f
Showing
22 changed files
with
164 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
:root { | ||
--sd-color-primary: var(--pst-color-primary); | ||
--sd-color-secondary: var(--pst-color-secondary); | ||
} | ||
|
||
/* Background of stsable should be green */ | ||
#version_switcher a[data-version-name*="stable"] { | ||
background-color: #e2ffe2; | ||
} | ||
|
||
/* Color of explicit versions should be orange */ | ||
#version_switcher | ||
a:not([data-version-name*="stable"]):not([data-version-name="dev"]) { | ||
background-color: #f8f9fa; | ||
color: grey; | ||
} | ||
|
||
/* If we're on a dev version, make the switcher button orange */ | ||
#version_switcher_button[data-active-version-name*="dev"] { | ||
background-color: rgb(255 138 62); | ||
border-color: rgb(255 138 62); | ||
} |
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
src/pydata_sphinx_theme/assets/styles/components/_switcher-version.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
#version_switcher_button { | ||
background-color: var(--pst-color-primary); | ||
border-color: var(--pst-color-primary); | ||
border-color: var(--pst-color-border); | ||
color: var(--pst-color-text-base); | ||
} | ||
|
||
#version_switcher_menu { | ||
// Over-rides Bootstrap default blue | ||
a.list-group-item.active { | ||
background-color: var(--pst-color-primary); | ||
border-color: var(--pst-color-primary); | ||
} | ||
} |
Oops, something went wrong.