Skip to content

πŸ”‘πŸ‘„ Extension package for crayon.js which adds support for CSS Keywords

License

Notifications You must be signed in to change notification settings

crayon-js/keywords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DEPRECATED!
Crayon extensions have been moved to https://github.com/crayon-js/crayon/tree/main/src/extensions

πŸ–οΈ Crayon.js CSS Keywords


πŸ“š About

This package is extension for crayon.js

Installation

npm install @crayon.js/keywords #yarn add @crayon.js/keywords

Usage

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

🀝 Contributing

Feel free to add any commits, issues and pull requests

πŸ“ Licensing

This project is available under MIT License conditions.