1.1.0 • Published 3 years ago
xterm-style v1.1.0
xterm-style
安装依赖
# 通过npm安装
npm install -S xterm-style
# 或者通过yarn安装
yarn add xterm-style
使用
配置说明
xterm-style 目前包含了下面这几套配置
common
: 常规风格
引入方法
import { Terminal } from 'xterm'
import { common as xtermTheme } from 'xterm-style'
const term = new Terminal({
theme: xtermTheme
// ...
})