Is it possible to customize a theme using "PyWal"?

Things I have tried

What I’m trying to do

First, for those who don’t know what PyWal is: GitHub - dylanaraps/pywal: 🎨 Generate and change color-schemes on the fly.
Basically, it’s an automatic color scheme generator. It generates automatically some files with the color schemes, including a .css, the same that I’m trying to use.

I tried to import a color scheme from pywal and use it into my obsidian.css file, but it’s not working at all.

To give you a small example, my css file looks like this:

:root (I don't even know what that means, LOL)
@import url('file:///home/myusername/.cache/wal/colors.css');

.theme-light,
.theme-dark{
 --background-primary: var(--background);
 --text-title-h1: var(--color1);
}

I hope it to be possible!

Thanks in advance, and sorry for my poor English skills.

I’m trying to do the same thing, i was getting an error in the console saying i can’t import external resources. I tried getting rid of the ‘file://’ in the url which did get rid of the error but It still doesn’t import the file.