style(ai-chat): keep the consent text readable, only the frame gold (match WhatsApp about-warn-callout)

This commit is contained in:
heaven 2026-06-02 13:37:52 +03:00
parent 5f940af9f7
commit 6256048ddd

View file

@ -101,16 +101,17 @@ export const SectionBody = style({
// "Using it = OK with this" — the consent line is the one binding sentence, so it gets the gold
// callout treatment the WhatsApp bridge uses for its ToS-risk notice (apps/widget-whatsapp
// `.section-warn-banner`): a full amber frame + faint amber wash + amber text.
// `.about-warn-callout`): a gold FRAME + faint amber wash, but the text itself stays the normal
// readable colour — only the rim is gold, not the words.
export const Consent = style({
margin: 0,
padding: `${toRem(12)} ${toRem(14)}`,
borderRadius: toRem(10),
borderRadius: toRem(8),
border: `1px solid ${VOJO_GOLD}`,
backgroundColor: 'rgba(212, 184, 138, 0.1)',
backgroundColor: 'rgba(212, 184, 138, 0.08)',
fontSize: toRem(13),
lineHeight: toRem(18),
color: VOJO_GOLD,
lineHeight: toRem(19),
color: color.Surface.OnContainer,
});
export const Links = style({