-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH - Scalable colour system for theme (#1174)
* 📝 Update file names in documentation * 🎨 Update mixins to match new colour system * ♿ Update colours * ♿ Update foundation and text colours * Add more colours - shadows and neutrals * ♿ Replace text colour function w/WCAG one * ♻️ Add full color system to root * ♿ Update variables - use color names * ♿ Ensure all the colours are evaluated correctly * Update mixins - move to separate file * Update contrast ratios - add comments * ♿️ Add luminance formula and ignore text col for now * Update variables and remove debugs * ⚡ Improve colours parsing * ♿ Update admonition bg colours * Update headings colours * ♿ Change topic text colour and replace mixins * ♿ Minor tweaks to secondary colour * ♿ Update code and announcement colours * Update text-muted in dark theme * ♿️ Buttons are now WCAG AA conformant * 💄 Update tabs hover * ♿️ Tweaks to colours in small components * ♿️ Move WCAG contrast to mixin file * Update theming docs * 📝 Update a11y docs * Update accessibility docs * Fix search button text contrast * Fix colours in admonitions * Ensure we use WCAG compliant text color * Update docs - web components * Fix quotes text colour * Add more details re accessibility * 📝 Add accessibility notes to docs * 💄 Ensure we are generating background colours too * 🐛 Fix attention bg colour * 🐛 Fix bg colour issues * 🎨 Improve sd colours * Update styling * Lint files * ➖ Remove unused mixin * Fix issues introduced by merging main * Add dropdowns background * 📝 Update docs * ✏️ Fix grammar and spelling * Minor edits to docs * Fix colour in code blocks * ⚡ Use math.pow - we use dart sass now * ⚡ Use math.pow * ⚡ Update mixins * ➕ Add math import in mixins * Fix highlight colour - pygments * Fix inline code links contrast * Add selector to print - a11y tests * Fix line numbers contrast * Fix announcement link colours * Adjust background colours - light theme * Update search highlight colours * ♿ Change hover colour to improve contrast * Update docs to align with system * 🙈 Update gitignore file * Apply suggestions from code review Co-authored-by: Daniel McCloy <dan@mccloy.info> * 🐛 Use correct variable names * Fix title colour in custom admonitions --------- Co-authored-by: Tania Allard <tallard@quansight.com> Co-authored-by: Daniel McCloy <dan@mccloy.info>
- Loading branch information
1 parent
b36c6d8
commit 40a3032
Showing
48 changed files
with
803 additions
and
344 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<div class="sidebar-message"> | ||
This is a community-supported theme. | ||
If you'd like to contribute, | ||
<a href="https://github.com/pydata/pydata-sphinx-theme">check out our GitHub repository</a> | ||
<a href="https://github.com/pydata/pydata-sphinx-theme">check out our GitHub repository.</a> | ||
Your contributions are welcome! | ||
</div> |
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
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
Oops, something went wrong.