Skip to content

Commit ee1c02c

Browse files
Refreshed logos - cleanup (#917)
* Remove blue logos, rename dark and light logos, use website color scheme dependent logo theme * Rename logos to have all underscores pe Philip's suggestion * Comment in the _static and logo lines in conf.py * Set width to 450 --------- Co-authored-by: Philip Chmielowiec <[email protected]>
1 parent 6d87a71 commit ee1c02c

File tree

9 files changed

+16
-588
lines changed

9 files changed

+16
-588
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
2-
<img src="https://github.com/UXARRAY/uxarray/blob/c8fb393066acd864ef5dceb1956379775a4f21dd/docs/_static/images/logos/h_blue.svg" data-canonical-src="https://github.com/UXARRAY/uxarray/blob/c8fb393066acd864ef5dceb1956379775a4f21dd/docs/_static/images/logos/h_blue.svg" width="450"/><br>
1+
<picture>
2+
<source media="(prefers-color-scheme: dark)" srcset="/docs/_static/images/logos/uxarray_logo_h_light.svg">
3+
<source media="(prefers-color-scheme: light)" srcset="/docs/_static/images/logos/uxarray_logo_h_dark.svg">
4+
<img alt="Shows a black logo in light color mode and a white one in dark color mode." src="https://user-images.githubusercontent.com/25423296/163456779-a8556205-d0a5-45e2-ac17-42d089e3c3f8.png" width="450">
5+
</picture>
36

47
-----------------
58

6-
[comment]: <> (<img src='https://raw.githubusercontent.com/UXARRAY/uxarray/a2d893cf597dd1a6e775f9dad029c662c64a39c7/docs/_static/images/logos/uxarray_logo_quad_tri.svg' width='350'>)
7-
8-
99
# Xarray extension for unstructured climate and global weather data
1010
| | |
1111
| --- | --- |

docs/_static/images/logos/h_blue.svg

Lines changed: 0 additions & 348 deletions
This file was deleted.
-236 KB
Binary file not shown.

docs/_static/images/logos/v_blue.svg

Lines changed: 0 additions & 224 deletions
This file was deleted.

docs/conf.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -180,25 +180,25 @@ def __getattr__(cls, name):
180180

181181
# The name of an image file (relative to this directory) to place at the top
182182
# of the sidebar.
183-
html_logo = "_static/images/logos/h_dark.svg"
183+
html_logo = "_static/images/logos/uxarray_logo_h_dark.svg"
184184

185185
# The name of an image file (within the static path) to use as favicon of the
186186
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
187187
# pixels large.
188-
html_favicon = "_static/images/logos/h_dark.svg"
189-
190-
# # Assuming your `conf.py` has a sibling folder called `_static` with these files
191-
# html_theme_options = {
192-
# "logo": {
193-
# "image_light": "_static/images/logos/h_dark.svg",
194-
# "image_dark": "_static/images/logos/h_light.svg",
195-
# }
196-
# }
188+
html_favicon = "_static/images/logos/uxarray_logo_h_dark.svg"
189+
190+
# Assuming your `conf.py` has a sibling folder called `_static` with these files
191+
html_theme_options = {
192+
"logo": {
193+
"image_light": "_static/images/logos/uxarray_logo_h_dark.svg",
194+
"image_dark": "_static/images/logos/uxarray_logo_h_light.svg",
195+
}
196+
}
197197

198198
# Add any paths that contain custom static files (such as style sheets) here,
199199
# relative to this directory. They are copied after the builtin static files,
200200
# so a file named "default.css" will overwrite the builtin "default.css".
201-
# html_static_path = ["_static"]
201+
html_static_path = ["_static"]
202202
# html_css_files = ["style.css"]
203203

204204
# Output file base name for HTML help builder.

0 commit comments

Comments
 (0)