Trying to change just the accent color in Obsidian Publish

What I’m trying to do

Hi I just started Obsidian Publish to share with my friends. I just want to change the accent color to a darkish-red(#bc3838). That’s just All I want.

Things I have tried

I’ve tried making publish.css in my Vault’s root folder. the css file was

.theme-light {
–text-on-accent: #bc3838;
–text-on-accent-inverted: var(–color-red);
}

.theme-dark {
–text-on-accent: #bc3838;
–text-on-accent-inverted: var(–color-red);
}

But this did not change the accent color of my website. Do I need to add anything else in my publish.css? Or what do I need to do instead of this? I know this is something simple that you guys can handle, but I suck at computer, so I’d really appreciate it if someone let me know.