Skip to content

avanisubbiah/adwaita-materialu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Utility to generate adwaita presets for use with AdwCustomizer from images using Google's MaterialU color generator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published