:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
.LemonBanner {
display: flex;
flex-direction: column;
gap: 0.5rem;
min-height: 3rem;
padding: 0.5rem;
font-size: var(--text-sm);
font-weight: 500;
color: var(--color-text-primary);
text-align: left;
border: solid 1px var(--color-border-primary);
border-radius: var(--radius);
&.LemonBanner--square {
border-radius: 0;
}
&.LemonBanner--info {
background-color: var(--color-bg-fill-primary);
border-color: var(--color-border-primary);
}
&.LemonBanner--warning {
background-color: var(--color-bg-fill-warning-secondary);
border-color: var(--color-border-warning);
}
&.LemonBanner--error {
background-color: var(--color-bg-fill-error-secondary);
border-color: var(--color-border-error);
}
&.LemonBanner--success {
background-color: var(--color-bg-fill-success-secondary);
border-color: var(--color-border-success);
}
&.LemonBanner--ai {
position: relative;
background: linear-gradient(135deg, rgb(167 139 250 / 4%) 0%, rgb(129 140 248 / 4%) 100%);
border: none;
&::before {
position: absolute;
inset: 0;
padding: 1px;
pointer-events: none;
content: '';
background: linear-gradient(135deg, rgb(167 139 250) 0%, rgb(129 140 248) 50%, rgb(167 139 250) 100%);
border-radius: var(--radius);
mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
mask-composite: xor;
mask-composite: exclude;
}
.LemonBanner__icon {
color: rgb(167 139 250);
}
}
.LemonBanner__icon {
flex-shrink: 0;
font-size: 1.5rem;
line-height: 0;
}
p {
margin-bottom: 0.25em;
&:last-child {
margin-bottom: 0;
}
}
}