JSPM

xterm-theme

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 696
  • Score
    100M100P100Q94712F
  • License ISC

Package Exports

  • xterm-theme

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 (xterm-theme) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

xterm-theme

专门为 xterm.js 做的 iterm2 主题颜色

使用

import { Terminal } from 'xterm';
import { AdventureTime } from 'xterm-theme';

import xtermTheme from 'xterm-theme';

const terminal = new Terminal({
    theme: AdventureTime // xtermTheme.AdventureTime
});