Skip to content

Commit 06bcc4d

Browse files
committed
fix: Update readme.md
1 parent a0ea21e commit 06bcc4d

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# CoCreate-random-color
22

3-
A simple random-color component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/random-color)
3+
A simple HTML5 and pure javascript component. Easy configuration using data-attributes and/or JavaScript API. Highly customizable and styleable. Take it for a spin in our [playground!](https://cocreate.app/docs/random-color)
44

5-
![GitHub file size in bytes](https://img.shields.io/github/size/CoCreate-app/CoCreate-random-color/dist/CoCreate-random-color.min.js?label=minified%20size&style=for-the-badge)
6-
![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-random-color?style=for-the-badge)
7-
![GitHub](https://img.shields.io/github/license/CoCreate-app/CoCreate-random-color?style=for-the-badge)
8-
![GitHub labels](https://img.shields.io/github/labels/CoCreate-app/CoCreate-random-color/help%20wanted?style=for-the-badge)
5+
![minified](https://img.badgesize.io/https://cdn.cocreate.app/random-color/latest/CoCreate-random-color.min.js?style=flat-square&label=minified&color=orange)
6+
![gzip](https://img.badgesize.io/https://cdn.cocreate.app/random-color/latest/CoCreate-random-color.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow)
7+
![brotli](https://img.badgesize.io/https://cdn.cocreate.app/random-color/latest/CoCreate-random-color.min.js?compression=brotli&style=flat-square&label=brotli)
8+
![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-random-color?style=flat-square)
9+
![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-random-color?style=flat-square)
10+
![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
911

1012
![CoCreate-random-color](https://cdn.cocreate.app/docs/CoCreate-random-color.gif)
1113

@@ -26,7 +28,13 @@ For a complete guide and working demo refer to the [doumentation](https://cocrea
2628
## NPM
2729

2830
```shell
29-
$ npm install @cocreate/random-color
31+
$ npm i @cocreate/random-color
32+
```
33+
34+
## yarn
35+
36+
```shell
37+
$ yarn install @cocreate/random-color
3038
```
3139

3240
# Table of Contents

0 commit comments

Comments
 (0)