Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
/*
Keep the docs theme in sync with the product design tokens defined in
packages/tailwind-config/shared-styles.css.
Mintlify generates a gray scale tinted from the primary color; the product
remaps gray-* to Tailwind's zinc scale, so the same values go here (as the
RGB triplets Mintlify's variables expect).
*/
:root {
--gray-50: 250 250 250;
--gray-100: 244 244 245;
--gray-200: 228 228 231;
--gray-300: 212 212 216;
--gray-400: 161 161 170;
--gray-500: 113 113 122;
--gray-600: 82 82 91;
--gray-700: 63 63 70;
--gray-800: 39 39 42;
--gray-900: 24 24 27;
--gray-950: 9 9 11;
}
/* --foreground: zinc-800 in light mode, white in dark mode. Body text gets
its color by inheritance from the app shell, so re-anchor it on the
documented #content-area selector. */
#content-area {
color: rgb(39 39 42);
}
.dark #content-area {
color: rgb(255 255 255);
}
/* Headings carry their own text-gray-* utilities that beat inheritance */
.dark #content-area h1,
.dark #content-area h2,
.dark #content-area h3,
.dark #content-area h4 {
color: rgb(255 255 255);
}
/* The app derives its dark-mode primary at runtime: adjustColorForContrast()
lightens DEFAULT_PRIMARY_COLOR (#4f46e5) against the dark background until it
clears a 5:1 contrast ratio, yielding #847eed (see features/branding/utils.ts).
Mintlify has no equivalent step, so pin both dark-mode primaries to that value. */
.dark {
--primary-light: 132 126 237;
--primary-dark: 132 126 237;
}
/* Mintlify's top-bar CTA hardcodes bg-primary-dark rather than reading --primary. */
.dark .bg-primary-dark {
background-color: rgb(132 126 237);
}
/* Fenced code inside an OpenAPI operation description is rendered as shiki's
raw dual-theme <pre> straight into the prose, carrying the light theme's
inline background and colours. Mintlify's own code block wrapper applies
the dark tokens on MDX pages but nothing does here, so apply the standard
shiki dual-theme rule. The dark background is the same #0B0C0E Mintlify's
wrapper uses. */
.dark #content-area .prose pre.shiki,
.dark #content-area .prose pre.shiki span {
/* biome-ignore lint/complexity/noImportantStyles: the light colours are inline styles on the elements */
background-color: var(--shiki-dark-bg) !important;
/* biome-ignore lint/complexity/noImportantStyles: same */
color: var(--shiki-dark) !important;
}
/* An identifier in a table cell (an event name, a header, an error code) is
one token: wrapping it mid-word reads as two names. Let the column grow
and the prose column take the wrapping instead. */
#content-area table td code,
#content-area table th code {
white-space: nowrap;
}