chore(docs): transparent logo and symbolic link (#141)
@ -1,6 +1,6 @@
|
|||||||
<picture>
|
<picture>
|
||||||
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/jeertmans/manim-slides/main/static/logo_dark_github.png">
|
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/jeertmans/manim-slides/main/static/logo_dark_transparent.png">
|
||||||
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/jeertmans/manim-slides/main/static/logo.png">
|
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/jeertmans/manim-slides/main/static/logo_light_transparent.png">
|
||||||
<img alt="Manim Slides Logo" src="https://raw.githubusercontent.com/jeertmans/manim-slides/main/static/logo.png">
|
<img alt="Manim Slides Logo" src="https://raw.githubusercontent.com/jeertmans/manim-slides/main/static/logo.png">
|
||||||
</picture>
|
</picture>
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 24 B |
1
docs/source/_static/logo.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../static/logo.png
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 24 B |
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 34 B |
1
docs/source/_static/logo_dark_docs.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../static/logo_dark_docs.png
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 34 B |
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 36 B |
1
docs/source/_static/logo_dark_github.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../static/logo_dark_github.png
|
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 36 B |
1
docs/source/_static/logo_dark_transparent.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../static/logo_dark_transparent.png
|
1
docs/source/_static/logo_light_transparent.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../static/logo_light_transparent.png
|
@ -35,6 +35,8 @@ html_theme = "furo"
|
|||||||
html_static_path = ["_static"]
|
html_static_path = ["_static"]
|
||||||
|
|
||||||
html_theme_options = {
|
html_theme_options = {
|
||||||
|
"light_logo": "logo_light_transparent.png",
|
||||||
|
"dark_logo": "logo_dark_transparent.png",
|
||||||
"footer_icons": [
|
"footer_icons": [
|
||||||
{
|
{
|
||||||
"name": "GitHub",
|
"name": "GitHub",
|
||||||
|
@ -4,7 +4,7 @@ og:description: Manim Slides makes creating slides with Manim super easy!
|
|||||||
---
|
---
|
||||||
|
|
||||||
```{eval-rst}
|
```{eval-rst}
|
||||||
.. image:: _static/logo.png
|
.. image:: _static/logo_light_transparent.png
|
||||||
:width: 600px
|
:width: 600px
|
||||||
:align: center
|
:align: center
|
||||||
:class: only-light
|
:class: only-light
|
||||||
@ -12,7 +12,7 @@ og:description: Manim Slides makes creating slides with Manim super easy!
|
|||||||
```
|
```
|
||||||
|
|
||||||
```{eval-rst}
|
```{eval-rst}
|
||||||
.. image:: _static/logo_dark_docs.png
|
.. image:: _static/logo_dark_transparent.png
|
||||||
:width: 600px
|
:width: 600px
|
||||||
:align: center
|
:align: center
|
||||||
:class: only-dark
|
:class: only-dark
|
||||||
|
BIN
static/logo_dark_transparent.png
Normal file
After Width: | Height: | Size: 124 KiB |
BIN
static/logo_light_transparent.png
Normal file
After Width: | Height: | Size: 116 KiB |
@ -2,12 +2,20 @@
|
|||||||
|
|
||||||
MANIM_SLIDES_THEME=light poetry run manim render -qk -s --format png --resolution 2560,1280 static/logo.py && mv media/images/logo/*.png static/logo.png
|
MANIM_SLIDES_THEME=light poetry run manim render -qk -s --format png --resolution 2560,1280 static/logo.py && mv media/images/logo/*.png static/logo.png
|
||||||
|
|
||||||
cp static/logo.png docs/source/_static/logo.png
|
ln -f -r -s static/logo.png docs/source/_static/logo.png
|
||||||
|
|
||||||
MANIM_SLIDES_THEME=dark_docs poetry run manim render -qk -s --format png --resolution 2560,1280 static/logo.py && mv media/images/logo/*.png static/logo_dark_docs.png
|
MANIM_SLIDES_THEME=dark_docs poetry run manim render -qk -s --format png --resolution 2560,1280 static/logo.py && mv media/images/logo/*.png static/logo_dark_docs.png
|
||||||
|
|
||||||
cp static/logo_dark_docs.png docs/source/_static/logo_dark_docs.png
|
ln -f -r -s static/logo_dark_docs.png docs/source/_static/logo_dark_docs.png
|
||||||
|
|
||||||
MANIM_SLIDES_THEME=dark_github poetry run manim render -qk -s --format png --resolution 2560,1280 static/logo.py && mv media/images/logo/*.png static/logo_dark_github.png
|
MANIM_SLIDES_THEME=dark_github poetry run manim render -qk -s --format png --resolution 2560,1280 static/logo.py && mv media/images/logo/*.png static/logo_dark_github.png
|
||||||
|
|
||||||
cp static/logo_dark_github.png docs/source/_static/logo_dark_github.png
|
ln -f -r -s static/logo_dark_github.png docs/source/_static/logo_dark_github.png
|
||||||
|
|
||||||
|
MANIM_SLIDES_THEME=light poetry run manim render -t -qk -s --format png --resolution 2560,1280 static/logo.py && mv media/images/logo/*.png static/logo_light_transparent.png
|
||||||
|
|
||||||
|
ln -f -r -s static/logo_light_transparent.png docs/source/_static/logo_light_transparent.png
|
||||||
|
|
||||||
|
MANIM_SLIDES_THEME=dark_docs poetry run manim render -t -qk -s --format png --resolution 2560,1280 static/logo.py && mv media/images/logo/*.png static/logo_dark_transparent.png
|
||||||
|
|
||||||
|
ln -f -r -s static/logo_dark_transparent.png docs/source/_static/logo_dark_transparent.png
|
||||||
|