https://github.com/saqqdy/xterm-style
xterm styles list
https://github.com/saqqdy/xterm-style
xterm xterm-style xterm-theme
Last synced: about 1 month ago
JSON representation
xterm styles list
- Host: GitHub
- URL: https://github.com/saqqdy/xterm-style
- Owner: saqqdy
- License: isc
- Created: 2020-09-07T13:11:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T05:35:47.000Z (almost 4 years ago)
- Last Synced: 2024-08-09T22:09:16.859Z (10 months ago)
- Topics: xterm, xterm-style, xterm-theme
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# xterm-style
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]
[![License][license-image]][license-url][npm-image]: https://img.shields.io/npm/v/xterm-style.svg?style=flat-square
[npm-url]: https://npmjs.org/package/xterm-style
[travis-image]: https://travis-ci.org/saqqdy/xterm-style.svg?branch=master
[travis-url]: https://travis-ci.org/saqqdy/xterm-style
[codecov-image]: https://img.shields.io/codecov/c/github/saqqdy/xterm-style.svg?style=flat-square
[codecov-url]: https://codecov.io/github/saqqdy/xterm-style?branch=master
[david-image]: https://img.shields.io/david/saqqdy/xterm-style.svg?style=flat-square
[david-url]: https://david-dm.org/saqqdy/xterm-style
[snyk-image]: https://snyk.io/test/npm/xterm-style/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/xterm-style
[download-image]: https://img.shields.io/npm/dm/xterm-style.svg?style=flat-square
[download-url]: https://npmjs.org/package/xterm-style
[license-image]: https://img.shields.io/badge/License-MIT-yellow.svg
[license-url]: LICENSE## 安装依赖
```shell
# 通过npm安装
npm install -S xterm-style
# 或者通过yarn安装
yarn add xterm-style
```## 使用
### 配置说明
xterm-style 目前包含了下面这几套配置
- `common`: 常规风格
### 引入方法
```js
import { Terminal } from 'xterm'
import { common as xtermTheme } from 'xterm-style'
const term = new Terminal({
theme: xtermTheme
// ...
})
```