feat: start of cards

This commit is contained in:
TrèsAbhi committed 2026-01-09 14:04:59 -06:00
1 parent c5f5f69fd6
commit db8ac195d4
6 files changed
+58 -11

No files matched your search

@@ -1,4 +1,5 @@
import type { ComponentProps } from "react";
import { classNames } from "../../core/ui/classNames";
import type { Color } from "../../core/ui/color";
import "./index.css";
@@ -7,10 +8,15 @@ export interface TextProps extends ComponentProps<"span"> {
lowContrast?: boolean;
}
export function Text({ color = "gray", lowContrast, ...props }: TextProps) {
export function Text({
color = "gray",
lowContrast,
className,
...props
}: TextProps) {
return (
<span
className="text"
className={classNames("text", className)}
style={{ color: `var(--${color}-${lowContrast ? 11 : 12})` }}
{...props}
/>