All Projects → LitoMore → ink-color-pipe

LitoMore / ink-color-pipe

Licence: MIT license
🌈 Create color text with simpler style strings in Ink

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to ink-color-pipe

Chalk Animation
🎬 Colorful animations in terminal output
Stars: ✭ 1,489 (+8172.22%)
Mutual labels:  color, chalk
chalk
🖍️🎨Composable and simple terminal highlighting package for OCaml.
Stars: ✭ 29 (+61.11%)
Mutual labels:  color, chalk
Chalk
🖍 Terminal string styling done right
Stars: ✭ 17,566 (+97488.89%)
Mutual labels:  color, chalk
ink-box
Styled box component for Ink
Stars: ✭ 113 (+527.78%)
Mutual labels:  ink, ink-component
Chalk
✏️Expressive styling on terminal string. (chalk for swift)
Stars: ✭ 59 (+227.78%)
Mutual labels:  color, chalk
log-utils
Basic logging utils: colors, symbols and timestamp.
Stars: ✭ 24 (+33.33%)
Mutual labels:  color, chalk
yachalk
🖍️ Terminal string styling done right
Stars: ✭ 131 (+627.78%)
Mutual labels:  color, chalk
ansi-to-svg
😹 convert ANSI Escaped CLI strings to SVGs
Stars: ✭ 18 (+0%)
Mutual labels:  color, chalk
Drawing
Drawing and fill color
Stars: ✭ 37 (+105.56%)
Mutual labels:  color
ColorRatingBar
change color of star in rating bar
Stars: ✭ 23 (+27.78%)
Mutual labels:  color
homebridge-yeelight-platform
Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
Stars: ✭ 53 (+194.44%)
Mutual labels:  color
buildservice
Project build service using node, CI script
Stars: ✭ 21 (+16.67%)
Mutual labels:  chalk
colo
Displays colors in various color spaces.
Stars: ✭ 60 (+233.33%)
Mutual labels:  color
zcolors
🌈 Z Colors uses your $LS_COLORS to generate a coherent theme for Git and your Zsh prompt, command line and completions.
Stars: ✭ 38 (+111.11%)
Mutual labels:  color
material-design-color-palette
🎨Material Design color palette pluin for IntelliJ based IDEs.
Stars: ✭ 19 (+5.56%)
Mutual labels:  color
colorsys
🎨 Minimalistic color converter for RGB, HSV, HSL, CMYK, HEX and CSS strings
Stars: ✭ 53 (+194.44%)
Mutual labels:  color
PowerColorLS
PowerShell script to display a colorized directory and file listing with icons
Stars: ✭ 35 (+94.44%)
Mutual labels:  color
hex-to-css-filter
Easy way to generate colors from HEX to CSS Filters
Stars: ✭ 20 (+11.11%)
Mutual labels:  color
colortest
Quickly show all your terminal colors
Stars: ✭ 66 (+266.67%)
Mutual labels:  color
vim-yami
Monochromatic dark(闇) theme for Vim
Stars: ✭ 58 (+222.22%)
Mutual labels:  color

ink-color-pipe

chalk-pipe component for Ink 3

Create color text with simpler style strings in Ink

For Ink 2, check [email protected]

Install

$ npm i ink-color-pipe

Usage

This brings you a convenient way to use some color schemes.

import React from 'react';
import {render, Text} from 'ink';
import Color from 'ink-color-pipe';

const link = 'blue.underline';
const error = 'bgRed.white';

render(
	<Text>
		<Color styles={link}>Unicorn</Color>
		<Color styles={error}>{' Error '}</Color>
	</Text>
);

API

<Color>

<Color> is using <Transfrom> for text rendering.

styles

Type: string

Use dot . to separeate multiple styles.

Valid Styles

Related

  • chalk-pipe - Create chalk style schemes with simpler style strings

License

MIT © LitoMore

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].