尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
A free, open-source visual theme editor for PrimeVue 4: pick a color, see every component and state, export a preset.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A free, open-source visual theme editor for PrimeVue 4. presetstudio.vercel.app
Give it one color. See every component in every state, light and dark, and export a definePreset file with only what you changed.
PrimeVue 5 moved to a proprietary license, and the official Theme Designer now only comes bundled with the paid Commercial Suite. Plenty of apps still run on PrimeVue 4, which is MIT-licensed, and their developers deserve a simple, free way to build presets.
Preset Studio is built only on the last MIT-licensed releases (primevue 4.5.5, @primeuix/themes 2.0.3, primeicons 7.0.0). These are pinned exactly and verified by a license-check script. It shares no code, UI or assets with PrimeTek's commercial products.
definePreset file with only what you changed, plus the setup for Nuxt or Vue.The docs have the details. In short, with Vue:
import PrimeVue from 'primevue/config'
import MyThemePreset from './themes/my-theme'
app.use(PrimeVue, {
theme: { preset: MyThemePreset, options: { darkModeSelector: 'system' } },
})
With Nuxt and @primevue/nuxt-module, importTheme must point at a file that exports { preset, options }, not the bare preset; on Nuxt 4 it lives under app/.
@primeuix/themes 2.0.3tailwindcss-primeui@nuxt/eslint) and VitestRequires Node 24 (nvm use) and pnpm.
pnpm install # install dependencies
pnpm dev # dev server at http://localhost:3000
pnpm lint # ESLint
pnpm test # unit tests (Vitest)
pnpm typecheck # vue-tsc type check
pnpm build # production build
pnpm license:check # fail if any PrimeTek package isn't MIT / on a proprietary major
app/
pages/ / (landing), /docs, /editor, /preview (only inside the editor's iframe)
components/ site shell, landing, editor panels and studios, preview pages and stages
stores/ workspace (saved themes, undo), preset (the theme as a preset), editor (UI)
composables/ preview linking, spotlight, contrast fixes, …
utils/theme/ framework-free logic: palettes, resolver, design mapping, export, sharing (+ tests)
public/ favicon, the self-hosted Inter font, landing images
scripts/
check-licenses.mjs
CLAUDE.md describes the architecture in detail.
Never upgrade primevue, @primevue/*, @primeuix/* or primeicons past their pinned versions. Newer majors are proprietary. Dependabot ignores major updates for these packages, and pnpm license:check fails if one slips in. New dependencies must be MIT, ISC, BSD or Apache-2.0; the one exception is the Inter font (SIL OFL 1.1).
Bug reports, ideas and pull requests are welcome: see CONTRIBUTING.md. Report security problems privately (SECURITY.md). Changes are listed in CHANGELOG.md.
MIT © 2026 Moidul Hasan Khan. Third-party notices, including the Inter font, are in THIRD_PARTY_LICENSES.md.
PrimeVue is a trademark of PrimeTek Informatics. Preset Studio is an independent open-source project and is not affiliated with or endorsed by PrimeTek.