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

glass-ui-theme

v0.2.0

Published

A translucent glassmorphism theme for Element Plus — sharp, near-monochrome, blur-driven.

Readme

Glass UI

一套 半透明玻璃风(glassmorphism)Element Plus 主题 —— 灵感来自现代游戏界面:亮青强调、近纯白文字、去饱和语义色、细线直角、背景模糊。

UI 本身近乎单色,组件半透明并透出背景模糊,色调随背景而变。激活 / 选中 / 进度 / 勾选统一使用亮青 #3DB4E5

特性

  • 🪟 真·玻璃质感:组件半透明 + backdrop-filter 模糊,透出页面背景
  • 🎯 亮青强调色:激活态、选中态、进度、勾选统一为 #3DB4E5
  • 🔲 硬朗直角:圆角收到接近 0,细线分隔,大留白
  • 🎨 去饱和语义色:成功 / 警告 / 危险 等状态色压暗,不抢眼
  • 🧩 全组件覆盖:基础 / 表单 / 数据展示 / 导航 / 反馈 / 其他 全部适配
  • 🌈 背景无关:弹层统一单层玻璃,深色 / 浅色 / 图片背景皆可

安装

npm install glass-ui-theme element-plus

用法

主题是一份 CSS,必须在 Element Plus 样式之后引入才能生效:

import { createApp } from 'vue'
import ElementPlus from 'element-plus'

import 'element-plus/dist/index.css'                  // 1) EP 基础样式
import 'element-plus/theme-chalk/dark/css-vars.css'   // 2) 暗色变量打底
import 'glass-ui-theme'                               // 3) Glass UI 玻璃主题(放最后)
// 压缩版:import 'glass-ui-theme/min'

import App from './App.vue'
createApp(App).use(ElementPlus).mount('#app')

⚠️ 玻璃主题需要「背后有内容」才出效果。请给页面提供一个背景(渐变 / 图片)。本主题不会body 写死背景,背景由你的页面决定。

自定义

整套由 CSS 变量驱动,覆盖 :root / html.dark 即可:

:root {
  --el-color-primary: #3DB4E5;     /* 强调色(激活/选中/进度) */
  --el-text-color-primary: #FEFFFF;/* 主文字 */
  --el-bg-color-overlay: rgba(26, 28, 32, .55); /* 弹层玻璃浓度 */
}

本地预览

仓库内含一个覆盖全部组件的演示页(含背景切换 / 上传):

npm install
npm run dev   # http://localhost:5188

字体

演示使用免费的 Barlow Semi Condensed + Noto Sans SC(Google Fonts),可自行替换。

致谢与声明

视觉风格受现代游戏界面启发,但不包含任何第三方游戏的素材、商标或品牌,仅为独立的设计借鉴。

License

MIT © 2026 harvey