Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
color-palette-cli
Advanced tools
Create beautiful color palettes with contrast compliant text coloring. Complimentary, Analogous and Triadic color schemes available. Pseudo class coverage for perfect interaction with elements like buttons.
Using npx is the easiest and quickest way to get started. The CLI will guide you through the process and create your SCSS files in seconds!
$ npx color-palette-cli
Primary Color (default: #0F4C81) - Your main color choice for the palette. This can be in named, hex, rgb or hsl format. Please make sure to enter colors that do not have an alpha value.
Secondary Color sets (default: Complimentary) - Here you may pick which set(s) you wish to include in the SCSS files. You can either choose multiple (and remove them later if not needed) or simply pick one.
Pseudo-Classes (default: true) - Specific if you wish to include pseudo-class colors for hover and active states. This is helpful for creating clear interactivity within your UI.
Source Directory - A list of possible source directories within your working directory will be presented. Please select one to define where you would like your SCSS files to live.
Color Palette CLI also has support for the use of a local config file to allow quick setup and storable user preferences.
$ npx -p color-palette-cli color-palette-init // Creates a color-palette.config.js file in the route working directory.
Once your config file is created, continue by calling the installation command via npx and you'll be all setup.
Each of the fields in the config file equate to the CLI options above.
module.exports = {
primary: '#0f4c81', //String
colorSets: ['Complimentary'], //String[]
pseudo: true, //Boolean
directory: './' //String
}
Please see the example variables and mixins files to get an idea of what the generated code looks like. These examples include all three color schemes as well as pseudo-classes.
Tim Dunphy
This project is licensed under the MIT License - see the LICENSE.md file for details.
FAQs
A color palette designer built from a single primary color.
We found that color-palette-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.