npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@confucian-ui/vuetify

v0.2.5

Published

Vuetify v4 admin template — with the gravitas of Confucian aesthetics.

Downloads

2,063

Readme

@confucian-ui/vuetify

Confucian 主題的 Vuetify 4 版本。以儒家氣質為靈感的 admin template 套件:淺色模式如攤開的宣紙、深色模式如深夜的書齋。

安裝

pnpm add @confucian-ui/vuetify vuetify vue @phosphor-icons/vue vue-router

同時需要 peer dependencies:vue ^3.5vuetify ^4.0vue-router ^4.4@phosphor-icons/vue ^2.2

快速開始

// main.ts
import { createApp } from "vue";
import { createConfucian } from "@confucian-ui/vuetify";

// 順序重要:vuetify/styles 要在 @confucian-ui/vuetify/styles 之前
import "vuetify/styles";
import "@confucian-ui/vuetify/styles";

import App from "./App.vue";

const app = createApp(App);
const confucian = createConfucian();  // 預設 defaultTheme: "auto"
app.use(confucian);
app.mount("#app");

主題切換

// 預設跟隨系統偏好,第一次啟動後寫入 localStorage
createConfucian({ defaultTheme: "auto" }); // "auto" | "light" | "dark"

使用者手動切換:

import { useConfucianTheme } from "@confucian-ui/vuetify";

const { mode, toggle } = useConfucianTheme();
// mode.value → "light" | "dark"
// toggle() → 切換兩態

元件

import {
	ConfucianLayout,        // 完整 layout(sidebar + appbar + main + footer)
	ConfucianBlankLayout,   // 無 sidebar,用於 auth / error 頁(帶墨竹背景)
	ConfucianSidebar,
	ConfucianAppBar,
	ConfucianFooter,
	ConfucianBackToTop,
	ConfucianLogo,
	ConfucianThemeToggle,
	ConfucianUserMenu,
	ConfucianPageHeader,
	ConfucianBambooDivider,
} from "@confucian-ui/vuetify";

樣式客製化

SCSS 變數以 !default 宣告,可在 @use 前覆寫:

// 先覆寫變數,再 @use
$bamboo-primary: #c8833f;
@use "@confucian-ui/vuetify/styles/variables" as confucian;

色票單一來源為 tokens.ts,透過 Vuetify ThemeDefinition 產出 --v-theme-* CSS variables,SCSS 以 rgb(var(--v-theme-xxx)) 讀取。

圖示系統

預設採 Phosphor Icons duotone 變體,純線偏冷、純填偏重,雙層次取其中庸。 指定其他 weight 可加後綴:ph-house-regularph-house-boldph-house-fill 等。

Vuetify 所有內建 alias($success$menu$checkboxOn$sortAsc 等)皆已對映。

授權

PolyForm Noncommercial 1.0.0

  • 個人、研究、教育、非營利等非商業目的免費使用
  • 商業使用請來信 [email protected] 洽談授權

詳見 repo 根目錄的 LICENSE