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

Overview

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

You might also like...

Web Application for admin of T-quest game to manage presets of questions

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Jun 30, 2022

LukeZhu's ESLint config presets

@luke358/eslint-config eslint monorepo Usage Install pnpm add -D eslint @luke358/eslint-config Config .eslintrc { "extends": "@luke358" } You don't

Jun 13, 2022

Soybean's eslint config presets

Soybean's eslint config presets Auto fix for formatting with prettier TypeScript, Vue, React out-of-box Lint also for json, yaml, markdown Sorted impo

Dec 21, 2022

create custom search presets for vscode 🔎

create custom search presets for vscode 🔎

VSCode Search Presets vscode extension to configure search presets Sometimes you want to search through a specific set of files, you can use vscode's

Oct 14, 2022

SoybeanJS's eslint config presets with prettier

SoybeanJS's eslint config presets Auto fix for formatting with prettier Mulit config presets: JavaScript, TypeScript, Vue, React, ReactNative, Svelte

Dec 21, 2022

Easiest 1-click way to install and use Stable Diffusion on your own computer. Provides a browser UI for generating images from text prompts and images. Just enter your text prompt, and see the generated image.

Easiest 1-click way to install and use Stable Diffusion on your own computer. Provides a browser UI for generating images from text prompts and images. Just enter your text prompt, and see the generated image.

Stable Diffusion UI Easiest way to install and use Stable Diffusion on your own computer. No dependencies or technical knowledge required. 1-click ins

Dec 30, 2022

Obsidian text generator Plugin Text generator using GPT-3 (OpenAI)

Obsidian text generator Plugin Text generator using GPT-3 (OpenAI)

is a handy plugin for Obsidian that helps you generate text content using the powerful language model GP

Dec 29, 2022

A utility for creating toggleable items with JavaScript. Inspired by bootstrap's toggle utility. Implemented in vanillaJS in a functional style.

LUX TOGGLE Demo: https://jesschampion.github.io/lux-toggle/ A utility for creating toggleable dom elements with JavaScript. Inspired by bootstrap's to

Oct 3, 2020

Deno module to generate images from source code using Aloxaf/silicon.

Deno module to generate images from source code using Aloxaf/silicon.

deno-silicon Deno module to generate images from source code using Aloxaf/silicon. Dependencies Please refer silicon's dependencies Support Version de

Dec 13, 2022
Comments
  • Name problem

    Name problem

    The name for Material You is incorrect in the binary and repository names. It is also incorrect in multiple places in the code. It is listed as Material U when it is in fact Material You. A change to fit with the official name would help the project to be discovered.

    opened by DivineBicycle 0
Owner
Avanish Subbiah
Avid themer. Working with Python and JavaScript to C and Verilog.
Avanish Subbiah
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Tool Cool Color Picker is a color picker library written in typescript and using web component technologies.

Tool Cool Color Picker Tool Cool Color Picker is a color picker library written in typescript and using web component technologies. Check out the demo

Tool Cool 13 Oct 23, 2022
Types generator will help user to create TS types from JSON. Just paste your single object JSON the Types generator will auto-generate the interfaces for you. You can give a name for the root object

Types generator Types generator is a utility tool that will help User to create TS Interfaces from JSON. All you have to do is paste your single objec

Vineeth.TR 16 Dec 6, 2022
Change the color of an image to a specific color you have in mind.

image-recolor Run it: https://image-recolor.vercel.app/ image.recolor.mov Acknowledgments Daniel Büchele for the algorithm: https://twitter.com/daniel

Christopher Chedeau 21 Oct 25, 2022
A little toy app to help you find the nearest match for a given color within a Figma Tokens color palette.

Hey Palette So you've got a color palette in Figma and you've used the Figma Tokens plugin to export that palette to JSON. Let's say you have a color

Kalo Pilato 5 Nov 15, 2022
Colr Pickr, a vanilla JavaScript color picker component built with SVGs, with features like saving colors. Similar design to the chrome-dev-tools color picker.

Colr Pickr Colr Pickr, a vanilla JavaScript color picking component built with SVGs, with features like saving colors. Similar design to the chrome-de

TEK 27 Jun 27, 2022
A NodeJS package to convert any RGB color to HEX color or viceversa. Also supports HSL conversion.

Unhex ?? A NodeJS package to convert any RGB color to HEX, HSL color or viceversa. Example div { color: #fff; background-color: #0070f3; } After r

Arnau Espin 2 Oct 1, 2022
An Obsidian plugin that allows adding iframes with custom styling as editor tabs. Also comes with presets for Google Keep and more.

Obsidian Custom Frames An Obsidian plugin that turns web apps into panes using iframes with custom styling. Also comes with presets for Google Keep an

Ellpeck 208 Jan 8, 2023