From 4a09ce44bfe51a7db2a7892f7c232a414701dafb Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Thu, 5 Mar 2026 16:14:31 -0800 Subject: [PATCH 1/4] Add sponsors for skimage2 --- _static/bids_logo.svg | 69 +++++++++++++++++++++++++++++++++++ _static/bids_logo_dark.svg | 69 +++++++++++++++++++++++++++++++++++ _static/custom.css | 38 +++++++++++++++++++ _static/czi_logo.svg | 38 +++++++++++++++++++ _static/czi_logo_dark.svg | 12 ++++++ _static/nominal_logo.svg | 10 +++++ _static/nominal_logo_dark.svg | 10 +++++ index.rst | 40 ++++++++++++++++++++ 8 files changed, 286 insertions(+) create mode 100644 _static/bids_logo.svg create mode 100644 _static/bids_logo_dark.svg create mode 100644 _static/czi_logo.svg create mode 100644 _static/czi_logo_dark.svg create mode 100644 _static/nominal_logo.svg create mode 100644 _static/nominal_logo_dark.svg diff --git a/_static/bids_logo.svg b/_static/bids_logo.svg new file mode 100644 index 0000000..43e2fb9 --- /dev/null +++ b/_static/bids_logo.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_static/bids_logo_dark.svg b/_static/bids_logo_dark.svg new file mode 100644 index 0000000..13c26c9 --- /dev/null +++ b/_static/bids_logo_dark.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_static/custom.css b/_static/custom.css index cf14e3d..7683764 100644 --- a/_static/custom.css +++ b/_static/custom.css @@ -73,3 +73,41 @@ background-color: var(--bg-secondary, #2d2d2d); } } + +/* Sponsor box styles */ +.only-dark { display: none !important; } + +@media (prefers-color-scheme: dark) { + .only-light { display: none !important; } + .only-dark { display: inline !important; } +} + +:root { + --sponsor-text: #0d652d; + --sponsor-bg: #e6f4ea; + --sponsor-border: #a8dab5; + --sponsor-accent: #1e8e3e; +} + +@media (prefers-color-scheme: dark) { + :root { + --sponsor-text: #81c995; + --sponsor-bg: #0d3a1f; + --sponsor-border: #14592d; + --sponsor-accent: #34a853; + } +} + +.sponsor-box { + color: var(--sponsor-text); + background-color: var(--sponsor-bg); + border-color: var(--sponsor-border); + border-left: 4px solid var(--sponsor-accent); + padding: var(--space-lg); + margin: var(--space-lg) 0; +} + +.sponsor-box img { + margin: var(--space-sm) var(--space-xl) var(--space-sm) 0; + vertical-align: middle; +} diff --git a/_static/czi_logo.svg b/_static/czi_logo.svg new file mode 100644 index 0000000..4615d4d --- /dev/null +++ b/_static/czi_logo.svg @@ -0,0 +1,38 @@ + + + + Group + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/_static/czi_logo_dark.svg b/_static/czi_logo_dark.svg new file mode 100644 index 0000000..978324e --- /dev/null +++ b/_static/czi_logo_dark.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/_static/nominal_logo.svg b/_static/nominal_logo.svg new file mode 100644 index 0000000..f7a5a9b --- /dev/null +++ b/_static/nominal_logo.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/_static/nominal_logo_dark.svg b/_static/nominal_logo_dark.svg new file mode 100644 index 0000000..37a9789 --- /dev/null +++ b/_static/nominal_logo_dark.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/index.rst b/index.rst index eaab707..89179b3 100644 --- a/index.rst +++ b/index.rst @@ -22,6 +22,46 @@ peer-reviewed code, written by an active `community of volunteers `__. +.. container:: well hero row-fluid summary-box sponsor-box + + The scikit-image team is hard at work at bringing you **scikit-image v2**, a major overhaul with a cleaner and more intuitive API. We would like to thank our project sponsors: + + |czi_logo| |czi_logo_dark| |nominal_logo| |nominal_logo_dark| |bids_logo| |bids_logo_dark| + + `Reach out `__ out if you would + like to join them in supporting the next generation of open source + image processing in Python. + +.. |czi_logo| image:: _static/czi_logo.svg + :class: only-light + :target: https://chanzuckerberg.com/eoss/ + :height: 40px + +.. |czi_logo_dark| image:: _static/czi_logo_dark.svg + :class: only-dark + :target: https://chanzuckerberg.com/eoss/ + :height: 40px + +.. |nominal_logo| image:: _static/nominal_logo.svg + :class: only-light + :target: https://nominal.io/ + :height: 24px + +.. |nominal_logo_dark| image:: _static/nominal_logo_dark.svg + :class: only-dark + :target: https://nominal.io/ + :height: 24px + +.. |bids_logo| image:: _static/bids_logo.svg + :class: only-light + :target: https://bids.berkeley.edu/ + :height: 56px + +.. |bids_logo_dark| image:: _static/bids_logo_dark.svg + :class: only-dark + :target: https://bids.berkeley.edu/ + :height: 56px + .. container:: well hero row-fluid summary-box citation .. raw:: html From 2672c2c1b904e574f90f409d123d9d63ab3808b2 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Thu, 5 Mar 2026 16:24:50 -0800 Subject: [PATCH 2/4] Make box spacing consistent --- _static/custom.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_static/custom.css b/_static/custom.css index 7683764..83aa4ac 100644 --- a/_static/custom.css +++ b/_static/custom.css @@ -98,13 +98,16 @@ } } +.hero.summary-box { + margin-bottom: var(--space-lg); +} + .sponsor-box { color: var(--sponsor-text); background-color: var(--sponsor-bg); border-color: var(--sponsor-border); border-left: 4px solid var(--sponsor-accent); padding: var(--space-lg); - margin: var(--space-lg) 0; } .sponsor-box img { From 8a203a3d361d367c77ced78f837c0cf4df196fa4 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Thu, 5 Mar 2026 16:31:12 -0800 Subject: [PATCH 3/4] Further minor fixes --- _static/custom.css | 2 +- index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_static/custom.css b/_static/custom.css index 83aa4ac..beba928 100644 --- a/_static/custom.css +++ b/_static/custom.css @@ -79,7 +79,7 @@ @media (prefers-color-scheme: dark) { .only-light { display: none !important; } - .only-dark { display: inline !important; } + .only-dark { display: inline-block !important; } } :root { diff --git a/index.rst b/index.rst index 89179b3..32959c7 100644 --- a/index.rst +++ b/index.rst @@ -28,7 +28,7 @@ |czi_logo| |czi_logo_dark| |nominal_logo| |nominal_logo_dark| |bids_logo| |bids_logo_dark| - `Reach out `__ out if you would + `Reach out `__ if you would like to join them in supporting the next generation of open source image processing in Python. From 8cfdbed5e9698189a9924f0e8bddb791b0b8ad42 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Tue, 10 Mar 2026 16:10:11 -0700 Subject: [PATCH 4/4] Thank grassroots contributors --- index.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.rst b/index.rst index 32959c7..915dd0e 100644 --- a/index.rst +++ b/index.rst @@ -24,13 +24,13 @@ .. container:: well hero row-fluid summary-box sponsor-box - The scikit-image team is hard at work at bringing you **scikit-image v2**, a major overhaul with a cleaner and more intuitive API. We would like to thank our project sponsors: + The scikit-image team is hard at work at bringing you **scikit-image v2**, a major overhaul with a cleaner and more intuitive API. We would like to thank our project sponsors, |czi_logo| |czi_logo_dark| |nominal_logo| |nominal_logo_dark| |bids_logo| |bids_logo_dark| - `Reach out `__ if you would - like to join them in supporting the next generation of open source - image processing in Python. + as well as our `grassroots contributors `__. + + `Reach out `__ if you would like to join them in supporting the next generation of open source image processing in Python. .. |czi_logo| image:: _static/czi_logo.svg :class: only-light