
Security News
Open VSX Begins Implementing Pre-Publish Security Checks After Repeated Supply Chain Incidents
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.
@voidzero-dev/vitepress-theme
Advanced tools
Shared VitePress theme for VoidZero projects, including Vite+, Vite, Vitest, Rolldown, and Oxc.
Make to sure to in latest commit
package.json and commit it (don't push yet)git tag vx.y.z (matching version in package.json)git push origingit push origin vx.y.zFor local development, linking is required between this theme directory and the downstream VoidZero project directories.
# In theme
pnpm install
# Make @voidzero-dev/vitepress-theme available for global linking
pnpm link --global
# In project docs
pnpm install
# Link to theme
pnpm link @voidzero-dev/vitepress-theme
# In project docs
pnpm dev
The downstream project will automatically reflect theme changes via HMR.
In your .vitepress/config.ts:
import { defineConfig } from "vitepress";
import { extendConfig } from "@voidzero-dev/vitepress-theme/config";
const config = defineConfig({
themeConfig: {
variant: "viteplus", // or 'vite', 'vitest', etc.
nav: [
{ text: "Home", link: "/" },
// ... your navigation
],
},
});
// inject theme specific config
export default extendConfig(config);
Note the theme config injects the Tailwind plugin so the downstream project doesn't have to. If the downstream project
In your .vitepress/theme/index.ts:
import type { Theme } from 'vitepress'
// note: import the specific variant directly!
import BaseTheme from '@voidzero-dev/vitepress-theme/src/vite'
import './styles.css'
export default {
extends: BaseTheme,
Layout
} satisfies Theme
In the CSS, import the CSS from theme (which imports tailwind):
/* styles.css */
@import "@voidzero-dev/vitepress-theme/src/styles/index.css";
@source "./**/*.vue";
/* Project specific branding colors */
:root[data-variant="vite"] {
--color-brand: #6b1eb9;
}
:root.dark:not([data-theme])[data-variant="vite"],
:root[data-theme="dark"][data-variant="vite"] {
--color-brand: var(--color-vite);
}
:root[data-theme="light"][data-variant="vite"] {
--color-brand: #6b1eb9;
}
FAQs
Shared VitePress theme for VoidZero projects
The npm package @voidzero-dev/vitepress-theme receives a total of 3,152 weekly downloads. As such, @voidzero-dev/vitepress-theme popularity was classified as popular.
We found that @voidzero-dev/vitepress-theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.