segmentio/consent-manager

Custom styling ConsentManager

mxkxf opened this issue · 2 comments

mxkxf commented

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:

  • segment/consent-manager@5.8.1
  • next@13.5.6

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

<Content asModal={asModal} id="segmentio_fragmentBanner">

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

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