-
Notifications
You must be signed in to change notification settings - Fork 72
enh: adhere to style guide and reorg landing #598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lwasser
merged 3 commits into
pyOpenSci:main
from
lwasser:reorganize-package-structure-flow
Dec 13, 2025
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -4,16 +4,17 @@ | |
| --pyos-color-secondary: #8045e5; | ||
| --pyos-color-secondary-highlight: #591bc2; | ||
| --pyos-color-tertiary: #a66c98; | ||
| --pyos-color-dark: #542568; | ||
| --pyos-color-dark: #33205c; /* Brand dark purple - #33205c */ | ||
| --pyos-color-light: #daabcf; | ||
|
|
||
| /* Darkmode Adjustments*/ | ||
| --pyos-dm-color-primary: #c483e0; | ||
|
|
||
| /* Fonts (overrides base theme) */ | ||
| --pst-font-family-heading: "Poppins", sans-serif; | ||
| --pst-font-family-base: "Poppins", sans-serif; | ||
| --pyos-font-family-h1: "Itim", serif; | ||
| --pst-font-family-base: "NunitoSans", sans-serif; | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Align with website fonts! |
||
| --pyos-font-family-h1: "Poppins", sans-serif; | ||
| --pst-font-family-heading-weight: 400; | ||
| } | ||
|
|
||
| /* anything related to the dark theme */ | ||
|
|
@@ -32,6 +33,17 @@ body { | |
| font-size: 1rem; | ||
| } | ||
|
|
||
| /* nav bar poppins font */ | ||
| .bd-header, | ||
| .bd-header .navbar-nav, | ||
| .bd-header .navbar-nav .nav-link, | ||
| .bd-header .navbar-header-items, | ||
| .bd-header .navbar-item, | ||
| .navbar-item .nav-item { | ||
| font-family: "Poppins", sans-serif !important; | ||
| font-weight: 400 !important; | ||
| } | ||
|
|
||
| /* Allow the center content to expand to wide on wide screens */ | ||
| @media (min-width: 960px) { | ||
| .bd-page-width { | ||
|
|
@@ -65,6 +77,10 @@ body p { | |
| margin-bottom: 70px !important; | ||
| } | ||
|
|
||
| .admonition-title { | ||
| font-family: "Poppins", sans-serif !important; | ||
| } | ||
|
|
||
| h1 { | ||
| margin-top: 10px; | ||
| margin-bottom: 40px; | ||
|
|
@@ -73,6 +89,7 @@ h1 { | |
| } | ||
| h2 { | ||
| margin-top: 1em; | ||
| color: var(--pyos-h1-color); | ||
| } | ||
|
|
||
| h3 { | ||
|
|
@@ -94,7 +111,9 @@ figcaption { | |
| } | ||
|
|
||
| .admonition p { | ||
| font-size: 0.9em; | ||
| font-size: 0.95em; | ||
| font-family: Poppins, sans-serif; | ||
| font-weight: 200; | ||
| } | ||
|
|
||
| /* Navbar */ | ||
|
|
@@ -198,12 +217,14 @@ html[data-theme="light"] { | |
| --pst-color-success-text: #fff; | ||
| --pst-color-success-highlight: #00381a; | ||
| --sd-color-success: var(--pst-color-success); | ||
| --pst-color-link: #735fab; | ||
| --pst-color-link-hover: #591bc2; | ||
| --sd-color-success-text: var(--pst-color-success-text); | ||
| --sd-color-success-highlight: var(--pst-color-success-highlight); | ||
| --sd-color-success-bg: #d6ece1; | ||
| --sd-color-success-bg-text: #14181e; | ||
| --pst-color-info: #a66c98; /* general admonition */ | ||
| --pst-color-info-bg: #eac8e2; | ||
| --pst-color-info: #33205c; /* general admonition */ | ||
| --pst-color-info-bg: #bab3d4; | ||
| --pst-heading-color: var(--pyos-color-dark); | ||
| --pyos-h1-color: var(--pyos-color-dark); | ||
| } | ||
|
|
@@ -318,6 +339,25 @@ See https://github.com/pydata/pydata-sphinx-theme/pull/1784 | |
| font-weight: 600; | ||
| src: url("./fonts/poppins-v20-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||
| } | ||
|
|
||
| /* nunitosans-regular - latin */ | ||
| @font-face { | ||
| font-display: swap; | ||
| font-family: "NunitoSans"; | ||
| font-style: normal; | ||
| font-weight: 400; | ||
| src: url("./fonts/NunitoSans-VariableFont.woff2") format("woff2"); | ||
| } | ||
|
|
||
| /* nunitosans-italic - latin */ | ||
| @font-face { | ||
| font-display: swap; | ||
| font-family: "NunitoSans"; | ||
| font-style: italic; | ||
| font-weight: 400; | ||
| src: url("./fonts/NunitoSans-Italic-VariableFont.woff2") format("woff2"); | ||
| } | ||
|
|
||
| /* Cards */ | ||
|
|
||
| /* todo light and dark adaptations needed */ | ||
|
|
@@ -329,6 +369,7 @@ See https://github.com/pydata/pydata-sphinx-theme/pull/1784 | |
| border-bottom: 2px solid #999; | ||
| font-size: 1.2rem; | ||
| font-weight: 600 !important; | ||
| font-family: "Poppins", sans-serif !important; | ||
| } | ||
|
|
||
| .sd-card-header { | ||
|
|
||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -3,9 +3,11 @@ | |
| This guide is focused on packages that are either pure-python or that | ||
| have a few simple extensions in another language such as C or C++. | ||
|
|
||
| In the future, we want to provide resources for packaging workflows that require more complex builds. If you have questions about these types of package, please [add a question to our discourse](https://pyopensci.discourse.group/) or open an [issue about this guide specifically in the GitHub repo for this guide](https://github.com/pyOpenSci/python-package-guide/issues). There are many nuances to building and distributing Python packages that have compiled extensions requiring non-Python dependencies at build time. For an overview and thorough discussion of these nuances, please see [this site.](https://pypackaging-native.github.io/) | ||
| For comprehensive guidance on packaging compiled projects with C/C++/Fortran/Rust extensions, see the [Scientific Python Development Guide on compiled packaging](https://learn.scientific-python.org/development/guides/packaging-compiled/). This is the best reference for complex builds and covers scikit-build-core, meson-python, maturin, and other modern build backends. | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Really, Henry's guide is the best here, so I'd prefer to link to them! |
||
|
|
||
| ## Pure Python Packages vs. packages with extensions in other languages | ||
| If you have questions about these types of package, please open an [issue about this guide specifically in the GitHub repo for this guide](https://github.com/pyOpenSci/python-package-guide/issues). There are many nuances to building and distributing Python packages that have compiled extensions requiring non-Python dependencies at build time. For an overview and thorough discussion of these nuances, please see [this site.](https://pypackaging-native.github.io/) | ||
|
|
||
| ## Pure Python packages vs. packages with extensions in other languages | ||
|
|
||
| You can classify Python package complexity into three general categories. These | ||
| categories can in turn help you select the correct package frontend and | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use our brand palette and stick to the purple tones for a more on brand and consistent vibe.