Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
import { getPrimaryColorVars } from "@/features/branding/utils";
export function BrandStyle({ primaryColor }: { primaryColor: string }) {
const v = getPrimaryColorVars(primaryColor);
return (
<style>{`
.light {
--primary: ${v.light};
--primary-foreground: ${v.lightForeground};
}
.dark {
--primary: ${v.dark};
--primary-foreground: ${v.darkForeground};
}
`}</style>
);
}