color-genfile

1.1.4 • Public • Published

Color-Genfile CLI💡

MIT License

💌 💓

Description

Color-Genfile is an npm package cli that helps you to generate different colors of your choice and generate it into a css or scss file for Html, Angular React etc.

Installation and Usage

  • Install the package with
    npm install -g color-genfile
  • Type command
    cgf -- To Start The Cli
  • type the directory you want to create the file Make sure it is a working directory.

NB: Windows users

  • To install and run the cli on Windows you have to
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
Get-ExecutionPolicy -List

Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process       Undefined
  CurrentUser    RemoteSigned
 LocalMachine    RemoteSigned

on your Pwershel terminal, see windows documentations

  • it will you will be be ask some questions read caefully and reply with Y and enter

Configuration

Html

    <link rel="stylesheet" href="css/colors.css">

React

    Instruction Cming Soon

Angular

    in your src/styles.css or .scss add @import url('assets/colors.css')

Vue

    Instruction Coming Soon

How to call in your colors

    <div class="bg-blue"> Background Color </div>
    <p class="txt-blue">Text Color</p>

Lists of Color Available

  • Blue
  • Red
  • Black
  • Orange
  • Yellow
  • Purple
  • Brown
  • Green
  • White
  • Pink
  • More Colors Loading.....

Report Bug 🐛 or contact me

Support Project

Package Sidebar

Install

npm i color-genfile

Weekly Downloads

1

Version

1.1.4

License

MIT

Unpacked Size

24.3 kB

Total Files

20

Last publish

Collaborators

  • operacongahub