: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
@import 'tailwindcss';
/* if this shows a warning, change the type of file in vscode to 'tailwind CSS' */
@config "./tailwind.config.js";
/* Edge-fade utilities (`scroll-mask-*`) for scrollable lists/popups — matches @posthog/quill. */
@import 'tailwindcss-scroll-mask';
/*
* Scan @posthog/quill source so utilities used in primitive/component
* authoring (including arbitrary values like `w-[601px]`) get emitted
* into this precompiled bundle. The config's `content` array already
* lists quill's compiled `dist/**` output; these sources cover classes
* that live in JSX/TSX before bundling strips them.
*/
@source "../../packages/quill/packages/primitives/src/**/*.{ts,tsx}";
@source "../../packages/quill/packages/components/src/**/*.{ts,tsx}";
@source "../../packages/quill/packages/blocks/src/**/*.{ts,tsx}";
@source "../../packages/quill/packages/quill/src/**/*.{ts,tsx}";
@theme {
--text-xxs: 0.625rem;
--text-xxs--line-height: 0.75rem;
--spacing-button-padding-x: 7px; /* Match the padding of the button primitives base size (6px) + 1px border */
--animate-hue-rotate: hue-rotate 5s linear infinite;
--animate-fade-in-subtle: fade-in-subtle 150ms cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
--animate-fade-in: fade-in 150ms cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
--animate-fade-out: fade-out 120ms cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
--animate-fade-out-subtle: fade-out-subtle 120ms cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
@keyframes hue-rotate {
to {
filter: hue-rotate(360deg);
}
}
@keyframes fade-in-subtle {
from {
opacity: 0;
}
to {
opacity: 0.3;
}
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fade-out {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes fade-out-subtle {
from {
opacity: 0.3;
}
to {
opacity: 0;
}
}
}
@utility animate-hue-rotate {
animation: var(--animate-hue-rotate);
}
@utility animate-fade-in {
animation: var(--animate-fade-in);
@media (prefers-reduced-motion: reduce) {
animation: none;
opacity: 1;
}
}
@utility animate-fade-out {
animation: var(--animate-fade-out);
@media (prefers-reduced-motion: reduce) {
animation: none;
opacity: 0;
}
}
@utility animate-fade-in-subtle {
animation: var(--animate-fade-in-subtle);
@media (prefers-reduced-motion: reduce) {
animation: none;
opacity: 0.3;
}
}
@utility animate-fade-out-subtle {
animation: var(--animate-fade-out-subtle);
@media (prefers-reduced-motion: reduce) {
animation: none;
opacity: 0;
}
}
/*
* Scrollbar utilities. They style the element and every scroll area inside it, so one class on a
* layout root restyles the whole subtree. Declarations are !important because the app's global
* scrollbar rules in base.scss are unlayered and would otherwise beat any utility.
* Usage: `scrollbar-thin scrollbar-track-transparent scrollbar-thumb-[var(--color-bg-fill-scroll-thumb)]`.
*/
@utility scrollbar-thin {
/* Chrome ignores ::-webkit-scrollbar on an element with a non-auto scrollbar-width or scrollbar-color. */
&,
& * {
scrollbar-width: auto !important;
scrollbar-color: auto !important;
}
&::-webkit-scrollbar,
& ::-webkit-scrollbar {
width: 6px !important;
height: 6px !important;
}
&::-webkit-scrollbar-track,
& ::-webkit-scrollbar-track {
background: var(--scrollbar-track, transparent) !important;
}
&::-webkit-scrollbar-thumb,
& ::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-thumb, gray) !important;
border-radius: 10px !important;
}
/* Firefox has no scrollbar pseudo-elements, so it gets the standard properties instead. */
@supports (-moz-appearance: none) {
&,
& * {
scrollbar-width: thin !important;
scrollbar-color: var(--scrollbar-thumb, gray) var(--scrollbar-track, transparent) !important;
}
}
}
@utility scrollbar-track-transparent {
--scrollbar-track: transparent;
}
@utility scrollbar-thumb-* {
--scrollbar-thumb: --value(--color-*, [color], [*]);
}