Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avanisubbiah/adwaita-materialu
Utility to generate adwaita presets for use with AdwCustomizer from images using Google's MaterialU color generator.
https://github.com/avanisubbiah/adwaita-materialu
Last synced: 15 days ago
JSON representation
Utility to generate adwaita presets for use with AdwCustomizer from images using Google's MaterialU color generator.
- Host: GitHub
- URL: https://github.com/avanisubbiah/adwaita-materialu
- Owner: avanisubbiah
- Created: 2022-07-28T15:31:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-13T11:50:05.000Z (about 1 year ago)
- Last Synced: 2024-09-14T12:17:59.145Z (about 2 months ago)
- Language: JavaScript
- Size: 36.1 KB
- Stars: 31
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- stars - avanisubbiah/adwaita-materialu
README
# 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
- **AdwCustomizer** | Needed for applying preset | https://github.com/ArtyIF/AdwCustomizer
- **NodeJS** | Required to run script## 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 ` 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 -t
```
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](https://i.imgur.com/x22C9cu.png)
![Water Lily Dark](https://i.imgur.com/x7z1gdZ.png)
![Nord Light](https://i.imgur.com/Kqhnw5s.png)
![Nord Dark](https://i.imgur.com/m6ojaa4.png)
![Cherry Light](https://i.imgur.com/c4ijgD2.png)
![Cherry Dark](https://i.imgur.com/2T4V5IZ.png)