segmentio / consent-manager

Drop-in consent management plugin for analytics.js
https://segmentio.github.io/consent-manager/
MIT License
340 stars 142 forks source link

Custom styling ConsentManager #361

Open mxkxf opened 9 months ago

mxkxf commented 9 months ago

Hi there,

Is there any way to apply custom styling to the <ConsentManager /> - I'm not finding any selectors I can use reliably change things like fonts, colours etc., other than the props?

Using:

kazkovsky commented 8 months ago

I think there is a some kind of problem with packages compilation/versioning. Styling code ID are present in source code in master, but they are not present in newest package release.

For example: id="segmentio_fragmentBanner" is in master, but it's not available on compiled package source in 5.8.1 version

https://github.com/segmentio/consent-manager/blob/f9d5166679b3c928b394b8ad50d517fdf43654b1/src/consent-manager/banner.tsx#L160

Is missing here: https://github.com/segmentio/consent-manager/blob/v5.8.1/src/consent-manager/banner.tsx

mxkxf commented 8 months ago

@kazkovsky it looks like this package might not be maintained anymore 😢