The extension has two modes: light and dark, which you can customize separately. Most elements can be styled through just a few CSS variables.
If you're using a third-party theme, consider reaching out to the developer and asking them if they could support zoteroRoam directly in their theme.
Basic styling
You'll most likely want to start by customizing the extension's base accents ; by default, they use a similar color scheme as the Blueprint library does (which is natively used by Roam).
The corresponding CSS variables are :
--zr-accent-1-hsl (default = a shade of blue)
--zr-accent-2-hsl (default = a shade of orange)
As their name indicates, these variables should contain HSL color values. Other formats will not work. There are many online tools such as this one where you can explore the color wheel and find the matching HSL parameters.
Example for light mode
:root { --zr-accent-1-hsl:164,58%,47%; /* a shade of green */ --zr-accent-2-hsl:315,77%,66%; /* a shade of pink */}
Example for dark mode
[zr-dark-theme="true"] { --zr-accent-1-hsl:162, 100%, 62%; /* a shade of green */ --zr-accent-2-hsl:44, 70%, 51%; /* a shade of yellow */}
Light Mode
Here are the variables and default values the extension uses for light mode: