Skip to content

Commit 1e27813

Browse files
docs: update branding images (#9452)
1 parent 8b81563 commit 1e27813

File tree

10 files changed

+9
-63
lines changed

10 files changed

+9
-63
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<picture>
66
<source media="(prefers-color-scheme: dark)" srcset="https://vitest.dev/vitest-light.svg">
77
<source media="(prefers-color-scheme: light)" srcset="https://vitest.dev/vitest-dark.svg">
8-
<img alt="rolldown logo" src="https://vitest.dev/vitest-dark.svg" height="60">
8+
<img alt="Vitest logo" src="https://vitest.dev/vitest-dark.svg" height="60">
99
</picture>
1010
</a>
1111
<br>

docs/.vitepress/scripts/transformHead.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ export async function transformHead({ pageData }: TransformContext): Promise<Hea
1313
})
1414

1515
head.push(['link', { rel: 'prefetch', href: '/logo.svg', as: 'image' }])
16-
if (home) {
17-
head.push(['link', { rel: 'prefetch', href: '/logo-shadow.svg', as: 'image' }])
18-
head.push(['link', { rel: 'prefetch', href: '/sponsors/antfu.svg', as: 'image' }])
19-
head.push(['link', { rel: 'prefetch', href: '/sponsors/sheremet-va.svg', as: 'image' }])
20-
head.push(['link', { rel: 'prefetch', href: '/sponsors/patak-dev.svg', as: 'image' }])
21-
head.push(['link', { rel: 'prefetch', href: '/netlify.svg', as: 'image' }])
22-
}
2316

2417
return head
2518
}

docs/guide/ide.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22
title: IDE Integrations | Guide
33
---
44

5+
<script setup>
6+
import { useData } from 'vitepress'
7+
const { isDark } = useData()
8+
</script>
9+
510
# IDE Integrations
611

712
## VS Code <Badge>Official</Badge> {#vs-code}
813

914
<p text-center>
10-
<img src="https://raw.githubusercontent.com/vitest-dev/vscode/main/img/cover.png" w-60>
15+
<img :src="`https://raw.githubusercontent.com/vitest-dev/vscode/main/img/cover-${isDark ? 'light' : 'dark' }.png`" w-60>
1116
</p>
1217

1318
[GitHub](https://github.com/vitest-dev/vscode) | [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=vitest.explorer)
@@ -19,7 +24,7 @@ title: IDE Integrations | Guide
1924
WebStorm, PhpStorm, IntelliJ IDEA Ultimate, and other JetBrains IDEs come with built-in support for Vitest.
2025

2126
<p text-center>
22-
<img src="https://raw.githubusercontent.com/kricact/WS-info/main/banners/vitest-jb.png" w-60>
27+
<img :src="`/ide/vitest-jb-${isDark ? 'light' : 'dark'}.png`" w-60>
2328
</p>
2429

2530
[WebStorm Help](https://www.jetbrains.com/help/webstorm/vitest.html) | [IntelliJ IDEA Ultimate Help](https://www.jetbrains.com/help/idea/vitest.html) | [PhpStorm Help](https://www.jetbrains.com/help/phpstorm/vitest.html)
@@ -33,7 +38,7 @@ Created by [The Wallaby Team](https://wallabyjs.com)
3338
[Wallaby.js](https://wallabyjs.com) runs your Vitest tests immediately as you type, highlighting results in your IDE right next to your code.
3439

3540
<p text-left>
36-
<img src="https://wallabyjs.com/assets/img/vitest_cover.png" w-142 />
41+
<img :src="`/ide/vitest-wallaby-${isDark ? 'light' : 'dark'}.png`" alt="Vitest + Wallaby logos" w-142>
3742
</p>
3843

3944
[VS Code](https://marketplace.visualstudio.com/items?itemName=WallabyJs.wallaby-vscode) | [JetBrains](https://plugins.jetbrains.com/plugin/15742-wallaby) |

docs/public/ide/vitest-jb-dark.png

54.8 KB
Loading
57.4 KB
Loading
182 KB
Loading
185 KB
Loading

docs/public/logo-shadow.svg

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

docs/public/vite.svg

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

docs/public/voidzero.svg

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

0 commit comments

Comments
 (0)