Skip to content

Commit cbe3d94

Browse files
committed
docs(chore): use dark and white images by default in the docs
1 parent 1457963 commit cbe3d94

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

docs/getting-started/tutorial.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,8 @@ async def home(request: Request, templates: Jinja2Templates):
381381

382382
Now you have both an API (`/tasks`) and a web UI (`/`)!
383383

384-
![myfy Frontend Welcome Page](../images/myfy-frontend-welcome.png)
384+
![myfy Frontend Welcome Page Light](../images/myfy-frontend-light.png#only-light)
385+
![myfy Frontend Welcome Page Dark](../images/myfy-frontend-dark.png#only-dark)
385386
*The styled welcome page generated by `myfy frontend init`*
386387

387388
**Learn more:** [Frontend Module Documentation](../modules/frontend.md)

docs/images/myfy-frontend-dark.png

101 KB
Loading
99.1 KB
Loading
-98.3 KB
Binary file not shown.

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ uv run myfy run
5858

5959
Visit `http://127.0.0.1:8000` - styled UI with DaisyUI, instant HMR, ready to ship.
6060

61-
![myfy Frontend](images/myfy-frontend-welcome.png)
61+
![myfy Frontend Light](images/myfy-frontend-light.png#only-light)
62+
![myfy Frontend Dark](images/myfy-frontend-dark.png#only-dark)
6263

6364
---
6465

docs/modules/frontend.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ uv run myfy run
100100

101101
Visit `http://127.0.0.1:8000` to see your styled home page!
102102

103-
![myfy Frontend Welcome Page](../images/myfy-frontend-welcome.png)
103+
![myfy Frontend Welcome Page Light](../images/myfy-frontend-light.png#only-light)
104+
![myfy Frontend Welcome Page Dark](../images/myfy-frontend-dark.png#only-dark)
104105
*The generated welcome page with Tailwind 4 and DaisyUI 5 styling*
105106

106107
### What You Get

0 commit comments

Comments
 (0)