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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@next-shared/icons

v0.6.1

Published

https://bricks.js.org/icons/

Downloads

378

Readme

图标库

https://bricks.js.org/icons/

图标库由 V2 框架仓库迁移至此,在此之前的变更记录请查看 d280e19

新增图标

注意:现在我们已支持在微应用菜单中使用项目自行上传的 SVG 图标,对于一些不适合放到统一的图标库里的图标,比如应用菜单专用的图标或定制化项目图标,应直接在项目里上传。

只需将文件拖入 src/icons 目录,并重新执行开发构建 @next-bricks/icons 即可。请注意命名规范(lower-kebab-case)和表达准确。

直接放置在 src/icons 下的图标为默认分类 default,放置在其中子目录的图标,以子目录作为分类。

注意区分三种类型的图标:

  • 默认都是「字体图标」,和字体一样,本身不提供颜色,而是跟随页面文本颜色的设定(原始 SVG 文件仅使用一种颜色);
  • 需要固定原始颜色(通常会使用多种颜色)的图标,需要放置在特定的分类下(以 colored- 开头),这些图标保留图标原始颜色,不能由消费端指定其他颜色;
  • 可以让一个图标中的一部分内容带有透明度设置,变相实现类似「双色」的能力(一深一浅)。