Skip to content

Operaconga14/color-genfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color-Genfile CLI💡

MIT License

💌 💓

Description

Color-Genfile Cli 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 For Global use
    npm install -g color-genfile

For Project Only use

    npm install color-genfile
  • Type command
   npx cgf g -c -- To Start The Cli

OR

   cgf g -c -- 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.....

New Feautures Coming Soon

  • Variables generator for colors
  • generating of random colors

Report Bug 🐛 or contact me

About

Cli to generate a css or scss file full of colors for Angular, React, Vue, Html, etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors