mirror of
https://github.com/yannbertrand/macos-defaults
synced 2024-11-14 15:47:16 +00:00
💄 Add light/dark screenshot on the screenshot section
This commit is contained in:
parent
747365f2b9
commit
2d61eb9211
3 changed files with 14 additions and 0 deletions
BIN
docs/screenshots/images/screenshot-dark.png
Normal file
BIN
docs/screenshots/images/screenshot-dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
docs/screenshots/images/screenshot-light.png
Normal file
BIN
docs/screenshots/images/screenshot-light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
|
@ -11,11 +11,25 @@ head:
|
|||
---
|
||||
|
||||
<script setup>
|
||||
import { useData } from 'vitepress'
|
||||
import FolderTableOfContents from '../../components/FolderTableOfContents.vue'
|
||||
|
||||
const { isDark } = useData();
|
||||
</script>
|
||||
|
||||
# Screenshots
|
||||
|
||||
<img
|
||||
v-if="isDark"
|
||||
src="./images/screenshot-dark.png" alt="A screenshot of the Screenshot app"
|
||||
width="540" height="89" style="height: auto"
|
||||
/>
|
||||
<img
|
||||
v-else
|
||||
src="./images/screenshot-light.png" alt="A screenshot of the Screenshot app"
|
||||
width="540" height="89" style="height: auto"
|
||||
/>
|
||||
|
||||
On a Mac, you can take screenshots using:
|
||||
|
||||
- `⌘ cmd`+`⇧ shift`+`3` for fullscreen.
|
||||
|
|
Loading…
Reference in a new issue