https://github.com/crayon-js/keywords
🔑👄 Extension package for crayon.js which adds support for CSS Keywords
https://github.com/crayon-js/keywords
cmd color console css-keywords deno extension javascript js keyword package rgb styling terminal ts typescript
Last synced: 3 months ago
JSON representation
🔑👄 Extension package for crayon.js which adds support for CSS Keywords
- Host: GitHub
- URL: https://github.com/crayon-js/keywords
- Owner: crayon-js
- License: mit
- Created: 2021-04-23T15:35:41.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-08-24T12:33:21.000Z (almost 4 years ago)
- Last Synced: 2026-03-26T20:11:30.912Z (3 months ago)
- Topics: cmd, color, console, css-keywords, deno, extension, javascript, js, keyword, package, rgb, styling, terminal, ts, typescript
- Language: TypeScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
DEPRECATED!
Crayon extensions have been moved to https://github.com/crayon-js/crayon/tree/main/src/extensions
🖍️ Crayon.js CSS Keywords
## :books: About
##### This package is extension for [crayon.js](https://github.com/crayon-js/crayon)
### Installation
```bash
npm install @crayon.js/keywords #yarn add @crayon.js/keywords
```
## Usage
```ts
import crayon from '@crayon.js/keywords'; // import it instead of crayon.js
crayon.bgKhaki.orange('This text has khaki background and orange text')
// import crayon2 from 'crayon.js';
// crayon2.bgKhaki.orange('this would still work, however without autocompletion')
```
### Wiki
To learn more about Crayon and its API look [here](https://github.com/crayon-js/crayon/wiki)
## :handshake: Contributing
#### Feel free to add any commits, issues and pull requests
## :memo: Licensing
#### This project is available under MIT License conditions.