Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

theme-tinker

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

theme-tinker

CLI for processing colours in config files

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

theme-tinker

CLI for processing colours in config files

Install

npm install theme-tinker

To install globally for use anywhere in your system, add the -g tag

Usage

theme-tinker is a CLI tool which applies hue, saturation and lightness adjustments to all instances of hex color codes within the supplied file.

You can test the output of an operation by calling theme-tinker on a file without supplying an --output location. This will print the resulting file to the console.

Currently only relative adjustments to the hue, saturation and lightness of each color in a file is supported. If I get round to it, or if requested, I plan to add support for absolute adjustments, randomised adjustments and contrast adjustmests.

Example

theme-tinker --input index.css --hue 30 --lightness -15 --output index.css

FAQs

Package last updated on 09 Aug 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc