I ask because I maintain a VS code theme based on Pop OS and I'd like to support the new cosmic theme in addition to the older ones.
I ask because I maintain a VS code theme based on Pop OS and I'd like to support the new cosmic theme in addition to the older ones.
4 Comments
pnutzh4x0r@lemmy.ndlug.org · 4 pts · 1y
They have the RGB values as decimals in the
light.ronanddark.ronfiles here: https://github.com/pop-os/libcosmic/blob/master/cosmic-theme/src/model/You would need to convert the numbers to hexadecimal manually.
pnutzh4x0r@lemmy.ndlug.org · 3 pts · 1y
I wrote a Python script to parse the data and convert into RGB values. Here are the light mode values:
Here are the dark mode values:
ArtVandelay@lemmy.world · 3 pts · 1y
This is awesome, thank you for that. I'm a huge pythonista!
ArtVandelay@lemmy.world · 2 pts · 1y
Perfect, thanks!