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

@apdesign/ap-theme-assassin

v1.0.0

Published

Assassin framework theme: AP Design tokens + Assassin global styles and Arco overrides.

Readme

@apdesign/ap-theme-assassin

Assassin 框架一体主题包:包含 AP Design design token(theme.less / variables.less / component.less)与 Assassin 全局视觉、Arco 组件覆盖。

import '@apdesign/ap-theme-assassin/css/index.css';

按需配合 ConfigProvider 使用组件级全局默认属性(当前未配置,见 config.js):

import { ConfigProvider } from '@apdesign/web-react';
import { componentConfig } from '@apdesign/ap-theme-assassin/config';

<ConfigProvider componentConfig={componentConfig}>...</ConfigProvider>

构建

在仓库根目录执行:

yarn build:theme:all

产物写入 css/index.css发包前必须先构建package.jsonfiles 字段会带上 css/ 目录。

发包

发布到 npm

  1. ap-design 根目录构建主题 CSS:
yarn build:theme:all
  1. packages/ap-theme-assassin/package.json 中按 Semver 更新 version

  2. 进入主题包目录发布(需有 @apdesign scope 的 npm 发布权限):

cd packages/ap-theme-assassin
npm publish

发布后业务项目安装:

npm i @apdesign/ap-theme-assassin
# 或
yarn add @apdesign/ap-theme-assassin

发布内容说明

files 已限定发布范围,包含预编译 css/、Less 源码、config.js / config.d.ts 等;不包含 ap-design 根目录的构建脚本。运行时需安装 peer dependency @apdesign/web-react(版本需与构建主题时使用的组件库一致)。

目录

| 路径 | 说明 | |------|------| | theme.less / variables.less / component.less | design token 覆盖 | | tokens.less | 全量 token 字典(编辑器/参考) | | config.js / config.d.ts | 组件全局默认 props(ConfigProvider.componentConfig);当前为空对象,样式定制在 Less/CSS 中完成 | | assassin/global/ | reset + 全站视觉 | | assassin/overrides/arco/ | Assassin 对 .arco-* 的覆盖 | | css/index.css | 生产构建产物(压缩) |