0.3.4 • Published 2 years ago

themeizer-cli v0.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Themeizer CLI

A cli tool to automatically replace published colors (as well as linear and radial gradients) in style files with a css variable

Themeizer ecosystem helper package.

Features

Automatic replacement of all colors, as well as linear and radial gradients.

Support: css, sass, scss, styl.

Installation

$ npm install themeizer-cli -g

Options

'--help', '-h' {Boolean} - help
'--config', '-c' {String} - configuration file path
'--url', '-u' {String} - url to load and read colors
'--headers', '-h' {String} - necessary headers for getting colors
'--theme', '-t' {String} - a theme from which to check and replace colors

Usage

  1. By specifying the path to the configuration file to the utility:
// themeizer.config.json
{
    "url":"https://example.com/api/themes",
    "headers":{
        "token":"example-token"
    },
    "theme": "light"
}
themeizer-cli -c ./themeizer.config.json
  1. By specifying parameters via options:
themeizer-cli -u "https://example.com/api/themes" -t "light" -h {"token":"example-token"}

Themeizer ecosystem

  • Figma plugin "Themeizer" - plugin for changing themes in design and publishing them in the cloud;
  • themeizer - package for embedding themes from "Themeizer" Figma plugin at the server level or at build stage;
  • next-themeizer - package for adding "Themeizer" ecosystem interaction configuration to your next.js application;
  • themeizer-cli - a package to automatically replace published colors (as well as linear and radial gradients) in style files with a css variable;
  • stylelint-themeizer - stylelint plugin for "Themeizer" ecosystem.

License

MIT

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago