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

theme-variable-manager-tool

v0.0.6

Published

`theme-variable-manager-tool` 是一个用于管理多主题变量的工具,帮助开发者动态修改和维护主题的 `.less` 文件。 # npm地址 https://www.npmjs.com/package/theme-variable-manager-tool

Downloads

400

Readme

Theme Variable Manager Tool

theme-variable-manager-tool 是一个用于管理多主题变量的工具,帮助开发者动态修改和维护主题的 .less 文件。

npm地址

https://www.npmjs.com/package/theme-variable-manager-tool

功能

  • 动态修改主题变量
  • 通过配置文件管理主题
  • 自动生成配置文件

安装

  1. 通过 npm 安装该工具: npm install theme-variable-manager-tool

使用指南

  1. 生成配置文件 安装工具后,你可以使用以下命令生成默认的 themeConfig.json 配置文件: npx theme-variable-manager-tool generate-config 该命令将在项目根目录生成一个默认的 themeConfig.json 文件,示例如下: { "themes": { "theme1": "./themes/theme1.less", "theme2": "./themes/theme2.less", "theme3": "./themes/theme3.less" } }

  2. 启动工具 使用生成的配置文件启动工具,编辑或管理主题变量: npx theme-variable-manager-tool start-tool 该命令将启动一个本地服务,你可以通过浏览器访问并编辑主题变量。

  3. 自定义配置文件路径 你可以通过命令行参数指定自定义的配置文件路径: npx theme-variable-manager-tool start-tool ./path/to/your/themeConfig.json 项目结构 |-- themes/ // 主题文件存放路径 |-- theme1.less // 主题1文件 |-- theme2.less // 主题2文件 |-- theme3.less // 主题3文件 |-- themeConfig.json // 主题配置文件

开发者指南

如何贡献 Fork 本仓库 创建你的特性分支 (git checkout -b feature-branch) 提交你的更改 (git commit -am 'Add new feature') 推送到分支 (git push origin feature-branch) 创建一个新的 Pull Request 常见问题 如何指定配置文件? 你可以在启动工具时通过 --config 参数指定配置文件路径:

npx theme-variable-manager-tool start-tool ./your/config/path/themeConfig.json 工具启动失败? 确保你的配置文件格式正确,并且主题文件存在于配置指定的路径中。

许可证 本项目基于 MIT 协议开源。