JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 34
  • Score
    100M100P100Q74750F
  • License MIT

A flexible light/dark theme switching library supporting custom theme configuration, dynamic switching, and responsive design

Package Exports

  • @rfkit/theme
  • @rfkit/theme/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rfkit/theme) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

独立的主题生成库

使用

import initTheme from '@dc/auto-theme';

initTheme();

查看配置

import { themeConfig } from '@dc/auto-theme';
console.log(themeConfig);