Merge pull request 'feat(ui): remove light typography weight' (#4991) from misc/fixes into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4991
This commit is contained in:
brianmcgee
2025-08-26 16:18:21 +00:00
4 changed files with 1 additions and 8 deletions

View File

@@ -17,7 +17,6 @@ export const SidebarSection = (props: SidebarSectionProps) => {
hierarchy="label"
size="xs"
family="mono"
weight="light"
transform="uppercase"
color="tertiary"
inverted={true}

View File

@@ -73,7 +73,6 @@ export function SidebarSectionForm<
hierarchy="label"
size="xs"
family="mono"
weight="light"
transform="uppercase"
color="tertiary"
inverted

View File

@@ -1,9 +1,5 @@
/* Body */
.typography {
&.weight-light {
font-weight: 300;
}
&.weight-normal {
font-weight: 400;
}

View File

@@ -6,7 +6,7 @@ import { Color, fgClass } from "@/src/components/colors";
export type Tag = "span" | "p" | "h1" | "h2" | "h3" | "h4" | "div";
export type Hierarchy = "body" | "title" | "headline" | "label" | "teaser";
export type Weight = "normal" | "medium" | "bold" | "light";
export type Weight = "normal" | "medium" | "bold";
export type Family = "regular" | "condensed" | "mono";
export type Transform = "uppercase" | "lowercase" | "capitalize";
@@ -87,7 +87,6 @@ const weightMap: Record<Weight, string> = {
normal: "weight-normal",
medium: "weight-medium",
bold: "weight-bold",
light: "weight-light",
};
interface _TypographyProps<H extends Hierarchy> {