🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@tendaui/theme-generator

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tendaui/theme-generator

TendaUI 主题配置生成器

latest
npmnpm
Version
1.3.5
Version published
Weekly downloads
23
-20.69%
Maintainers
1
Weekly downloads
 
Created
Source

@tendaui/theme-generator

TendaUI 主题配置生成器 - React 版本

功能特性

  • 🎨 可视化主题定制
  • 🌈 自动生成颜色系(color-1 到 color-10)
  • 💾 本地存储配置
  • 📥 导出 CSS 文件
  • 🔄 实时预览
  • 🌓 支持深色/浅色主题

安装

pnpm add @tendaui/theme-generator

使用

import { ThemeGenerator } from "@tendaui/theme-generator";

function App() {
  return (
    <div>
      {/* 你的应用内容 */}
      <ThemeGenerator device="web" />
    </div>
  );
}

API

ThemeGenerator

属性类型默认值说明
device'web' | 'mobile''web'设备类型
showSettingbooleanfalse是否显示设置按钮

开发

# 开发模式
pnpm dev

# 构建
pnpm build

# 类型检查
pnpm type-check

依赖

  • react >= 16.13.1
  • react-dom >= 16.13.1
  • tvision-color - 颜色处理库
  • cssbeautify - CSS 格式化

FAQs

Package last updated on 22 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts