feat: more home page

This commit is contained in:
TrèsAbhi committed 2026-01-09 13:57:28 -06:00
1 parent 44203223fd
commit c5f5f69fd6
11 files changed
+60 -10

No files matched your search

@@ -0,0 +1,3 @@
.text {
font-size: var(--font-size-regular);
}
@@ -0,0 +1,18 @@
import type { ComponentProps } from "react";
import type { Color } from "../../core/ui/color";
import "./index.css";
export interface TextProps extends ComponentProps<"span"> {
color?: Color;
lowContrast?: boolean;
}
export function Text({ color = "gray", lowContrast, ...props }: TextProps) {
return (
<span
className="text"
style={{ color: `var(--${color}-${lowContrast ? 11 : 12})` }}
{...props}
/>
);
}