Browse Source

📝 use picture tag with media queries to specify the Type logo for light/dark theme

pull/14985/head
Manuel Rubio 5 months ago
parent
commit
5c6ec54729
  1. 6
      docs/de/docs/index.md
  2. 7
      docs/en/docs/index.md
  3. 6
      docs/es/docs/index.md
  4. 6
      docs/fr/docs/index.md
  5. 6
      docs/ja/docs/index.md
  6. 6
      docs/ko/docs/index.md
  7. 6
      docs/pt/docs/index.md
  8. 6
      docs/ru/docs/index.md
  9. 6
      docs/tr/docs/index.md
  10. 6
      docs/uk/docs/index.md
  11. 6
      docs/zh-hant/docs/index.md
  12. 6
      docs/zh/docs/index.md

6
docs/de/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

7
docs/en/docs/index.md

@ -125,7 +125,12 @@ There's a <a href="https://www.youtube.com/watch?v=mpR8ngthqiE" class="external-
## **Typer**, the FastAPI of CLIs { #typer-the-fastapi-of-clis }
<a href="https://typer.tiangolo.com" target="_blank"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;"></a>
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
If you are building a <abbr title="Command Line Interface">CLI</abbr> app to be used in the terminal instead of a web API, check out <a href="https://typer.tiangolo.com/" class="external-link" target="_blank">**Typer**</a>.

6
docs/es/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

6
docs/fr/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

6
docs/ja/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

6
docs/ko/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

6
docs/pt/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

6
docs/ru/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

6
docs/tr/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

6
docs/uk/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

6
docs/zh-hant/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

6
docs/zh/docs/index.md

@ -1,3 +1,9 @@
<a href="https://typer.tiangolo.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://typer.tiangolo.com/img/logo-margin/logo-margin-white-vector.svg#only-dark">
<img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;">
</picture>
</a>
# FastAPI { #fastapi }
<style>

Loading…
Cancel
Save