Tetrax-10 / Nord-Spotify

Nord Themed Spotify
https://tetrax-10.github.io/Nord-Spotify/
MIT License
338 stars 22 forks source link

Generate color scheme from image/hex code #52

Open DimitrisMilonopoulos opened 1 year ago

DimitrisMilonopoulos commented 1 year ago

I want to create some dynamic themes based on the wallpaper, and I would like to know where the theme configurations are saved locally so I can adjust them!

Thank you!

Tetrax-10 commented 1 year ago

Nord gets a cover art's prominent color from Spotify's API like it just gives a single hex code. From that hex code I will generate the color palatte using chroma.js. You can see the src code here.

I have a plan to make a feature that generates a color palatte from a single hex code that will be taken from users. So you just need to input your wallpaper's prominent color and it will do the rest.

DimitrisMilonopoulos commented 1 year ago

Is it possible to also use a file like color.ini to add more themes? Already have the code to generate the colors, so I was wondering if it is possible to inject colors the way it is done for most of the other themes.

Love your work btw, one of the most impressive themes so far!

Tetrax-10 commented 1 year ago

Is it possible to also use a file like color.ini to add more themes? Already have the code to generate the colors, so I was wondering if it is possible to inject colors the way it is done for most of the other themes.

Unfortunately no, but you can just edit/create your own color scheme from Nord settings.

image

image

Love your work btw, one of the most impressive themes so far!

Thx 💖