1.0.2 • Published 2 years ago

adwaita-materialu v1.0.2

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

Adwaita Preset Generator using Material U Color Generation

Material U Color generation is done using the material-color-utilities available here: https://github.com/material-foundation/material-color-utilities

Requirements

Installation

You can clone the repo and install or you can directly install from npm

npm install -g adwaita-materialu

or

git clone https://github.com/avanishsubbiah/adwaita-materialu.git
cd adwaita-materialu
npm install
npm install -g .

NOTE: running npm install -g <package> will cause a permissions issue. To resolve this either run as sudo (not recommended) or add the following lines to your .bashrc

npm set prefix ~/.npm
PATH="$HOME/.npm/bin:$PATH"
PATH="./node_modules/.bin:$PATH"

Usage

Run the command below and the preset generated will be written to the folder where the image is located

gen-materialu-theme -i <Path to image file> -t <Theme type (dark|light)>

Then move the generated preset.json file to the preset folder for AdwCustomizer

  • Default Location: $HOME/.var/app/com.github.ArtyIF.AdwCustomizer/config/presets

Examples

Water Lily Light Water Lily Dark Nord Light Nord Dark Cherry Light Cherry Dark