Skip to content

πŸͺ’ Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat(web): Design system - typography (tokenized text styles) (#15186)

Trang Nguyen67464c3f7ab1
diff --git a/packages/eslint-plugin/src/index.ts b/packages/eslint-plugin/src/index.ts
index 9aecf94e5e..24ded11f1d 100644
--- a/packages/eslint-plugin/src/index.ts
+++ b/packages/eslint-plugin/src/index.ts
@@ -1,7 +1,9 @@
import { default as noTailwindOverflowScroll } from "./rules/no-tailwind-overflow-scroll.js";
+import { default as noArbitraryColors } from "./rules/no-arbitrary-colors.js";
import { default as noInSourceVitest } from "./rules/no-in-source-vitest.js";
import { default as noMarginOnRootElements } from "./rules/no-margin-on-root-elements.js";
import { default as noOverlayZindex } from "./rules/no-overlay-zindex.js";
+import { default as noRawFontWeight } from "./rules/no-raw-font-weight.js";
import { default as requireTitleWithTruncate } from "./rules/require-title-with-truncate.js";
import { default as noStyleProps } from "./rules/no-style-props.js";
import { default as noSwitchStatements } from "./rules/no-switch-statements.js";
@@ -9,9 +11,11 @@ import { default as noUnnecessaryCn } from "./rules/no-unnecessary-cn.js";
const plugin = {
rules: {
+ "no-arbitrary-colors": noArbitraryColors,
"no-in-source-vitest": noInSourceVitest,
"no-margin-on-root-elements": noMarginOnRootElements,
"no-overlay-zindex": noOverlayZindex,
+ "no-raw-font-weight": noRawFontWeight,
"no-style-props": noStyleProps,
"no-switch-statements": noSwitchStatements,
"no-tailwind-overflow-scroll": noTailwindOverflowScroll,
diff --git a/packages/eslint-plugin/src/rules/no-arbitrary-colors.test.ts b/packages/eslint-plugin/src/rules/no-arbitrary-colors.test.ts
new file mode 100644
index 0000000000..5dc0958480
--- /dev/null
+++ b/packages/eslint-plugin/src/rules/no-arbitrary-colors.test.ts
@@ -0,0 +1,142 @@
+import { RuleTester } from "@typescript-eslint/rule-tester";
+import * as typescriptEslintParser from "@typescript-eslint/parser";
+import { describe, expect, it, vi } from "vitest";
+import rule from "./no-arbitrary-colors.js";
+
+const ruleTester = new RuleTester({
+ languageOptions: {
+ parser: typescriptEslintParser,
+ parserOptions: {
+ ecmaFeatures: {
+ jsx: true,
+ },
+ },
+ },
+});
+
+ruleTester.run("no-arbitrary-colors", rule, {
+ valid: [
+ // Palette utilities are the point of the rule.
+ `<div className="bg-destructive text-muted-foreground border-warning" />`,
+ // Token-backed arbitrary values are the sanctioned escape hatch.
+ `<div className="bg-[var(--surface)]" />`,
+ `<div className="caret-[hsl(var(--foreground))]" />`,
+ `<div className="shadow-[0_0_16px_2px_hsl(var(--primary-accent)/0.65)]" />`,
+ `<div className="bg-[linear-gradient(90deg,var(--color-1),var(--color-5))]" />`,
+ `<div className="text-[rgb(var(--accent-rgb))]" />`,
+ // Lengths/geometry in arbitrary values are not colors.
+ `<div className="border-[3px] text-[10px] ring-[3px]" />`,
+ `<div className="border-[0.5px] text-[0.775rem]" />`,
+ `<div className="shadow-[0_8px_16px_var(--shadow-color)]" />`,
+ // Contextual keywords are not raw palette colors.
+ `<div className="bg-[transparent] caret-[currentColor] border-[inherit]" />`,
+ // Non-color arbitrary properties on matched prefixes.
+ `<div className="text-[length:var(--size)] bg-[image:var(--img)]" />`,
+ // color-mix over tokens (no raw color function literal).
+ `<div className="bg-[color-mix(in_srgb,var(--a),var(--b))]" />`,
+ // Prefixes outside the color set are ignored even with hex-ish content.
+ `<div className="content-['#1']" />`,
+ `const value = 42;`,
+ ],
+ invalid: [
+ // Bare raw colors.
+ {
+ code: `<div className="bg-[#ff0000]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="text-[#333]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="border-[rgb(0,0,0)]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="bg-[rgba(255,255,255,0.5)]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="text-[hsl(210,40%,96%)]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="from-[oklch(66.2%_0.225_25.9)]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ // Named CSS colors as the whole value.
+ {
+ code: `<div className="bg-[red]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="caret-[rebeccapurple]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ // Raw colors embedded in shadows and gradients.
+ {
+ code: `<div className="shadow-[-12px_0_32px_-16px_rgb(0_0_0_/_0.30)]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="bg-[linear-gradient(#fff,#fff),linear-gradient(90deg,var(--color-1),var(--color-2))]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ // Directional/compound prefixes.
+ {
+ code: `<div className="border-t-[#eee]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="ring-offset-[#000]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ // Variant-prefixed, important-marked, and opacity-suffixed forms.
+ {
+ code: `<div className="dark:bg-[#0a0a0a]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="hover:!text-[#123456]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="data-[state=open]:bg-[#fff]" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="bg-[#fff]/50" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ // Inside longer class strings, cn(...) calls, and template literals.
+ {
+ code: `<div className="flex items-center bg-[#fafafa] p-2" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `const className = cn("text-[rgb(1,2,3)]", className);`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: "<div className={`flex ${x} bg-[#000]`} />",
+ errors: [{ messageId: "unexpected" }],
+ },
+ ],
+});
+
+describe("no-arbitrary-colors", () => {
+ it("ignores template elements with non-string raw values", () => {
+ const report = vi.fn();
+ const listeners = rule.create({
+ report,
+ } as never);
+
+ listeners.TemplateElement?.({
+ value: {
+ raw: null,
+ },
+ } as never);
+
+ expect(report).not.toHaveBeenCalled();
+ });
+});
diff --git a/packages/eslint-plugin/src/rules/no-arbitrary-colors.ts b/packages/eslint-plugin/src/rules/no-arbitrary-colors.ts
new file mode 100644
index 0000000000..94d70dca22
--- /dev/null
+++ b/packages/eslint-plugin/src/rules/no-arbitrary-colors.ts
@@ -0,0 +1,116 @@
+import { type TSESTree } from "@typescript-eslint/utils";
+
+import { createRule } from "../util.js";
+import { extractTailwindUtilityTokens } from "../rule-helpers/tailwind.js";
+
+// Colors must come from the design-token system (palette utilities like
+// `bg-destructive` / `text-muted-foreground`, or token-backed arbitrary values
+// like `bg-[hsl(var(--muted))]`). A raw color smuggled through an arbitrary
+// value (`bg-[#ff0000]`, `text-[rgb(0,0,0)]`, `shadow-[0_8px_16px_rgb(0_0_0/0.3)]`)
+// bypasses theming: it won't follow light/dark mode or future palette changes.
+//
+// Detection is restricted to what is unambiguous:
+// - a hex color literal (`#fff`, `#ff0000aa`) anywhere inside the brackets;
+// - a color function (`rgb(…)`, `rgba(…)`, `hsl(…)`, `hsla(…)`, `oklch(…)`,
+// `oklab(…)`, `lab(…)`, `lch(…)`, `hwb(…)`, `color(…)`) whose arguments do
+// NOT start with `var(` β€” `hsl(var(--foreground))` is the token-backed
+// escape hatch and stays allowed;
+// - a bracket value that IS a named CSS color (`bg-[red]`).
+//
+// Pure lengths/geometry (`border-[3px]`, `text-[10px]`,
+// `shadow-[0_1px_2px_var(--shadow)]`) never match, and `transparent` /
+// `currentColor` / `inherit` are contextual keywords, not raw palette colors.
+const COLOR_UTILITY_PATTERN =
+ /^(?:bg|text|border|ring|fill|stroke|outline|shadow|decoration|divide|from|to|via|accent|caret)(?:-[a-z]+)*-\[([^\]]*)\](?:\/.*)?$/;
+
+const HEX_COLOR_PATTERN = /#[0-9a-fA-F]{3,8}(?![0-9a-zA-Z])/;
+
+// A color function opener whose first argument is not `var(…)`. Arbitrary
+// values encode spaces as underscores, so the lookahead skips `_`/whitespace
+// before checking for `var(` (anchored at the paren so it cannot backtrack).
+// The leading guard keeps `color(` from matching inside longer identifiers
+// such as `color-mix(` or `var(--color-1)`.
+const RAW_COLOR_FUNCTION_PATTERN =
+ /(?:^|[^a-zA-Z0-9-])(?:rgba?|hsla?|oklch|oklab|lab|lch|hwb|color)\((?![\s_]*var\()/;
+
+// The CSS named colors (spec keyword set), lowercase. `transparent`,
+// `currentcolor`, and `inherit` are intentionally absent β€” they reference
+// context rather than naming a raw color.
+const NAMED_CSS_COLORS = new Set(
+ (
+ "aliceblue antiquewhite aqua aquamarine azure beige bisque black " +
+ "blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse " +
+ "chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan " +
+ "darkgoldenrod darkgray darkgreen darkgrey darkkhaki darkmagenta " +
+ "darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen " +
+ "darkslateblue darkslategray darkslategrey darkturquoise darkviolet " +
+ "deeppink deepskyblue dimgray dimgrey dodgerblue firebrick floralwhite " +
+ "forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green " +
+ "greenyellow grey honeydew hotpink indianred indigo ivory khaki lavender " +
+ "lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan " +
+ "lightgoldenrodyellow lightgray lightgreen lightgrey lightpink " +
+ "lightsalmon lightseagreen lightskyblue lightslategray lightslategrey " +
+ "lightsteelblue lightyellow lime limegreen linen magenta maroon " +
+ "mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen " +
+ "mediumslateblue mediumspringgreen mediumturquoise mediumvioletred " +
+ "midnightblue mintcream mistyrose moccasin navajowhite navy oldlace " +
+ "olive olivedrab orange orangered orchid palegoldenrod palegreen " +
+ "paleturquoise palevioletred papayawhip peachpuff peru pink plum " +
+ "powderblue purple rebeccapurple red rosybrown royalblue saddlebrown " +
+ "salmon sandybrown seagreen seashell sienna silver skyblue slateblue " +
+ "slategray slategrey snow springgreen steelblue tan teal thistle tomato " +
+ "turquoise violet wheat white whitesmoke yellow yellowgreen"
+ ).split(" "),
+);
+
+function containsRawColor(bracketValue: string): boolean {
+ return (
+ HEX_COLOR_PATTERN.test(bracketValue) ||
+ RAW_COLOR_FUNCTION_PATTERN.test(bracketValue) ||
+ NAMED_CSS_COLORS.has(bracketValue.toLowerCase())
+ );
+}
+
+function firstRawColorUtility(value: string): string | null {
+ for (const utility of extractTailwindUtilityTokens(value)) {
+ const match = COLOR_UTILITY_PATTERN.exec(utility);
+ if (match && containsRawColor(match[1])) return utility;
+ }
+ return null;
+}
+
+const rule = createRule({
+ name: "no-arbitrary-colors",
+ meta: {
+ type: "problem",
+ docs: {
+ description:
+ "Disallow raw colors (hex, rgb/hsl/oklch literals, named CSS colors) in arbitrary Tailwind color utilities. Colors must come from design tokens β€” palette utilities (bg-destructive, text-muted-foreground, …) or token-backed values (bg-[hsl(var(--muted))]).",
+ },
+ schema: [],
+ messages: {
+ unexpected:
+ "Avoid the raw color in `{{utility}}` β€” it bypasses theming (light/dark mode, palette changes). Use a design-token utility (e.g. `bg-destructive`, `text-muted-foreground`, `border-warning`) or a token-backed value like `bg-[hsl(var(--muted))]` instead.",
+ },
+ },
+ defaultOptions: [],
+ create(context) {
+ function check(node: TSESTree.Node, raw: unknown) {
+ if (typeof raw !== "string") return;
+ const utility = firstRawColorUtility(raw);
+ if (utility !== null) {
+ context.report({ node, messageId: "unexpected", data: { utility } });
+ }
+ }
+ return {
+ Literal(node) {
+ check(node, node.value);
+ },
+ TemplateElement(node) {
+ check(node, node.value.raw);
+ },
+ };
+ },
+});
+
+export default rule;
diff --git a/packages/eslint-plugin/src/rules/no-raw-font-weight.test.ts b/packages/eslint-plugin/src/rules/no-raw-font-weight.test.ts
new file mode 100644
index 0000000000..5ee9af1a1d
--- /dev/null
+++ b/packages/eslint-plugin/src/rules/no-raw-font-weight.test.ts
@@ -0,0 +1,124 @@
+import { RuleTester } from "@typescript-eslint/rule-tester";
+import * as typescriptEslintParser from "@typescript-eslint/parser";
+import { describe, expect, it, vi } from "vitest";
+import rule from "./no-raw-font-weight.js";
+
+const ruleTester = new RuleTester({
+ languageOptions: {
+ parser: typescriptEslintParser,
+ parserOptions: {
+ ecmaFeatures: {
+ jsx: true,
+ },
+ },
+ },
+});
+
+ruleTester.run("no-raw-font-weight", rule, {
+ valid: [
+ // The two allowed weights.
+ `<div className="font-bold" />`,
+ `<div className="text-sm font-normal" />`,
+ `<div className="hover:font-bold dark:font-normal" />`,
+ // Font-family utilities are not weights.
+ `<div className="font-sans" />`,
+ `<div className="font-mono text-xs" />`,
+ `<div className="font-[Inter]" />`,
+ // Similar-looking non-weight tokens.
+ `<div className="text-sm text-muted-foreground" />`,
+ `const value = 42;`,
+ // Weight name embedded in a longer token is not the utility itself.
+ `<div className="peer/font-medium-picker" />`,
+ ],
+ invalid: [
+ {
+ code: `<div className="font-medium" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-medium" } }],
+ },
+ {
+ code: `<div className="font-semibold" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-semibold" } }],
+ },
+ {
+ code: `<div className="font-thin" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-thin" } }],
+ },
+ {
+ code: `<div className="font-extralight" />`,
+ errors: [
+ { messageId: "unexpected", data: { utility: "font-extralight" } },
+ ],
+ },
+ {
+ code: `<div className="font-light" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-light" } }],
+ },
+ {
+ code: `<div className="font-extrabold" />`,
+ errors: [
+ { messageId: "unexpected", data: { utility: "font-extrabold" } },
+ ],
+ },
+ {
+ code: `<div className="font-black" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-black" } }],
+ },
+ // Arbitrary numeric weights.
+ {
+ code: `<div className="font-[550]" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-[550]" } }],
+ },
+ // Variant-prefixed forms.
+ {
+ code: `<div className="hover:font-medium" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-medium" } }],
+ },
+ {
+ code: `<div className="dark:md:font-semibold" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-semibold" } }],
+ },
+ {
+ code: `<div className="data-[state=open]:font-light" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-light" } }],
+ },
+ // Important-marked forms.
+ {
+ code: `<div className="!font-medium" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-medium" } }],
+ },
+ {
+ code: `<div className="md:font-semibold!" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-semibold" } }],
+ },
+ // Inside longer class strings, cn(...) calls, and template literals.
+ {
+ code: `<div className="text-sm font-medium text-muted-foreground" />`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-medium" } }],
+ },
+ {
+ code: `const className = cn("flex font-semibold", className);`,
+ errors: [{ messageId: "unexpected", data: { utility: "font-semibold" } }],
+ },
+ {
+ code: "<div className={`flex ${x} font-light`} />",
+ errors: [{ messageId: "unexpected", data: { utility: "font-light" } }],
+ },
+ ],
+});
+
+describe("no-raw-font-weight", () => {
+ it("ignores template elements with non-string raw values", () => {
+ const report = vi.fn();
+ const listeners = rule.create({
+ report,
+ } as never);
+
+ listeners.TemplateElement?.({
+ value: {
+ raw: null,
+ },
+ } as never);
+
+ expect(report).not.toHaveBeenCalled();
+ });
+});
diff --git a/packages/eslint-plugin/src/rules/no-raw-font-weight.ts b/packages/eslint-plugin/src/rules/no-raw-font-weight.ts
new file mode 100644
index 0000000000..92981cb079
--- /dev/null
+++ b/packages/eslint-plugin/src/rules/no-raw-font-weight.ts
@@ -0,0 +1,82 @@
+import { type TSESTree } from "@typescript-eslint/utils";
+
+import { createRule } from "../util.js";
+import { extractTailwindUtilityTokens } from "../rule-helpers/tailwind.js";
+
+// The app uses a two-weight type system: text-* size tokens carry the regular
+// weight (--font-weight-regular) and `font-bold` is the single bold role
+// (--font-weight-bold). Any other weight utility escapes the system and
+// re-introduces the many-weights typography this migration removed.
+//
+// Banned: font-thin, font-extralight, font-light, font-medium, font-semibold,
+// font-extrabold, font-black, and arbitrary numeric weights like `font-[550]`
+// β€” including variant-prefixed (`hover:font-medium`, `dark:font-semibold`,
+// `md:font-light`, `data-[state=open]:font-medium`) and important-marked
+// (`!font-medium`, `font-medium!`) forms.
+//
+// Allowed: `font-bold` (the bold role) and `font-normal` (explicit reset to
+// the regular weight, e.g. to undo an inherited bold). Font-family utilities
+// (`font-sans`, `font-mono`, `font-[Inter]`) are untouched.
+const FORBIDDEN_FONT_WEIGHT_UTILITIES = new Set([
+ "font-thin",
+ "font-extralight",
+ "font-light",
+ "font-medium",
+ "font-semibold",
+ "font-extrabold",
+ "font-black",
+]);
+
+// Arbitrary numeric weight, e.g. `font-[550]` or `font-[450.5]`. A non-numeric
+// arbitrary value (`font-[Inter]`) is a font-family, not a weight.
+const ARBITRARY_FONT_WEIGHT_PATTERN = /^font-\[\d+(?:\.\d+)?\]$/;
+
+function isForbiddenFontWeightUtility(utility: string): boolean {
+ return (
+ FORBIDDEN_FONT_WEIGHT_UTILITIES.has(utility) ||
+ ARBITRARY_FONT_WEIGHT_PATTERN.test(utility)
+ );
+}
+
+function firstForbiddenFontWeight(value: string): string | null {
+ for (const utility of extractTailwindUtilityTokens(value)) {
+ if (isForbiddenFontWeightUtility(utility)) return utility;
+ }
+ return null;
+}
+
+const rule = createRule({
+ name: "no-raw-font-weight",
+ meta: {
+ type: "problem",
+ docs: {
+ description:
+ "Disallow font-weight utilities outside the two-weight type system. `font-bold` is the only bold role (reads --font-weight-bold); text-* size tokens already carry the regular weight, so other weight utilities (font-medium, font-semibold, font-light, font-[550], …) escape the design system.",
+ },
+ schema: [],
+ messages: {
+ unexpected:
+ "Avoid `{{utility}}` β€” the type system has exactly two weights. Use `font-bold` for the bold role, or remove the utility entirely (text-* size tokens already carry the regular weight).",
+ },
+ },
+ defaultOptions: [],
+ create(context) {
+ function check(node: TSESTree.Node, raw: unknown) {
+ if (typeof raw !== "string") return;
+ const utility = firstForbiddenFontWeight(raw);
+ if (utility !== null) {
+ context.report({ node, messageId: "unexpected", data: { utility } });
+ }
+ }
+ return {
+ Literal(node) {
+ check(node, node.value);
+ },
+ TemplateElement(node) {
+ check(node, node.value.raw);
+ },
+ };
+ },
+});
+
+export default rule;
diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs
index 55e9b9bad8..24bf578cbe 100644
--- a/web/eslint.config.mjs
+++ b/web/eslint.config.mjs
@@ -127,6 +127,22 @@ export default [
},
},
+ // Design-token lint wall. The type system has exactly two weights
+ // (`font-bold` for the bold role; text-* size tokens carry the regular
+ // weight), and colors must come from design tokens β€” palette utilities or
+ // token-backed arbitrary values like `bg-[hsl(var(--muted))]`. Raw weight
+ // utilities (font-medium, font-semibold, …) and raw colors in arbitrary
+ // values (bg-[#fff], shadow-[…rgb(0_0_0/0.3)]) escape the system and break
+ // theming.
+ {
+ name: "langfuse/web/design-tokens",
+ files: ["src/**/*.{ts,tsx}"],
+ rules: {
+ "@repo/no-raw-font-weight": "error",
+ "@repo/no-arbitrary-colors": "error",
+ },
+ },
+
// App-wide guard ("overlay-content" mode): a consumer must not re-introduce a
// z-index escape on an overlay it imports (e.g. nav-user's old `z-60` on
// DropdownMenuContent, or `z-50` on a HoverCardContent). This mode flags a
diff --git a/web/src/components/ChatMessages/ChatMessageComponent.tsx b/web/src/components/ChatMessages/ChatMessageComponent.tsx
index 6d532621a7..7891025065 100644
--- a/web/src/components/ChatMessages/ChatMessageComponent.tsx
+++ b/web/src/components/ChatMessages/ChatMessageComponent.tsx
@@ -311,7 +311,7 @@ export const ChatMessageComponent: React.FC<ChatMessageProps> = ({
onClick={toggleRole}
type="button"
variant="ghost"
- className="text-muted-foreground hover:bg-accent hover:text-accent-foreground h-6 w-full px-1 py-0 text-[10px] font-semibold"
+ className="text-muted-foreground hover:bg-accent hover:text-accent-foreground h-6 w-full px-1 py-0 text-[10px] font-bold"
>
{capitalize(message.role)}
</Button>
diff --git a/web/src/components/ChatMessages/ToolCallCard.tsx b/web/src/components/ChatMessages/ToolCallCard.tsx
index 78918c9d4a..89ea1599ea 100644
--- a/web/src/components/ChatMessages/ToolCallCard.tsx
+++ b/web/src/components/ChatMessages/ToolCallCard.tsx
@@ -11,7 +11,7 @@ export const ToolCallCard: React.FC<{ toolCall: LLMToolCall }> = ({
<div className="text-xs text-gray-500 dark:text-gray-400">
Tool called
</div>
- <div className="mt-1 overflow-hidden text-xs font-medium text-ellipsis whitespace-nowrap">
+ <div className="mt-1 overflow-hidden text-xs font-bold text-ellipsis whitespace-nowrap">
{toolCall.name}
</div>
</div>
diff --git a/web/src/components/CrashModal/CrashModal.tsx b/web/src/components/CrashModal/CrashModal.tsx
index 0e4716a01d..5b488b45e3 100644
--- a/web/src/components/CrashModal/CrashModal.tsx
+++ b/web/src/components/CrashModal/CrashModal.tsx
@@ -22,12 +22,12 @@ export const CrashModal = ({
</div>
<div className="mt-4 min-w-0">
- <h1 className="text-2xl font-semibold tracking-tight">
+ <h1 className="text-2xl font-bold tracking-tight">
Something went wrong
</h1>
<p className="text-muted-foreground mt-2 text-sm leading-5">
{statusCode ? (
- <span className="text-foreground mr-2 font-medium whitespace-nowrap">
+ <span className="text-foreground mr-2 font-bold whitespace-nowrap">
Error {statusCode}
</span>
) : null}
@@ -38,7 +38,7 @@ export const CrashModal = ({
<div className="border-border bg-muted/40 mt-5 rounded-lg border p-4">
<dl>
<div>
- <dt className="text-muted-foreground text-xs font-medium">
+ <dt className="text-muted-foreground text-xs font-bold">
Error ID
</dt>
<dd className="mt-1.5 font-mono text-xs leading-5 break-all">
diff --git a/web/src/components/DiffViewer.tsx b/web/src/components/DiffViewer.tsx
index f61f163c4f..7a65860377 100644
--- a/web/src/components/DiffViewer.tsx
+++ b/web/src/components/DiffViewer.tsx
@@ -200,7 +200,7 @@ const DiffViewer: React.FC<DiffViewerProps> = ({
<Card>
<CardContent className="p-0">
<div className="grid grid-cols-2">
- <div className="bg-muted flex flex-row gap-1 border-r border-b px-4 py-2 text-xs font-semibold">
+ <div className="bg-muted flex flex-row gap-1 border-r border-b px-4 py-2 text-xs font-bold">
{oldLabel}
{oldSubLabel && (
<div
@@ -211,7 +211,7 @@ const DiffViewer: React.FC<DiffViewerProps> = ({
</div>
)}
</div>
- <div className="bg-muted flex flex-row gap-1 border-b px-4 py-2 text-xs font-semibold">
+ <div className="bg-muted flex flex-row gap-1 border-b px-4 py-2 text-xs font-bold">
{newLabel}
{newSubLabel && (
<div
diff --git a/web/src/components/ModelParameters/LLMApiKeyComponent.tsx b/web/src/components/ModelParameters/LLMApiKeyComponent.tsx
index 60a16443c6..034d855217 100644
--- a/web/src/components/ModelParameters/LLMApiKeyComponent.tsx
+++ b/web/src/components/ModelParameters/LLMApiKeyComponent.tsx
@@ -17,7 +17,7 @@ export const LLMApiKeyComponent = (p: {
if (!hasAccess) {
return (
<div>
- <Label className="text-xs font-semibold">API key</Label>
+ <Label className="text-xs font-bold">API key</Label>
<p className="text-muted-foreground text-sm">
LLM API Key only visible to Owner and Admin roles.
</p>
@@ -32,7 +32,7 @@ export const LLMApiKeyComponent = (p: {
if (apiKeys.isPending) {
return (
<div>
- <Label className="text-xs font-semibold">API key</Label>
+ <Label className="text-xs font-bold">API key</Label>
<p className="text-muted-foreground text-sm">Loading...</p>
</div>
);
@@ -43,7 +43,7 @@ export const LLMApiKeyComponent = (p: {
return (
<div className="space-y-2 text-xs">
- <Label className="text-xs font-semibold">API key</Label>
+ <Label className="text-xs font-bold">API key</Label>
<div>
{apiKey ? (
<Link href={`/project/${p.projectId}/settings/llm-connections`}>
diff --git a/web/src/components/ModelParameters/index.tsx b/web/src/components/ModelParameters/index.tsx
index 842ac56808..dbda9ab42c 100644
--- a/web/src/components/ModelParameters/index.tsx
+++ b/web/src/components/ModelParameters/index.tsx
@@ -103,7 +103,7 @@ export const ModelParameters: React.FC<ModelParamsContext> = ({
customHeader
) : (
<div className="flex items-center justify-between">
- <p className="font-semibold">Model</p>
+ <p className="font-bold">Model</p>
</div>
)}
<p className="text-xs">No LLM API key set in project. </p>
@@ -137,7 +137,7 @@ export const ModelParameters: React.FC<ModelParamsContext> = ({
sideOffset={5}
>
<div className="mb-3">
- <h4 className="mb-1 text-sm font-medium">Model Advanced Settings</h4>
+ <h4 className="mb-1 text-sm font-bold">Model Advanced Settings</h4>
<p className="text-muted-foreground text-xs">
Configure advanced parameters for your model.
</p>
@@ -299,7 +299,7 @@ export const ModelParameters: React.FC<ModelParamsContext> = ({
>
{!isEmbedded ? (
<div className="flex items-center justify-between">
- {customHeader ? customHeader : <p className="font-semibold">Model</p>}
+ {customHeader ? customHeader : <p className="font-bold">Model</p>}
{SettingsButton}
</div>
) : customHeader ? (
@@ -419,7 +419,7 @@ const ModelParamsSelect = ({
<div className="w-24 shrink-0">
<p
className={cn(
- "text-xs font-semibold",
+ "text-xs font-bold",
disabled && "text-muted-foreground",
)}
>
@@ -490,7 +490,7 @@ const ModelParamsSlider = ({
<div className="flex flex-row">
<p
className={cn(
- "flex-1 text-xs font-semibold",
+ "flex-1 text-xs font-bold",
(!enabled || formDisabled) && "text-muted-foreground",
)}
>
@@ -564,7 +564,7 @@ const ProviderOptionsInput = ({
<div className="flex-1 flex-row space-x-1">
<span
className={cn(
- "text-xs font-semibold",
+ "text-xs font-bold",
(!enabled || formDisabled) && "text-muted-foreground",
)}
>
diff --git a/web/src/components/PagedSettingsContainer.tsx b/web/src/components/PagedSettingsContainer.tsx
index 11001f58ab..2aa7e8ed70 100644
--- a/web/src/components/PagedSettingsContainer.tsx
+++ b/web/src/components/PagedSettingsContainer.tsx
@@ -83,7 +83,7 @@ export const PagedSettingsContainer = ({
<Link
key={page.title}
href={page.href}
- className="flex flex-row items-center gap-2 font-semibold"
+ className="flex flex-row items-center gap-2 font-bold"
>
{page.title}
<ArrowUpRight size={14} className="inline" />
@@ -93,7 +93,7 @@ export const PagedSettingsContainer = ({
key={page.title}
onClick={() => onChange(page.slug)}
className={cn(
- "cursor-pointer font-semibold",
+ "cursor-pointer font-bold",
page.slug === currentPage.slug && "text-primary",
)}
>
diff --git a/web/src/components/SettingsDangerZone.tsx b/web/src/components/SettingsDangerZone.tsx
index b10baa4c07..0c95ac3d00 100644
--- a/web/src/components/SettingsDangerZone.tsx
+++ b/web/src/components/SettingsDangerZone.tsx
@@ -18,7 +18,7 @@ export const SettingsDangerZone: React.FC<{
className="flex items-center justify-between gap-4 border-b p-3 last:border-b-0"
>
<div>
- <h4 className="font-semibold">{item.title}</h4>
+ <h4 className="font-bold">{item.title}</h4>
<p className="text-sm">{item.description}</p>
</div>
{item.button}
diff --git a/web/src/components/TruncatedLabels.tsx b/web/src/components/TruncatedLabels.tsx
index 73392b12cb..e48bed4f4e 100644
--- a/web/src/components/TruncatedLabels.tsx
+++ b/web/src/components/TruncatedLabels.tsx
@@ -54,7 +54,7 @@ export function TruncatedLabels({
<div
key={label}
className={cn(
- "bg-secondary text-secondary-foreground max-h-fit min-h-6 w-fit content-center rounded-sm px-1 text-left text-xs font-semibold",
+ "bg-secondary text-secondary-foreground max-h-fit min-h-6 w-fit content-center rounded-sm px-1 text-left text-xs font-bold",
badgeClassName,
)}
>
@@ -83,14 +83,14 @@ export function TruncatedLabels({
</HoverCardTrigger>
<HoverCardContent className="w-80 p-3" side="bottom" align="start">
<div className="space-y-2">
- <h4 className="text-sm font-semibold">All Labels</h4>
+ <h4 className="text-sm font-bold">All Labels</h4>
<div className="flex flex-wrap gap-1">
{sortedLabels.map((label) =>
showSimpleBadges ? (
<div
key={label}
className={cn(
- "bg-secondary text-secondary-foreground max-h-fit min-h-6 w-fit content-center rounded-sm px-1 text-left text-xs font-semibold",
+ "bg-secondary text-secondary-foreground max-h-fit min-h-6 w-fit content-center rounded-sm px-1 text-left text-xs font-bold",
badgeClassName,
)}
>
diff --git a/web/src/components/date-picker.tsx b/web/src/components/date-picker.tsx
index d92d15b9ef..3a0629df47 100644
--- a/web/src/components/date-picker.tsx
+++ b/web/src/components/date-picker.tsx
@@ -273,7 +273,7 @@ export function DatePickerWithRange({
{internalDateRange?.from && internalDateRange.to && (
<div className="flex flex-col gap-2 border-t-2 py-1.5 sm:flex-row sm:gap-0">
<div className="px-3">
- <p className="px-1 text-sm font-medium">
+ <p className="px-1 text-sm font-bold">
Start<span className="hidden sm:inline"> time</span>
</p>
<TimePicker
@@ -283,7 +283,7 @@ export function DatePickerWithRange({
/>
</div>
<div className="px-3">
- <p className="px-1 text-sm font-medium">
+ <p className="px-1 text-sm font-bold">
End<span className="hidden sm:inline"> time</span>
</p>
<TimePicker
@@ -566,7 +566,7 @@ export function TimeRangePicker({
{internalDateRange?.from && internalDateRange.to && (
<div className="flex flex-col gap-3 border-t p-3">
<div className="flex flex-col gap-1">
- <p className="px-1 text-sm font-medium">Start time</p>
+ <p className="px-1 text-sm font-bold">Start time</p>
<TimePicker
date={internalDateRange?.from}
setDate={onStartTimeSelection}
@@ -574,7 +574,7 @@ export function TimeRangePicker({
/>
</div>
<div className="flex flex-col gap-1">
- <p className="px-1 text-sm font-medium">End time</p>
+ <p className="px-1 text-sm font-bold">End time</p>
<TimePicker
date={internalDateRange?.to}
setDate={onEndTimeSelection}
diff --git a/web/src/components/date-range-dropdowns.tsx b/web/src/components/date-range-dropdowns.tsx
index ad7c9e1692..c260f84b3d 100644
--- a/web/src/components/date-range-dropdowns.tsx
+++ b/web/src/components/date-range-dropdowns.tsx
@@ -42,7 +42,7 @@ const BaseDateRangeDropdown = <T extends string>({
}: BaseDateRangeDropdownProps<T>) => {
return (
<Select value={selectedOption} onValueChange={onSelectionChange}>
- <SelectTrigger className="hover:bg-accent hover:text-accent-foreground w-fit font-medium focus:ring-0 focus:ring-offset-0">
+ <SelectTrigger className="hover:bg-accent hover:text-accent-foreground w-fit font-bold focus:ring-0 focus:ring-offset-0">
<SelectValue placeholder="Select">
<div className="flex items-center gap-2">
<span className="bg-muted w-10 rounded px-1.5 py-0.5 text-center text-xs">
diff --git a/web/src/components/deleteButton.tsx b/web/src/components/deleteButton.tsx
index aa3f319017..38e85f426d 100644
--- a/web/src/components/deleteButton.tsx
+++ b/web/src/components/deleteButton.tsx
@@ -134,7 +134,7 @@ export function DeleteButton({
? undefined
: `You don't have permission to delete this ${entityToDeleteName}.`
}
- variant={variant ?? "outline-solid"}
+ variant={variant ?? "outline"}
size={size ?? "icon"}
className={className}
disabled={!enabled}
@@ -176,7 +176,7 @@ export function DeleteButton({
<PopoverContent onClick={(e) => e.stopPropagation()}>
{deleteBlocker ?? (
<>
- <h2 className="mb-3 font-semibold">Please confirm</h2>
+ <h2 className="mb-3 font-bold">Please confirm</h2>
<p className="mb-3 max-w-72 text-sm">
{customDeletePrompt ??
`This action cannot be undone. It removes all the data associated with
diff --git a/web/src/components/design-system/ComponentGallery.stories.tsx b/web/src/components/design-system/ComponentGallery.stories.tsx
index aa837a457c..bb090df9be 100644
--- a/web/src/components/design-system/ComponentGallery.stories.tsx
+++ b/web/src/components/design-system/ComponentGallery.stories.tsx
@@ -64,7 +64,6 @@ const BUTTON_VARIANTS: ButtonProps["variant"][] = [
"destructive",
"destructive-secondary",
"outline",
- "outline-solid",
"secondary",
"tertiary",
"ghost",
@@ -130,7 +129,7 @@ function Section({
}) {
return (
<section className="mt-8">
- <h2 className="text-foreground text-lg font-semibold">{title}</h2>
+ <h2 className="text-foreground text-lg font-bold">{title}</h2>
{note && <p className="text-muted-foreground mt-1 text-xs">{note}</p>}
<div className="mt-3">{children}</div>
</section>
@@ -346,7 +345,7 @@ function ComponentGalleryDoc() {
className={`inline-block h-3 w-3 rounded-full ${style.markerClass}`}
/>
<span
- className={`rounded-md border px-2 py-0.5 text-xs font-medium ${style.badgeClass}`}
+ className={`rounded-md border px-2 py-0.5 text-xs font-bold ${style.badgeClass}`}
>
{EXPERIMENT_STYLE_LABELS[i]}
</span>
diff --git a/web/src/components/design-system/InlineEditText/InlineEditText.stories.tsx b/web/src/components/design-system/InlineEditText/InlineEditText.stories.tsx
index 848cdd73c7..dcd5bae844 100644
--- a/web/src/components/design-system/InlineEditText/InlineEditText.stories.tsx
+++ b/web/src/components/design-system/InlineEditText/InlineEditText.stories.tsx
@@ -34,7 +34,7 @@ export const WithLongValue = meta.story({
export const InHeading = meta.story({
render: (args) => (
- <h2 className="text-lg leading-7 font-semibold">
+ <h2 className="text-lg leading-7 font-bold">
<InlineEditText {...args} />
</h2>
),
diff --git a/web/src/components/design-system/ThemeTokens.stories.tsx b/web/src/components/design-system/ThemeTokens.stories.tsx
index c61de8528e..18307d4c5b 100644
--- a/web/src/components/design-system/ThemeTokens.stories.tsx
+++ b/web/src/components/design-system/ThemeTokens.stories.tsx
@@ -43,7 +43,7 @@ function PairChip({
return (
<div className="flex w-52 flex-col gap-1">
<div
- className="border-border flex h-12 items-center justify-center rounded-md border px-2 text-sm font-medium"
+ className="border-border flex h-12 items-center justify-center rounded-md border px-2 text-sm font-bold"
style={{
backgroundColor: `hsl(var(--${bg}))`,
color: `hsl(var(--${fg}))`,
@@ -69,7 +69,7 @@ function Section({
}) {
return (
<section className="mt-8">
- <h2 className="text-foreground text-lg font-semibold">{title}</h2>
+ <h2 className="text-foreground text-lg font-bold">{title}</h2>
{note && <p className="text-muted-foreground mt-1 text-xs">{note}</p>}
<div className="mt-3 flex flex-wrap gap-3">{children}</div>
</section>
diff --git a/web/src/components/editor/shared-theme.ts b/web/src/components/editor/shared-theme.ts
index 75b5100592..9658ec9f89 100644
--- a/web/src/components/editor/shared-theme.ts
+++ b/web/src/components/editor/shared-theme.ts
@@ -2,6 +2,10 @@ import { type CreateThemeOptions } from "@uiw/codemirror-themes";
import { tags as t } from "@lezer/highlight";
export const defaultSettingsBothThemes: CreateThemeOptions["settings"] = {
+ // Route all editors to the app's mono font token (IBM Plex Mono + fallbacks)
+ // instead of CodeMirror's generic `monospace` default. createTheme applies
+ // this to `.cm-scroller`, which `.cm-content` and `.cm-gutters` inherit.
+ fontFamily: "var(--font-mono)",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
caret: "hsl(var(--foreground))",
diff --git a/web/src/components/grouped-score-badge.tsx b/web/src/components/grouped-score-badge.tsx
index 8668451e8a..6b23a47c33 100644
--- a/web/src/components/grouped-score-badge.tsx
+++ b/web/src/components/grouped-score-badge.tsx
@@ -168,7 +168,7 @@ export const GroupedScoreBadges = <
<HoverCard>
<HoverCardTrigger className="inline-block rounded-sm">
<Badge
- className={`cursor-pointer ${compact ? "px-0.5 py-0 leading-tight" : "px-1"} text-xs font-medium${badgeClassName ? " " + badgeClassName : ""}`}
+ className={`cursor-pointer ${compact ? "px-0.5 py-0 leading-tight" : "px-1"} text-xs font-bold${badgeClassName ? " " + badgeClassName : ""}`}
variant="tertiary"
>
+{hiddenScores.length}
diff --git a/web/src/components/layouts/breadcrumb.tsx b/web/src/components/layouts/breadcrumb.tsx
index 3e0d2eb6a6..e4141c43cf 100644
--- a/web/src/components/layouts/breadcrumb.tsx
+++ b/web/src/components/layouts/breadcrumb.tsx
@@ -109,7 +109,7 @@ const BreadcrumbComponent = ({
<ChevronDownIcon className="h-4 w-4" />
</DropdownMenuTrigger>
<DropdownMenuContent align="start">
- <DropdownMenuItem className="font-semibold" asChild>
+ <DropdownMenuItem className="font-bold" asChild>
<Link href="/" className="cursor-pointer">
Organizations
</Link>
@@ -204,7 +204,7 @@ const BreadcrumbComponent = ({
<ChevronDownIcon className="h-4 w-4" />
</DropdownMenuTrigger>
<DropdownMenuContent align="start">
- <DropdownMenuItem asChild className="font-semibold">
+ <DropdownMenuItem asChild className="font-bold">
<Link
href={`/organization/${organization.id}`}
className="cursor-pointer"
diff --git a/web/src/components/layouts/header.tsx b/web/src/components/layouts/header.tsx
index 636960f0c3..48ebaf047c 100644
--- a/web/src/components/layouts/header.tsx
+++ b/web/src/components/layouts/header.tsx
@@ -34,13 +34,19 @@ function HeaderTitle({
level: "h3" | "h4" | "h5";
title: string;
}) {
+ // Top-level titles are bold (the font-relative role) and sit on the
+ // primary emphasis tier (the shell's sidebar tint would dim them);
+ // sub-levels follow the text-* token weight β€” hierarchy below h3 is
+ // carried by size.
switch (level) {
case "h3":
- return <h3 className="text-xl leading-7 font-bold">{title}</h3>;
+ return (
+ <h3 className="text-primary text-lg leading-7 font-bold">{title}</h3>
+ );
case "h4":
- return <h4 className="text-lg leading-6 font-medium">{title}</h4>;
+ return <h4 className="text-lg leading-6">{title}</h4>;
case "h5":
- return <h5 className="text-base leading-6 font-medium">{title}</h5>;
+ return <h5 className="text-base leading-6">{title}</h5>;
}
}
diff --git a/web/src/components/layouts/overview-panel.tsx b/web/src/components/layouts/overview-panel.tsx
index 8a0cef831e..4b5ebd3312 100644
--- a/web/src/components/layouts/overview-panel.tsx
+++ b/web/src/components/layouts/overview-panel.tsx
@@ -142,7 +142,7 @@ const OverviewPanelHeader = React.forwardRef<
{...props}
>
<div>
- {title && <h3 className="text-lg font-semibold">{title}</h3>}
+ {title && <h3 className="text-lg font-bold">{title}</h3>}
{subtitle && <p className="text-muted-foreground text-sm">{subtitle}</p>}
</div>
{actions && <div className="flex items-center gap-2">{actions}</div>}
@@ -203,7 +203,7 @@ const OverviewPanelSection = React.forwardRef<
>(({ title, className, children, ...props }, ref) => (
<div ref={ref} className={cn("space-y-3", className)} {...props}>
{title && (
- <h4 className="text-muted-foreground text-sm font-medium">{title}</h4>
+ <h4 className="text-muted-foreground text-sm font-bold">{title}</h4>
)}
{children}
</div>
diff --git a/web/src/components/layouts/page-header.tsx b/web/src/components/layouts/page-header.tsx
index 94db5302ed..db36043ea1 100644
--- a/web/src/components/layouts/page-header.tsx
+++ b/web/src/components/layouts/page-header.tsx
@@ -144,7 +144,12 @@ const PageHeader = ({
</div>
)}
<div className="relative inline-block max-w-md md:max-w-none">
- <h2 className="line-clamp-1 text-lg leading-7 font-semibold">
+ {/* Explicit color: the SidebarProvider shell sets
+ text-sidebar-foreground (60% grey in dark) on the whole
+ app, so unstyled text here would inherit the dimmed
+ sidebar tint. text-primary is the emphasis tier β€”
+ brighter than body text-foreground in dark. */}
+ <h2 className="text-primary line-clamp-1 text-lg leading-7 font-bold">
{titleContent ? (
titleContent
) : titleTooltip ? (
@@ -215,7 +220,7 @@ const PageHeader = ({
>
{tabsProps.tabs.map((tab) => {
const tabClassName = cn(
- "hover:bg-muted/50 focus-visible:ring-ring text-muted-foreground inline-flex h-full items-center justify-center rounded-none border-b-4 border-transparent px-2 py-0.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden",
+ "hover:bg-muted/50 focus-visible:ring-ring text-muted-foreground font-bold inline-flex h-full items-center justify-center rounded-none border-b-4 border-transparent px-2 py-0.5 text-sm whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden",
tab.value === tabsProps.activeTab
? "border-primary-accent text-foreground bg-transparent shadow-none"
: "",
diff --git a/web/src/components/magicui/rainbow-button.tsx b/web/src/components/magicui/rainbow-button.tsx
index 98310ec283..9ec23a9e1d 100644
--- a/web/src/components/magicui/rainbow-button.tsx
+++ b/web/src/components/magicui/rainbow-button.tsx
@@ -10,17 +10,22 @@ const rainbowButtonVariants = cva(
"relative cursor-pointer group transition-all animate-rainbow",
"inline-flex items-center justify-center gap-2 shrink-0",
"rounded-sm outline-hidden focus-visible:ring-[3px] aria-invalid:border-destructive",
- "text-sm font-medium whitespace-nowrap",
+ "text-sm font-bold whitespace-nowrap",
"disabled:pointer-events-none disabled:opacity-50",
"[&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0",
),
{
variants: {
variant: {
+ // Fill/fade layers are token-backed (--primary for the default
+ // variant, --background/--foreground for outline), so the tokens
+ // themselves flip between modes β€” no dark: gradient override needed
+ // (the old hardcoded #121213/#fff and #ffffff/#0a0a0a pairs were
+ // exactly this flip, frozen into raw hex).
default:
- "border-0 bg-[linear-gradient(#121213,#121213),linear-gradient(#121213_50%,rgba(18,18,19,0.6)_80%,rgba(18,18,19,0)),linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))] bg-size-[200%] text-primary-foreground [background-clip:padding-box,border-box,border-box] bg-origin-border [border:calc(0.125rem)_solid_transparent] before:absolute before:bottom-[-20%] before:left-1/2 before:z-0 before:h-1/5 before:w-3/5 before:-translate-x-1/2 before:animate-rainbow before:bg-[linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))] before:filter-[blur(0.75rem)] dark:bg-[linear-gradient(#fff,#fff),linear-gradient(#fff_50%,rgba(255,255,255,0.6)_80%,rgba(0,0,0,0)),linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))]",
+ "border-0 bg-[linear-gradient(hsl(var(--primary)),hsl(var(--primary))),linear-gradient(hsl(var(--primary))_50%,hsl(var(--primary)/0.6)_80%,hsl(var(--primary)/0)),linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))] bg-size-[200%] text-primary-foreground [background-clip:padding-box,border-box,border-box] bg-origin-border [border:calc(0.125rem)_solid_transparent] before:absolute before:bottom-[-20%] before:left-1/2 before:z-0 before:h-1/5 before:w-3/5 before:-translate-x-1/2 before:animate-rainbow before:bg-[linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))] before:filter-[blur(0.75rem)]",
outline:
- "border border-input border-b-transparent bg-[linear-gradient(#ffffff,#ffffff),linear-gradient(#ffffff_50%,rgba(18,18,19,0.6)_80%,rgba(18,18,19,0)),linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))] bg-size-[200%] text-accent-foreground [background-clip:padding-box,border-box,border-box] bg-origin-border before:absolute before:bottom-[-20%] before:left-1/2 before:z-0 before:h-1/5 before:w-3/5 before:-translate-x-1/2 before:animate-rainbow before:bg-[linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))] before:filter-[blur(0.75rem)] dark:bg-[linear-gradient(#0a0a0a,#0a0a0a),linear-gradient(#0a0a0a_50%,rgba(255,255,255,0.6)_80%,rgba(0,0,0,0)),linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))]",
+ "border border-input border-b-transparent bg-[linear-gradient(hsl(var(--background)),hsl(var(--background))),linear-gradient(hsl(var(--background))_50%,hsl(var(--foreground)/0.6)_80%,hsl(var(--foreground)/0)),linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))] bg-size-[200%] text-accent-foreground [background-clip:padding-box,border-box,border-box] bg-origin-border before:absolute before:bottom-[-20%] before:left-1/2 before:z-0 before:h-1/5 before:w-3/5 before:-translate-x-1/2 before:animate-rainbow before:bg-[linear-gradient(90deg,var(--color-1),var(--color-5),var(--color-3),var(--color-4),var(--color-2))] before:filter-[blur(0.75rem)]",
},
size: {
default: "h-9 px-4 py-2",
diff --git a/web/src/components/nav/nav-user.tsx b/web/src/components/nav/nav-user.tsx
index 692b9beb10..48566f5564 100644
--- a/web/src/components/nav/nav-user.tsx
+++ b/web/src/components/nav/nav-user.tsx
@@ -99,7 +99,7 @@ export function NavUser({ user, items }: UserNavigationProps) {
</AvatarFallback>
</Avatar>
<div className="grid flex-1 text-left text-sm leading-tight">
- <span className="truncate font-semibold" title={user.name}>
+ <span className="truncate font-bold" title={user.name}>
{user.name}
</span>
<span className="truncate text-xs" title={user.email}>
@@ -128,7 +128,7 @@ export function NavUser({ user, items }: UserNavigationProps) {
</AvatarFallback>
</Avatar>
<div className="grid flex-1 text-left text-sm leading-tight">
- <span className="truncate font-semibold" title={user.name}>
+ <span className="truncate font-bold" title={user.name}>
{user.name}
</span>
<span className="truncate text-xs" title={user.email}>
diff --git a/web/src/components/onboarding/DatasetItemsOnboarding.tsx b/web/src/components/onboarding/DatasetItemsOnboarding.tsx
index c2e09b7c9e..c6517abbed 100644
--- a/web/src/components/onboarding/DatasetItemsOnboarding.tsx
+++ b/web/src/components/onboarding/DatasetItemsOnboarding.tsx
@@ -61,7 +61,7 @@ const DatasetItemEntryPointRow = ({
>
<div className="flex items-center">{icon}</div>
<div className="flex flex-1 flex-col gap-1">
- <h3 className="font-semibold">{title}</h3>
+ <h3 className="font-bold">{title}</h3>
<p className="text-muted-foreground text-sm">{description}</p>
</div>
</div>
diff --git a/web/src/components/onboarding/EvaluatorsOnboarding.tsx b/web/src/components/onboarding/EvaluatorsOnboarding.tsx
index ba9d9b0484..418cfe3db2 100644
--- a/web/src/components/onboarding/EvaluatorsOnboarding.tsx
+++ b/web/src/components/onboarding/EvaluatorsOnboarding.tsx
@@ -55,13 +55,13 @@ export function EvaluatorsOnboarding({ projectId }: EvaluatorsOnboardingProps) {
Langfuse supports two evaluator types:
<ul className="text-muted-foreground mx-auto mt-2 max-w-2xl list-disc space-y-2 pl-5 text-left text-sm">
<li>
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
LLM-as-a-judge evaluators
</span>{" "}
use an LLM to score outputs against natural-language criteria.
</li>
<li>
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
Code evaluators
</span>{" "}
use {codeEvaluatorLanguageDescription} logic for deterministic,
diff --git a/web/src/components/onboarding/SessionsOnboarding.tsx b/web/src/components/onboarding/SessionsOnboarding.tsx
index 646cc87397..3b8689423d 100644
--- a/web/src/components/onboarding/SessionsOnboarding.tsx
+++ b/web/src/components/onboarding/SessionsOnboarding.tsx
@@ -10,7 +10,7 @@ export function SessionsOnboarding() {
videoSrc="https://static.langfuse.com/prod-assets/onboarding/sessions-overview-v1.mp4"
>
<div className="mt-8">
- <h3 className="mb-4 text-2xl font-semibold">Start using sessions</h3>
+ <h3 className="mb-4 text-2xl font-bold">Start using sessions</h3>
<p className="text-muted-foreground mb-4 text-sm">
To start using sessions, you need to add a <code>sessionId</code> to
your traces.
diff --git a/web/src/components/onboarding/UsersOnboarding.tsx b/web/src/components/onboarding/UsersOnboarding.tsx
index 96aa1a28aa..d9984b4a33 100644
--- a/web/src/components/onboarding/UsersOnboarding.tsx
+++ b/web/src/components/onboarding/UsersOnboarding.tsx
@@ -10,7 +10,7 @@ export function UsersOnboarding() {
videoSrc="https://static.langfuse.com/prod-assets/onboarding/users-overview-v1.mp4"
>
<div className="mt-8">
- <h3 className="mb-4 text-2xl font-semibold">Start tracking users</h3>
+ <h3 className="mb-4 text-2xl font-bold">Start tracking users</h3>
<p className="text-muted-foreground mb-4 text-sm">
To start tracking users, you need to add a <code>userId</code> to your
traces.
diff --git a/web/src/components/publish-object-switch.tsx b/web/src/components/publish-object-switch.tsx
index c51f995789..85d601ca76 100644
--- a/web/src/components/publish-object-switch.tsx
+++ b/web/src/components/publish-object-switch.tsx
@@ -196,7 +196,7 @@ const Base = (props: {
return (
<div className={cn("flex items-center gap-1", props.label && "w-full")}>
- <div className={cn("text-sm font-semibold", props.label && "w-full")}>
+ <div className={cn("text-sm font-bold", props.label && "w-full")}>
<Popover
open={isOpen}
onOpenChange={(open) => {
diff --git a/web/src/components/session/SessionObservationIO.tsx b/web/src/components/session/SessionObservationIO.tsx
index e5d899fd35..c12fbfe951 100644
--- a/web/src/components/session/SessionObservationIO.tsx
+++ b/web/src/components/session/SessionObservationIO.tsx
@@ -41,7 +41,7 @@ const TruncatedIOSection = ({
return (
<div className="flex flex-col gap-1">
<div className="text-muted-foreground flex flex-wrap items-center gap-2 text-xs">
- <span className="font-medium">{label}</span>
+ <span className="font-bold">{label}</span>
{(truncated || shown.length < text.length) && (
<span>
{compactNumberFormatter(Math.max(fullLength, text.length), 1)}{" "}
diff --git a/web/src/components/session/TraceEventsRow.tsx b/web/src/components/session/TraceEventsRow.tsx
index 30f0dfc7fb..0004d88de8 100644
--- a/web/src/components/session/TraceEventsRow.tsx
+++ b/web/src/components/session/TraceEventsRow.tsx
@@ -48,7 +48,7 @@ const openSessionViewMenu = () => {
*/
const ViewMismatchNotice = ({ viewLabel }: { viewLabel: string | null }) => (
<div className="flex flex-col items-start gap-1.5 rounded-md border border-dashed border-amber-500/50 bg-amber-500/5 p-3">
- <div className="flex items-center gap-2 text-xs font-medium text-amber-700 dark:text-amber-500">
+ <div className="flex items-center gap-2 text-xs font-bold text-amber-700 dark:text-amber-500">
<FilterX className="h-3.5 w-3.5 shrink-0" />
{viewLabel
? `No observation matches the "${viewLabel}" view in this trace`
@@ -344,7 +344,7 @@ export const TraceEventsRow = React.memo(
{/* min-w-0 + wrap-break-word: an unbroken long trace
name must wrap inside the panel, not escape the card */}
<div className="flex min-w-0 flex-col">
- <span className="text-xs font-medium wrap-break-word">
+ <span className="text-xs font-bold wrap-break-word">
{trace.name ?? "Trace"} ({trace.id})&nbsp;β†—
</span>
<span className="text-muted-foreground text-xs">
@@ -395,7 +395,7 @@ export const TraceEventsRow = React.memo(
</div>
</div>
<div className="flex-1">
- <p className="mb-1 font-medium">Scores</p>
+ <p className="mb-1 font-bold">Scores</p>
<div className="flex flex-wrap content-start items-start gap-1">
<GroupedScoreBadges scores={trace.scores} />
</div>
diff --git a/web/src/components/session/TraceRow.tsx b/web/src/components/session/TraceRow.tsx
index 9d63818344..5633a8a1fc 100644
--- a/web/src/components/session/TraceRow.tsx
+++ b/web/src/components/session/TraceRow.tsx
@@ -84,7 +84,7 @@ const TraceRow = React.memo(
{/* min-w-0 + wrap-break-word: an unbroken long trace name
must wrap inside the panel, not escape the card */}
<div className="flex min-w-0 flex-col">
- <span className="text-xs font-medium wrap-break-word">
+ <span className="text-xs font-bold wrap-break-word">
{trace.name} ({trace.id})&nbsp;β†—
</span>
<span className="text-muted-foreground text-xs">
@@ -135,7 +135,7 @@ const TraceRow = React.memo(
</div>
</div>
<div className="flex-1">
- <p className="mb-1 font-medium">Scores</p>
+ <p className="mb-1 font-bold">Scores</p>
<div className="flex flex-wrap content-start items-start gap-1">
<GroupedScoreBadges scores={trace.scores} />
</div>
diff --git a/web/src/components/table/data-table-ai-filters.tsx b/web/src/components/table/data-table-ai-filters.tsx
index e63d4d5749..8096fc1627 100644
--- a/web/src/components/table/data-table-ai-filters.tsx
+++ b/web/src/components/table/data-table-ai-filters.tsx
@@ -77,7 +77,7 @@ export function DataTableAIFilters({
return (
<div className="flex flex-col gap-3">
<div className="flex items-center gap-2">
- <span className="text-sm font-medium">Filter with AI</span>
+ <span className="text-sm font-bold">Filter with AI</span>
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
diff --git a/web/src/components/table/data-table-column-visibility-filter.tsx b/web/src/components/table/data-table-column-visibility-filter.tsx
index 5ad07c1da8..038889acaf 100644
--- a/web/src/components/table/data-table-column-visibility-filter.tsx
+++ b/web/src/components/table/data-table-column-visibility-filter.tsx
@@ -215,7 +215,7 @@ function GroupVisibilityHeader<TData, TValue>({
>
<div className="flex items-center gap-2">
<Component className="h-4 w-4 opacity-50" />
- <span className="text-sm font-medium">
+ <span className="text-sm font-bold">
{column.header && typeof column.header === "string"
? column.header
: column.accessorKey}
@@ -439,7 +439,7 @@ export function DataTableColumnVisibilityFilter<TData, TValue>({
className="hover:bg-transparent!"
onClick={() => toggleAllColumns(count, total)}
>
- <span className="text-sm font-medium">
+ <span className="text-sm font-bold">
{count === total
? "Deselect All Columns"
: "Select All Columns"}
diff --git a/web/src/components/table/data-table-controls.tsx b/web/src/components/table/data-table-controls.tsx
index 4e33ddad6d..8ba122874d 100644
--- a/web/src/components/table/data-table-controls.tsx
+++ b/web/src/components/table/data-table-controls.tsx
@@ -579,7 +579,7 @@ export function DataTableControls({
</button>
</TooltipTrigger>
<TooltipContent side="right" className="max-w-64 text-xs">
- <p className="font-medium">
+ <p className="font-bold">
{activeFilterCount} active{" "}
{activeFilterCount === 1 ? "filter" : "filters"}
</p>
@@ -626,7 +626,7 @@ export function DataTableControls({
</TooltipTrigger>
<TooltipContent>Hide filters</TooltipContent>
</Tooltip>
- <span className="text-sm font-medium">Filters</span>
+ <span className="text-sm font-bold">Filters</span>
{activeFilterCount > 0 && (
<Badge variant="secondary" className="h-5 px-1.5 text-xs">
{activeFilterCount}
@@ -973,7 +973,7 @@ const FilterAccordionTrigger = ({
// min-w-0: without it the trigger's automatic min width equals the
// nowrap chip's full text width, so long chips push the row past the
// panel edge (clipped) instead of ellipsing.
- "group/facet relative flex min-w-0 flex-1 items-center gap-1.5 text-left font-medium hover:underline [&[data-state=open]>svg:first-child]:rotate-90",
+ "group/facet relative flex min-w-0 flex-1 items-center gap-1.5 text-left font-bold hover:underline [&[data-state=open]>svg:first-child]:rotate-90",
className,
)}
{...props}
@@ -1036,7 +1036,7 @@ export function FilterAccordionItem({
<FilterAccordionTrigger
className={cn(
"text-muted-foreground hover:text-foreground bg-muted hover:bg-accent min-h-6 rounded-md px-2 py-1 text-xs font-normal transition-colors hover:no-underline",
- isActive && "text-foreground font-semibold",
+ isActive && "text-foreground font-bold",
isDisabled &&
"text-muted-foreground/60 hover:text-muted-foreground/60 cursor-not-allowed hover:bg-transparent",
)}
@@ -1108,7 +1108,7 @@ export function FilterAccordionItem({
// must equal the label's line height so headers with and
// without a value render at the same height.
isActive
- ? "bg-background text-foreground rounded px-1 font-medium"
+ ? "bg-background text-foreground rounded px-1 font-bold"
: "text-muted-foreground/60 font-normal",
)}
title={summary}
@@ -2188,11 +2188,11 @@ function TextFilterSection({
key={idx}
className="group/textfilter border-border/40 bg-muted/30 flex items-center gap-2 rounded border px-2 py-1 text-xs"
>
- <span className="text-muted-foreground shrink-0 text-[11px] font-medium">
+ <span className="text-muted-foreground shrink-0 text-[11px] font-bold">
{f.operator === "contains" ? "contains" : "does not contain"}
</span>
<span
- className="min-w-0 flex-1 truncate font-medium"
+ className="min-w-0 flex-1 truncate font-bold"
title={f.value}
>
{f.value}
@@ -2308,7 +2308,7 @@ export function DataTableControlsSection({
}) {
return (
<div className="space-y-3">
- <h3 className="text-foreground text-sm font-medium">{title}</h3>
+ <h3 className="text-foreground text-sm font-bold">{title}</h3>
<div>{children}</div>
</div>
);
diff --git a/web/src/components/table/data-table-multi-select-actions/data-table-select-all-banner.tsx b/web/src/components/table/data-table-multi-select-actions/data-table-select-all-banner.tsx
index daacf4f7af..96ac005783 100644
--- a/web/src/components/table/data-table-multi-select-actions/data-table-select-all-banner.tsx
+++ b/web/src/components/table/data-table-multi-select-actions/data-table-select-all-banner.tsx
@@ -19,13 +19,13 @@ export function DataTableSelectAllBanner({
{selectAll ? (
<span className="text-sm">
All{" "}
- <span className="font-semibold">
+ <span className="font-bold">
{exactCount === null ? "matching" : numberFormatter(exactCount, 0)}
</span>{" "}
items are selected.{" "}
<Button
variant="ghost"
- className="text-accent-dark-blue hover:text-accent-dark-blue/80 h-auto p-0 font-semibold"
+ className="text-accent-dark-blue hover:text-accent-dark-blue/80 h-auto p-0 font-bold"
onClick={() => {
setSelectAll(false);
setRowSelection({});
@@ -36,12 +36,11 @@ export function DataTableSelectAllBanner({
</span>
) : (
<span className="text-sm">
- All{" "}
- <span className="font-semibold">{numberFormatter(pageSize, 0)}</span>{" "}
+ All <span className="font-bold">{numberFormatter(pageSize, 0)}</span>{" "}
items on this page are selected.{" "}
<Button
variant="ghost"
- className="text-accent-dark-blue hover:text-accent-dark-blue/80 h-auto p-0 font-semibold"
+ className="text-accent-dark-blue hover:text-accent-dark-blue/80 h-auto p-0 font-bold"
onClick={() => {
setSelectAll(true);
}}
diff --git a/web/src/components/table/data-table-pagination.tsx b/web/src/components/table/data-table-pagination.tsx
index 4b751a361b..5ce62c3d91 100644
--- a/web/src/components/table/data-table-pagination.tsx
+++ b/web/src/components/table/data-table-pagination.tsx
@@ -82,10 +82,8 @@ export function DataTablePagination<TData>({
</div>
<div className="flex flex-wrap items-center space-x-6 lg:space-x-8">
<div className="flex items-center space-x-2">
- <p className="text-sm font-medium whitespace-nowrap md:hidden">
- Rows
- </p>
- <p className="hidden text-sm font-medium whitespace-nowrap md:block">
+ <p className="text-sm font-bold whitespace-nowrap md:hidden">Rows</p>
+ <p className="hidden text-sm font-bold whitespace-nowrap md:block">
Rows per page
</p>
<Select
@@ -109,7 +107,7 @@ export function DataTablePagination<TData>({
</SelectContent>
</Select>
</div>
- <div className="flex items-center justify-center gap-1 text-sm font-medium whitespace-nowrap">
+ <div className="flex items-center justify-center gap-1 text-sm font-bold whitespace-nowrap">
{table.getPageCount() !== -1 ? (
<>
Page
diff --git a/web/src/components/table/data-table.stories.tsx b/web/src/components/table/data-table.stories.tsx
index b119a2bfc3..df6d2076d1 100644
--- a/web/src/components/table/data-table.stories.tsx
+++ b/web/src/components/table/data-table.stories.tsx
@@ -1007,7 +1007,7 @@ function DensityPanel({ rowHeight }: { rowHeight: RowHeight }) {
const columns = useMemo(() => buildTraceColumns(rowHeight), [rowHeight]);
return (
<div className="flex min-h-0 flex-1 flex-col">
- <div className="text-muted-foreground mb-1 text-xs font-medium">
+ <div className="text-muted-foreground mb-1 text-xs font-bold">
rowHeight = {rowHeight} β€” {label}
</div>
<div className="flex min-h-0 flex-1 flex-col border">
diff --git a/web/src/components/table/data-table.tsx b/web/src/components/table/data-table.tsx
index 2249d84be5..bc7da6a4d0 100644
--- a/web/src/components/table/data-table.tsx
+++ b/web/src/components/table/data-table.tsx
@@ -578,7 +578,7 @@ export function DataTable<TData extends object, TValue>({
</div>
</div>
{!hidePagination && pagination !== undefined ? (
- <div className="bg-background sticky bottom-0 z-10 flex w-full justify-end border-t py-2 pr-2 font-medium">
+ <div className="bg-background sticky bottom-0 z-10 flex w-full justify-end border-t py-2 pr-2 font-bold">
<DataTablePagination
table={table}
isLoading={data.isLoading}
diff --git a/web/src/components/table/peek.tsx b/web/src/components/table/peek.tsx
index e87508b488..f1f0f4c467 100644
--- a/web/src/components/table/peek.tsx
+++ b/web/src/components/table/peek.tsx
@@ -337,8 +337,11 @@ function TablePeekViewComponent(props: TablePeekViewProps) {
// side. The body clips its own content instead.
"bg-modal top-banner-offset h-screen-with-banner fixed right-0 bottom-0 flex max-h-full min-h-0 max-w-none flex-col gap-0 border-l",
// Soft shadow cast leftward (toward the table) to lift the peek
- // off the content behind it.
- "shadow-[-12px_0_32px_-16px_rgb(0_0_0_/_0.30)]",
+ // off the content behind it. Token-backed so it stays a DARK
+ // cast in both modes: foreground is near-black in light mode,
+ // and background is near-black in dark mode (where foreground
+ // would flip to a white glow).
+ "shadow-[-12px_0_32px_-16px_hsl(var(--foreground)/0.3)] dark:shadow-[-12px_0_32px_-16px_hsl(var(--background)/0.3)]",
"data-[state=open]:animate-in data-[state=open]:slide-in-from-right data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right data-[state=closed]:duration-100 data-[state=open]:duration-100",
panel.isResizing && "select-none",
)}
diff --git a/web/src/components/table/peek/PeekHeader.tsx b/web/src/components/table/peek/PeekHeader.tsx
index 0bdec17e9f..4cf3bc9932 100644
--- a/web/src/components/table/peek/PeekHeader.tsx
+++ b/web/src/components/table/peek/PeekHeader.tsx
@@ -214,7 +214,7 @@ export function PeekHeader({
<ItemBadge type={itemType} showLabel={plan.badgeShowLabel} />
</div>
<span
- className="truncate text-sm font-medium focus:outline-hidden"
+ className="truncate text-sm font-bold focus:outline-hidden"
tabIndex={0}
title={typeof title === "string" ? title : undefined}
>
diff --git a/web/src/components/table/peek/peek-evaluator-config-detail.tsx b/web/src/components/table/peek/peek-evaluator-config-detail.tsx
index 90b186b345..efb38bc561 100644
--- a/web/src/components/table/peek/peek-evaluator-config-detail.tsx
+++ b/web/src/components/table/peek/peek-evaluator-config-detail.tsx
@@ -58,7 +58,7 @@ const PeekViewEvaluatorConfigDetail = ({
<div className="grid h-full flex-1 grid-rows-[auto_auto_1fr] gap-2 overflow-hidden p-3 contain-layout">
<div className="flex items-center justify-between">
<div className="flex flex-row items-center gap-2">
- <span className="max-h-fit text-lg font-medium">Configuration</span>
+ <span className="max-h-fit text-lg font-bold">Configuration</span>
<div className="flex items-center gap-2">
<StatusBadge
type={displayStatus.toLowerCase()}
@@ -106,7 +106,7 @@ const PeekViewEvaluatorConfigDetail = ({
<EvaluatorPausedCallout projectId={projectId} evalConfig={evalConfig} />
<CardDescription className="flex items-center text-sm">
- <span className="mr-2 text-sm font-medium">Referenced Evaluator</span>
+ <span className="mr-2 text-sm font-bold">Referenced Evaluator</span>
{evalConfig.evalTemplate && (
<TableLink
path={`/project/${projectId}/evals/templates/${evalConfig.evalTemplate.id}`}
diff --git a/web/src/components/table/peek/peek-evaluator-template-detail.tsx b/web/src/components/table/peek/peek-evaluator-template-detail.tsx
index 7077682825..584faa0506 100644
--- a/web/src/components/table/peek/peek-evaluator-template-detail.tsx
+++ b/web/src/components/table/peek/peek-evaluator-template-detail.tsx
@@ -27,7 +27,7 @@ const PeekViewEvaluatorTemplateDetail = ({
<div className="grid h-full flex-1 grid-rows-[auto_1fr] gap-2 overflow-hidden p-4 contain-layout">
<div className="flex w-full flex-col items-start justify-between space-y-2 overflow-y-auto pb-4">
<div className="border-border bg-muted/50 mb-1 w-full rounded-md border p-4">
- <h3 className="mb-1 text-sm font-medium">Selected Evaluator</h3>
+ <h3 className="mb-1 text-sm font-bold">Selected Evaluator</h3>
<div className="flex items-center gap-2">
<p className="text-muted-foreground text-sm">{template.name}</p>
<MaintainerTooltip maintainer={getMaintainer(template)} />
diff --git a/web/src/components/table/table-id.tsx b/web/src/components/table/table-id.tsx
index c9262b9660..cbc18e4f18 100644
--- a/web/src/components/table/table-id.tsx
+++ b/web/src/components/table/table-id.tsx
@@ -11,7 +11,7 @@ export default function TableIdOrName({
<div
title={value}
className={cn(
- "inline-block max-w-full overflow-hidden rounded py-0.5 text-xs font-semibold text-nowrap text-ellipsis",
+ "inline-block max-w-full overflow-hidden rounded py-0.5 text-xs font-bold text-nowrap text-ellipsis",
className,
)}
>
diff --git a/web/src/components/table/table-link.tsx b/web/src/components/table/table-link.tsx
index e9ddfc5681..dc2f3c9719 100644
--- a/web/src/components/table/table-link.tsx
+++ b/web/src/components/table/table-link.tsx
@@ -28,7 +28,7 @@ export default function TableLink({
return (
<Link
className={cn(
- "text-link hover:text-link-hover inline-block max-w-full text-xs leading-normal font-semibold",
+ "text-link hover:text-link-hover inline-block max-w-full text-xs leading-normal font-bold",
className,
)}
href={path}
diff --git a/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx b/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx
index 53759ac051..6e26bdb1d0 100644
--- a/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx
+++ b/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx
@@ -705,9 +705,7 @@ export function TableViewPresetsDrawer({
<PopoverContent
onClick={(e) => e.stopPropagation()}
>
- <h2 className="mb-3 font-semibold">
- Edit
- </h2>
+ <h2 className="mb-3 font-bold">Edit</h2>
<Form {...form}>
<form
onSubmit={form.handleSubmit(
diff --git a/web/src/components/table/use-cases/models.tsx b/web/src/components/table/use-cases/models.tsx
index e9812b73d8..a276d71c16 100644
--- a/web/src/components/table/use-cases/models.tsx
+++ b/web/src/components/table/use-cases/models.tsx
@@ -118,7 +118,7 @@ export default function ModelTable({ projectId }: { projectId: string }) {
cell: ({ row }) => {
return (
<span
- className="truncate font-mono text-xs font-semibold"
+ className="truncate font-mono text-xs font-bold"
title={row.original.modelName}
>
{row.original.modelName}
diff --git a/web/src/components/trace/TraceDetailActions.tsx b/web/src/components/trace/TraceDetailActions.tsx
index 65dad74301..bde0e7c372 100644
--- a/web/src/components/trace/TraceDetailActions.tsx
+++ b/web/src/components/trace/TraceDetailActions.tsx
@@ -118,7 +118,7 @@ export function TraceDetailActions({
deleteConfirmation={name ?? ""}
icon
// Match Star/Publish so the three icons share one row height and a
- // ghost (not boxed "outline-solid") style.
+ // ghost (not boxed "outline") style.
size={size}
variant="ghost"
/>
diff --git a/web/src/components/trace/TracePage.tsx b/web/src/components/trace/TracePage.tsx
index cbaa7e6150..22512fde49 100644
--- a/web/src/components/trace/TracePage.tsx
+++ b/web/src/components/trace/TracePage.tsx
@@ -98,7 +98,7 @@ export function TracePage({
)
) : undefined;
const sharedBadge = showPublicIndicators ? (
- <Badge variant="outline" className="text-xs font-medium">
+ <Badge variant="outline" className="text-xs font-bold">
Public
</Badge>
) : undefined;
diff --git a/web/src/components/trace/components/IOPreview/IOPreview.tsx b/web/src/components/trace/components/IOPreview/IOPreview.tsx
index 558b400a75..52c1823225 100644
--- a/web/src/components/trace/components/IOPreview/IOPreview.tsx
+++ b/web/src/components/trace/components/IOPreview/IOPreview.tsx
@@ -311,7 +311,7 @@ export function IOPreview({
<div className="bg-accent flex h-8 w-8 items-center justify-center rounded-full">
<BookOpen className="text-muted-foreground h-4 w-4" />
</div>
- <h3 className="text-sm font-semibold">
+ <h3 className="text-sm font-bold">
Looks like this trace didn&apos;t receive an input or output.
</h3>
</div>
diff --git a/web/src/components/trace/components/IOPreview/IOPreviewJSON.tsx b/web/src/components/trace/components/IOPreview/IOPreviewJSON.tsx
index f08fe141c4..825795da00 100644
--- a/web/src/components/trace/components/IOPreview/IOPreviewJSON.tsx
+++ b/web/src/components/trace/components/IOPreview/IOPreviewJSON.tsx
@@ -467,13 +467,13 @@ function IOPreviewJSONInner({
{needsVirtualization && (
<HoverCard>
<HoverCardTrigger asChild>
- <span className="bg-muted text-muted-foreground ml-auto cursor-help rounded px-1.5 py-px text-[10px] font-medium">
+ <span className="bg-muted text-muted-foreground ml-auto cursor-help rounded px-1.5 py-px text-[10px] font-bold">
Virtualized
</span>
</HoverCardTrigger>
<HoverCardContent className="w-80" side="bottom" align="end">
<div className="space-y-2">
- <p className="text-sm font-medium">Virtualized View</p>
+ <p className="text-sm font-bold">Virtualized View</p>
<p className="text-muted-foreground text-xs">
This view is using virtualization due to a large number of
keys ({rowCounts.input.toLocaleString()} input,{" "}
diff --git a/web/src/components/trace/components/IOPreview/components/CorrectedOutputDiffDialog.tsx b/web/src/components/trace/components/IOPreview/components/CorrectedOutputDiffDialog.tsx
index 88aaf33aeb..e226c9db93 100644
--- a/web/src/components/trace/components/IOPreview/components/CorrectedOutputDiffDialog.tsx
+++ b/web/src/components/trace/components/IOPreview/components/CorrectedOutputDiffDialog.tsx
@@ -84,7 +84,7 @@ export const CorrectedOutputDiffDialog: React.FC<
{hasNoOriginalOutput ? (
<div className="flex flex-col items-center justify-center p-8 text-center">
<div className="text-muted-foreground">
- <p className="text-lg font-medium">No original output</p>
+ <p className="text-lg font-bold">No original output</p>
<p className="mt-2 text-sm">
There is no original output to compare with the correction.
</p>
diff --git a/web/src/components/trace/components/IOPreview/components/CorrectedOutputField.tsx b/web/src/components/trace/components/IOPreview/components/CorrectedOutputField.tsx
index 9265cf4bdb..e3b73e116b 100644
--- a/web/src/components/trace/components/IOPreview/components/CorrectedOutputField.tsx
+++ b/web/src/components/trace/components/IOPreview/components/CorrectedOutputField.tsx
@@ -163,7 +163,7 @@ export function CorrectedOutputField({
<div className="flex items-center gap-1">
<span
className={cn(
- "text-sm font-medium",
+ "text-sm font-bold",
compact ? "text-xs" : "text-sm",
)}
>
diff --git a/web/src/components/trace/components/IOPreview/components/LargeJsonFieldFallback.tsx b/web/src/components/trace/components/IOPreview/components/LargeJsonFieldFallback.tsx
index c0fb5dabc8..bffb274ba8 100644
--- a/web/src/components/trace/components/IOPreview/components/LargeJsonFieldFallback.tsx
+++ b/web/src/components/trace/components/IOPreview/components/LargeJsonFieldFallback.tsx
@@ -64,7 +64,7 @@ export function LargeJsonFieldFallback({
<div className="io-message-content">
<div className="my-2 flex flex-col gap-2 rounded-sm border border-dashed p-3">
<div className="text-muted-foreground flex flex-wrap items-center gap-2 text-xs">
- <span className="text-foreground font-medium">{title}</span>
+ <span className="text-foreground font-bold">{title}</span>
<span>
{compactNumberFormatter(charCount, 1)} characters β€” too large to
render in JSON view
@@ -72,8 +72,8 @@ export function LargeJsonFieldFallback({
</div>
<p className="text-muted-foreground text-xs">
Rendering this much JSON at once freezes the tab. Use the{" "}
- <span className="font-medium">Formatted</span> or{" "}
- <span className="font-medium">JSON Beta</span> view for the full
+ <span className="font-bold">Formatted</span> or{" "}
+ <span className="font-bold">JSON Beta</span> view for the full
payload, or download it below.
</p>
<pre className="bg-muted/50 max-h-40 overflow-hidden rounded-md border p-2 font-mono text-xs break-all whitespace-pre-wrap">
diff --git a/web/src/components/trace/components/IOPreview/components/SectionToolDefinitions.tsx b/web/src/components/trace/components/IOPreview/components/SectionToolDefinitions.tsx
index 4d1937f0ef..9d4d09f785 100644
--- a/web/src/components/trace/components/IOPreview/components/SectionToolDefinitions.tsx
+++ b/web/src/components/trace/components/IOPreview/components/SectionToolDefinitions.tsx
@@ -30,7 +30,7 @@ export function SectionToolDefinitions({
return (
<div className="[&_.io-message-content]:px-2 [&_.io-message-header]:px-2">
<div className="border-border mb-4 border-b pb-4">
- <div className="io-message-header px-1 py-1 text-sm font-medium capitalize">
+ <div className="io-message-header px-1 py-1 text-sm font-bold capitalize">
Tools
</div>
<ToolCallDefinitionCard
diff --git a/web/src/components/trace/components/IOPreview/components/ThinkingBlock.tsx b/web/src/components/trace/components/IOPreview/components/ThinkingBlock.tsx
index 520db3730b..4951237b25 100644
--- a/web/src/components/trace/components/IOPreview/components/ThinkingBlock.tsx
+++ b/web/src/components/trace/components/IOPreview/components/ThinkingBlock.tsx
@@ -30,7 +30,7 @@ export function ThinkingBlock({
expanded && "rotate-90",
)}
/>
- <span className="text-xs font-medium">Thinking</span>
+ <span className="text-xs font-bold">Thinking</span>
{!expanded && (
<span className="line-clamp-1 text-xs italic">{displayContent}</span>
)}
@@ -71,7 +71,7 @@ export function RedactedThinkingBlock({
expanded && "rotate-90",
)}
/>
- <span className="text-xs font-medium">Thinking (redacted)</span>
+ <span className="text-xs font-bold">Thinking (redacted)</span>
{!expanded && (
<span className="text-xs italic">[Encrypted thinking data]</span>
)}
diff --git a/web/src/components/trace/components/IOPreview/components/ToolCallDefinitionCard.tsx b/web/src/components/trace/components/IOPreview/components/ToolCallDefinitionCard.tsx
index 6c89a7739c..42cd92acdf 100644
--- a/web/src/components/trace/components/IOPreview/components/ToolCallDefinitionCard.tsx
+++ b/web/src/components/trace/components/IOPreview/components/ToolCallDefinitionCard.tsx
@@ -78,7 +78,7 @@ function ToolCallArgumentsList({
className="min-w-0"
>
<div className="mb-1.5 flex min-w-0 items-center justify-between gap-2">
- <div className="text-foreground font-mono text-xs font-medium">
+ <div className="text-foreground font-mono text-xs font-bold">
Call {toolCall.invocationNumber}
</div>
{toolCall.id && (
@@ -145,7 +145,7 @@ function ToolGroupHoverContent({
<div className="flex min-w-0 items-center gap-2">
<Wrench className="text-muted-foreground h-3.5 w-3.5 shrink-0" />
<span
- className="text-foreground block truncate font-mono text-xs font-medium"
+ className="text-foreground block truncate font-mono text-xs font-bold"
title={tool.name}
>
{toolDefinitionNumber !== undefined && (
@@ -157,7 +157,7 @@ function ToolGroupHoverContent({
<Badge
variant={callCount > 0 ? undefined : "secondary"}
className={cn(
- "shrink-0 text-xs font-medium",
+ "shrink-0 text-xs font-bold",
callCount > 0 &&
"bg-light-green text-dark-green hover:bg-light-green border-transparent select-none",
)}
@@ -212,7 +212,7 @@ function ToolGroupSummary({
/>
<span
className={cn(
- "truncate text-sm font-medium",
+ "truncate text-sm font-bold",
isCalledGroup ? "text-dark-green" : "text-foreground",
)}
title={summaryText}
@@ -224,7 +224,7 @@ function ToolGroupSummary({
<Badge
variant={isCalledGroup ? undefined : "secondary"}
className={cn(
- "text-xs font-medium",
+ "text-xs font-bold",
isCalledGroup &&
"bg-light-green text-dark-green hover:bg-light-green border-transparent select-none",
)}
@@ -269,7 +269,7 @@ function ToolCallStatusBadge({
<Badge
variant={isCalled ? undefined : "secondary"}
className={cn(
- "text-xs font-medium whitespace-nowrap",
+ "text-xs font-bold whitespace-nowrap",
isCalled &&
"bg-light-green text-dark-green hover:bg-light-green border-transparent select-none",
)}
@@ -294,7 +294,7 @@ function ToolCallStatusBadge({
className="max-h-96 w-96 max-w-[calc(100vw-2rem)] overflow-auto p-0"
>
<div className="border-border border-b px-3 py-2">
- <div className="text-foreground text-xs font-semibold">
+ <div className="text-foreground text-xs font-bold">
Tool call arguments
</div>
<div className="text-muted-foreground text-xs">
@@ -340,7 +340,7 @@ function ToolDefinitionRow({
<div className="flex min-w-0 items-center gap-2">
<Wrench className="text-muted-foreground h-3.5 w-3.5 shrink-0" />
<span
- className="text-foreground block truncate font-mono text-xs font-medium"
+ className="text-foreground block truncate font-mono text-xs font-bold"
title={tool.name}
>
{toolDefinitionNumber !== undefined && (
@@ -390,7 +390,7 @@ function ToolDefinitionRow({
<div className="space-y-4">
{tool.description && (
<div>
- <div className="text-muted-foreground mb-1.5 text-xs font-medium">
+ <div className="text-muted-foreground mb-1.5 text-xs font-bold">
Description
</div>
<div className="text-foreground text-sm">
@@ -401,7 +401,7 @@ function ToolDefinitionRow({
{tool.parameters && (
<div>
- <div className="text-muted-foreground mb-1.5 text-xs font-medium">
+ <div className="text-muted-foreground mb-1.5 text-xs font-bold">
Parameters
</div>
<PrettyJsonView
@@ -414,7 +414,7 @@ function ToolDefinitionRow({
{toolCalls.length > 0 && (
<div>
- <div className="text-muted-foreground mb-1.5 text-xs font-medium">
+ <div className="text-muted-foreground mb-1.5 text-xs font-bold">
Tool call arguments
</div>
<ToolCallArgumentsList toolCalls={toolCalls} />
diff --git a/web/src/components/trace/components/ObservationDetailView/ObservationDetailView.tsx b/web/src/components/trace/components/ObservationDetailView/ObservationDetailView.tsx
index 4375d72fe7..bd67e785e8 100644
--- a/web/src/components/trace/components/ObservationDetailView/ObservationDetailView.tsx
+++ b/web/src/components/trace/components/ObservationDetailView/ObservationDetailView.tsx
@@ -382,7 +382,7 @@ export function ObservationDetailView({
className="w-64 text-sm"
sideOffset={8}
>
- <p className="font-medium">JSON view unavailable</p>
+ <p className="font-bold">JSON view unavailable</p>
<p className="text-muted-foreground mt-1">
Disabled for traces with{" "}
{
@@ -440,7 +440,7 @@ export function ObservationDetailView({
observation.traceTags.length > 0 && (
<>
<div
- className={`px-2 pt-2 text-sm font-medium ${currentView !== "pretty" ? "shrink-0" : ""}`}
+ className={`px-2 pt-2 text-sm font-bold ${currentView !== "pretty" ? "shrink-0" : ""}`}
>
Tags
</div>
diff --git a/web/src/components/trace/components/ObservationDetailView/ObservationDetailViewHeader.tsx b/web/src/components/trace/components/ObservationDetailView/ObservationDetailViewHeader.tsx
index 0f13369a11..c69f7b819c 100644
--- a/web/src/components/trace/components/ObservationDetailView/ObservationDetailViewHeader.tsx
+++ b/web/src/components/trace/components/ObservationDetailView/ObservationDetailViewHeader.tsx
@@ -129,7 +129,7 @@ export const ObservationDetailViewHeader = memo(
<div className="grid w-full grid-cols-1 items-start gap-2 @2xl:grid-cols-[auto_auto] @2xl:justify-between">
<div className="flex w-full flex-row items-center gap-1">
<ItemBadge type={observation.type as ObservationType} isSmall />
- <span className="mb-0 line-clamp-2 min-w-0 font-medium break-all md:break-normal md:wrap-break-word">
+ <span className="mb-0 line-clamp-2 min-w-0 font-bold break-all md:break-normal md:wrap-break-word">
{observation.name || observation.id}
</span>
<DetailHeaderActionsMenu
diff --git a/web/src/components/trace/components/ToolCallInvocationsView.tsx b/web/src/components/trace/components/ToolCallInvocationsView.tsx
index 87abcd3b50..c622daf315 100644
--- a/web/src/components/trace/components/ToolCallInvocationsView.tsx
+++ b/web/src/components/trace/components/ToolCallInvocationsView.tsx
@@ -52,7 +52,7 @@ export function ToolCallInvocationsView({
{/* Left: Tool icon + number + name */}
<div className="flex items-center gap-2">
<Wrench className="text-muted-foreground h-3.5 w-3.5" />
- <span className="text-foreground font-mono text-xs font-medium">
+ <span className="text-foreground font-mono text-xs font-bold">
{invocationNumber !== undefined && (
<span className="mr-1">{invocationNumber}.</span>
)}
@@ -70,7 +70,7 @@ export function ToolCallInvocationsView({
{/* Arguments view */}
<div className="py-2 [&_.io-message-content]:px-0">
- <div className="text-muted-foreground mb-1.5 text-xs font-medium">
+ <div className="text-muted-foreground mb-1.5 text-xs font-bold">
Arguments
</div>
<PrettyJsonView
diff --git a/web/src/components/trace/components/TraceDetailView/TraceDetailView.tsx b/web/src/components/trace/components/TraceDetailView/TraceDetailView.tsx
index 7be4506a9f..6cc8b958ac 100644
--- a/web/src/components/trace/components/TraceDetailView/TraceDetailView.tsx
+++ b/web/src/components/trace/components/TraceDetailView/TraceDetailView.tsx
@@ -299,7 +299,7 @@ export function TraceDetailView({
className="w-64 text-sm"
sideOffset={8}
>
- <p className="font-medium">JSON view unavailable</p>
+ <p className="font-bold">JSON view unavailable</p>
<p className="text-muted-foreground mt-1">
Disabled for traces with{" "}
{
@@ -356,7 +356,7 @@ export function TraceDetailView({
{trace.tags.length > 0 && (
<>
<div
- className={`px-2 pt-2 text-sm font-medium ${currentView !== "pretty" ? "shrink-0" : ""}`}
+ className={`px-2 pt-2 text-sm font-bold ${currentView !== "pretty" ? "shrink-0" : ""}`}
>
Tags
</div>
diff --git a/web/src/components/trace/components/TraceDetailView/TraceDetailViewHeader.tsx b/web/src/components/trace/components/TraceDetailView/TraceDetailViewHeader.tsx
index aefa38389c..cde86c3d88 100644
--- a/web/src/components/trace/components/TraceDetailView/TraceDetailViewHeader.tsx
+++ b/web/src/components/trace/components/TraceDetailView/TraceDetailViewHeader.tsx
@@ -90,7 +90,7 @@ export const TraceDetailViewHeader = memo(function TraceDetailViewHeader({
<div className="grid w-full grid-cols-1 items-start gap-2 @2xl:grid-cols-[auto_auto] @2xl:justify-between">
<div className="flex w-full flex-row items-center gap-1">
<ItemBadge type="TRACE" isSmall />
- <span className="line-clamp-2 min-w-0 font-medium break-all md:break-normal md:wrap-break-word">
+ <span className="line-clamp-2 min-w-0 font-bold break-all md:break-normal md:wrap-break-word">
{trace.name || trace.id}
</span>
<DetailHeaderActionsMenu
diff --git a/web/src/components/trace/components/TraceLogView/LogViewToolbar.tsx b/web/src/components/trace/components/TraceLogView/LogViewToolbar.tsx
index a87f145648..0832b348ae 100644
--- a/web/src/components/trace/components/TraceLogView/LogViewToolbar.tsx
+++ b/web/src/components/trace/components/TraceLogView/LogViewToolbar.tsx
@@ -107,7 +107,7 @@ export const LogViewToolbar = memo(function LogViewToolbar({
{isVirtualized && (
<HoverCard openDelay={200}>
<HoverCardTrigger asChild>
- <span className="cursor-help rounded bg-yellow-100 px-1.5 py-0.5 text-xs font-medium text-yellow-700 dark:bg-yellow-900 dark:text-yellow-300">
+ <span className="cursor-help rounded bg-yellow-100 px-1.5 py-0.5 text-xs font-bold text-yellow-700 dark:bg-yellow-900 dark:text-yellow-300">
Large Trace
</span>
</HoverCardTrigger>
@@ -116,7 +116,7 @@ export const LogViewToolbar = memo(function LogViewToolbar({
className="w-72 text-sm"
sideOffset={8}
>
- <p className="font-medium">Optimized for performance</p>
+ <p className="font-bold">Optimized for performance</p>
<p className="text-muted-foreground mt-1.5">
This trace has {observationCount?.toLocaleString() ?? "many"}{" "}
observations. To keep things smooth:
@@ -174,7 +174,7 @@ export const LogViewToolbar = memo(function LogViewToolbar({
</HoverCardTrigger>
{indentDisabled && (
<HoverCardContent className="w-56 text-sm" sideOffset={8}>
- <p className="font-medium">Indentation unavailable</p>
+ <p className="font-bold">Indentation unavailable</p>
<p className="text-muted-foreground mt-1">
Disabled for deeply nested trees to maintain readability.
</p>
@@ -267,7 +267,7 @@ export const LogViewToolbar = memo(function LogViewToolbar({
</HoverCardTrigger>
{isCopyOrDownloadCacheOnly && !isCopyOrDownloadLoading && (
<HoverCardContent className="w-64 text-sm" sideOffset={8}>
- <p className="font-medium">Cache-only mode</p>
+ <p className="font-bold">Cache-only mode</p>
<p className="text-muted-foreground mt-1">
For large traces, only expanded observations include full I/O
data.
@@ -275,7 +275,7 @@ export const LogViewToolbar = memo(function LogViewToolbar({
{loadedObservationCount !== undefined &&
observationCount !== undefined && (
<p className="text-muted-foreground mt-1.5">
- <span className="font-medium">
+ <span className="font-bold">
{loadedObservationCount} of {observationCount}
</span>{" "}
observations loaded
@@ -319,7 +319,7 @@ export const LogViewToolbar = memo(function LogViewToolbar({
</HoverCardTrigger>
{isCopyOrDownloadCacheOnly && !isCopyOrDownloadLoading && (
<HoverCardContent className="w-64 text-sm" sideOffset={8}>
- <p className="font-medium">Cache-only mode</p>
+ <p className="font-bold">Cache-only mode</p>
<p className="text-muted-foreground mt-1">
For large traces, only expanded observations include full I/O
data.
@@ -327,7 +327,7 @@ export const LogViewToolbar = memo(function LogViewToolbar({
{loadedObservationCount !== undefined &&
observationCount !== undefined && (
<p className="text-muted-foreground mt-1.5">
- <span className="font-medium">
+ <span className="font-bold">
{loadedObservationCount} of {observationCount}
</span>{" "}
observations loaded
diff --git a/web/src/components/trace/components/TraceSettingsDropdown.tsx b/web/src/components/trace/components/TraceSettingsDropdown.tsx
index 34d026d2ec..c8fd4f9bbb 100644
--- a/web/src/components/trace/components/TraceSettingsDropdown.tsx
+++ b/web/src/components/trace/components/TraceSettingsDropdown.tsx
@@ -262,7 +262,7 @@ export function TraceViewOptionsMenuItems({
</span>
</DropdownMenuSubTrigger>
<DropdownMenuSubContent>
- <DropdownMenuLabel className="font-semibold">
+ <DropdownMenuLabel className="font-bold">
Minimum Level
</DropdownMenuLabel>
{Object.values(ObservationLevel).map((level) => (
diff --git a/web/src/components/trace/components/TraceTimeline/TimelineGutterRow.tsx b/web/src/components/trace/components/TraceTimeline/TimelineGutterRow.tsx
index 72ef167aaa..b3e20bd120 100644
--- a/web/src/components/trace/components/TraceTimeline/TimelineGutterRow.tsx
+++ b/web/src/components/trace/components/TraceTimeline/TimelineGutterRow.tsx
@@ -117,7 +117,7 @@ export function TimelineGutterRow({
</div>
<span
className={cn(
- "min-w-0 flex-1 truncate text-xs font-medium",
+ "min-w-0 flex-1 truncate text-xs font-bold",
isSelected ? "text-foreground" : "dark:text-muted-foreground",
)}
title={node.name}
diff --git a/web/src/components/trace/components/TraceTimeline/index.tsx b/web/src/components/trace/components/TraceTimeline/index.tsx
index 8fbc8893cd..41f32724f9 100644
--- a/web/src/components/trace/components/TraceTimeline/index.tsx
+++ b/web/src/components/trace/components/TraceTimeline/index.tsx
@@ -542,7 +542,7 @@ export function TraceTimeline() {
live in the shared navigation header (see PlaybackControls). */}
<div className="flex shrink-0">
<div
- className="bg-background text-muted-foreground flex shrink-0 items-center pl-2 text-xs font-medium"
+ className="bg-background text-muted-foreground flex shrink-0 items-center pl-2 text-xs font-bold"
style={{ width: `${gutterWidth}px` }}
>
<span className="truncate" title="Name">
diff --git a/web/src/components/trace/components/_layout/TraceLayoutMobile.tsx b/web/src/components/trace/components/_layout/TraceLayoutMobile.tsx
index 9f3139b466..b053e5d2b2 100644
--- a/web/src/components/trace/components/_layout/TraceLayoutMobile.tsx
+++ b/web/src/components/trace/components/_layout/TraceLayoutMobile.tsx
@@ -70,7 +70,7 @@ TraceLayoutMobile.NavigationPanel = function Navigation({
className="flex w-full justify-between rounded-none px-4 py-3 text-left"
onClick={() => setIsNavigationExpanded(!isNavigationExpanded)}
>
- <span className="font-medium">Navigation</span>
+ <span className="font-bold">Navigation</span>
{isNavigationExpanded ? (
<ChevronUp className="h-4 w-4" />
) : (
diff --git a/web/src/components/trace/components/_layout/TracePanelNavigationHeader.tsx b/web/src/components/trace/components/_layout/TracePanelNavigationHeader.tsx
index c962fcccf9..4f056de3aa 100644
--- a/web/src/components/trace/components/_layout/TracePanelNavigationHeader.tsx
+++ b/web/src/components/trace/components/_layout/TracePanelNavigationHeader.tsx
@@ -361,7 +361,7 @@ function ViewModeSegment({
aria-pressed={active}
title={label}
className={cn(
- "flex h-6 items-center gap-1.5 rounded-md px-2 text-xs font-medium transition-colors",
+ "flex h-6 items-center gap-1.5 rounded-md px-2 text-xs font-bold transition-colors",
active
? "bg-primary text-primary-foreground shadow-sm"
: "text-muted-foreground hover:text-foreground",
diff --git a/web/src/components/trace/components/_layout/TracePanelNavigationLayoutDesktop.tsx b/web/src/components/trace/components/_layout/TracePanelNavigationLayoutDesktop.tsx
index 7c344d21c5..a84d8f2995 100644
--- a/web/src/components/trace/components/_layout/TracePanelNavigationLayoutDesktop.tsx
+++ b/web/src/components/trace/components/_layout/TracePanelNavigationLayoutDesktop.tsx
@@ -75,7 +75,7 @@ function GraphPanelBar({
aria-expanded={!collapsed}
className="text-muted-foreground hover:bg-muted/50 hover:text-foreground flex h-7 w-full shrink-0 items-center justify-between border-b px-2"
>
- <span className="text-xs font-medium">Graph</span>
+ <span className="text-xs font-bold">Graph</span>
{collapsed ? (
<ChevronUp className="h-3.5 w-3.5" />
) : (
diff --git a/web/src/components/trace/components/_layout/TracePanelNavigationLayoutMobile.tsx b/web/src/components/trace/components/_layout/TracePanelNavigationLayoutMobile.tsx
index a351faa5f1..e80e8a0d0c 100644
--- a/web/src/components/trace/components/_layout/TracePanelNavigationLayoutMobile.tsx
+++ b/web/src/components/trace/components/_layout/TracePanelNavigationLayoutMobile.tsx
@@ -44,7 +44,7 @@ export function TracePanelNavigationLayoutMobile({
onClick={() => setIsGraphExpanded(!isGraphExpanded)}
className="flex w-full items-center justify-between px-2 py-1"
>
- <span className="text-xs font-medium">Graph View</span>
+ <span className="text-xs font-bold">Graph View</span>
{isGraphExpanded ? (
<ChevronUp className="h-3.5 w-3.5" />
) : (
diff --git a/web/src/components/trace/components/_shared/BreakdownToolTip.tsx b/web/src/components/trace/components/_shared/BreakdownToolTip.tsx
index ee8d928a58..e89d6d1ce5 100644
--- a/web/src/components/trace/components/_shared/BreakdownToolTip.tsx
+++ b/web/src/components/trace/components/_shared/BreakdownToolTip.tsx
@@ -111,7 +111,7 @@ export const BreakdownTooltip = ({
<TooltipContent className="w-64 p-4">
<div className="flex flex-col gap-4">
<div className="flex flex-col gap-1">
- <span className="font-semibold">
+ <span className="font-bold">
{isCost ? "Cost breakdown" : "Usage breakdown"}
</span>
{Array.isArray(details) && details.length > 0 && (
@@ -153,10 +153,10 @@ export const BreakdownTooltip = ({
{/* Total */}
<div className="flex justify-between border-t border-b-4 border-double py-1">
- <span className="text-xs font-semibold">
+ <span className="text-xs font-bold">
{isCost ? "Total cost" : "Total usage"}
</span>
- <span className="font-mono text-xs font-semibold">
+ <span className="font-mono text-xs font-bold">
{formatValueWithPadding(
aggregatedDetails.total ?? 0,
maxDecimals,
@@ -191,8 +191,8 @@ const Section = ({ title, details, filterFn, formatValue }: SectionProps) => {
return (
<div className="flex flex-col gap-2">
<div className="flex justify-between border-b pb-1">
- <span className="text-xs font-semibold">{title}</span>
- <span className="text-right font-mono text-xs font-semibold">
+ <span className="text-xs font-bold">{title}</span>
+ <span className="text-right font-mono text-xs font-bold">
{formatValue(sectionTotal)}
</span>
</div>
@@ -234,10 +234,10 @@ const OtherSection = ({ details, isCost, formatValue }: OtherSectionProps) => {
return (
<div className="flex flex-col gap-2">
<div className="flex justify-between border-b pb-2">
- <span className="text-xs font-medium">
+ <span className="text-xs font-bold">
{isCost ? "Other cost" : "Other usage"}
</span>
- <span className="text-right font-mono text-xs font-medium">
+ <span className="text-right font-mono text-xs font-bold">
{formatValue(otherTotal)}
</span>
</div>
diff --git a/web/src/components/trace/components/_shared/CopyIdsPopover.tsx b/web/src/components/trace/components/_shared/CopyIdsPopover.tsx
index bf2af6a7f9..5c3f3240a5 100644
--- a/web/src/components/trace/components/_shared/CopyIdsPopover.tsx
+++ b/web/src/components/trace/components/_shared/CopyIdsPopover.tsx
@@ -71,7 +71,7 @@ export const CopyIdsPopover = ({
className="hover:bg-muted/50 group flex items-center justify-between gap-2 rounded-sm px-2 py-1.5 transition-colors"
>
<div className="flex min-w-0 flex-col gap-0.5">
- <span className="text-muted-foreground text-xs font-medium">
+ <span className="text-muted-foreground text-xs font-bold">
{item.name}
</span>
<span
diff --git a/web/src/components/trace/components/_shared/DetailHeaderActionsMenu.tsx b/web/src/components/trace/components/_shared/DetailHeaderActionsMenu.tsx
index 547feccd9f..ec3c27f681 100644
--- a/web/src/components/trace/components/_shared/DetailHeaderActionsMenu.tsx
+++ b/web/src/components/trace/components/_shared/DetailHeaderActionsMenu.tsx
@@ -103,8 +103,7 @@ export function DetailHeaderActionsMenu({
onSelect={() => router.push(href)}
>
<span className="max-w-[260px] truncate" title={spanName}>
- filter by{" "}
- <span className="font-semibold">name:{spanName}</span>
+ filter by <span className="font-bold">name:{spanName}</span>
</span>
</DropdownMenuItem>
)}
@@ -117,8 +116,7 @@ export function DetailHeaderActionsMenu({
className="max-w-[260px] truncate"
title={filterTypeLabel}
>
- filter by{" "}
- <span className="font-semibold">{filterTypeLabel}</span>
+ filter by <span className="font-bold">{filterTypeLabel}</span>
</span>
</DropdownMenuItem>
)}
diff --git a/web/src/components/trace/components/_shared/JSONTableView/JSONTableViewHeader.tsx b/web/src/components/trace/components/_shared/JSONTableView/JSONTableViewHeader.tsx
index acd1707a28..0bd8cb9ccf 100644
--- a/web/src/components/trace/components/_shared/JSONTableView/JSONTableViewHeader.tsx
+++ b/web/src/components/trace/components/_shared/JSONTableView/JSONTableViewHeader.tsx
@@ -16,7 +16,7 @@ function JSONTableViewHeaderInner<T>({
hasExpandIcon,
}: JSONTableViewHeaderProps<T>) {
return (
- <div className="border-border bg-muted/50 text-muted-foreground flex min-h-6 items-center gap-2 border-b px-3 py-0.5 text-xs font-medium">
+ <div className="border-border bg-muted/50 text-muted-foreground flex min-h-6 items-center gap-2 border-b px-3 py-0.5 text-xs font-bold">
{/* Spacer for expand icon (aligns with chevron in rows) */}
{hasExpandIcon && <div className="w-4" />}
diff --git a/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx b/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx
index 1a8f74ca9f..6d24e509ae 100644
--- a/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx
+++ b/web/src/components/ui/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx
@@ -317,7 +317,7 @@ const SimpleMultiSectionViewerInner = forwardRef<
minWidth: "100%",
backgroundColor: theme.background,
color: theme.foreground,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
}}
>
<div style={{ position: "relative" }}>
diff --git a/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx b/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx
index 849b61124e..c415643739 100644
--- a/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx
+++ b/web/src/components/ui/AdvancedJsonViewer/components/JsonKey.tsx
@@ -52,7 +52,7 @@ export function JsonKey({
style={{
color: isIndex ? theme.punctuationColor : theme.keyColor,
opacity: isIndex ? 0.5 : 1,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
flexShrink: 0, // Prevent key from being compressed
whiteSpace: "nowrap", // Keep key on single line
}}
diff --git a/web/src/components/ui/AdvancedJsonViewer/components/JsonRowFixed.tsx b/web/src/components/ui/AdvancedJsonViewer/components/JsonRowFixed.tsx
index 3ec174c3b5..58d630e722 100644
--- a/web/src/components/ui/AdvancedJsonViewer/components/JsonRowFixed.tsx
+++ b/web/src/components/ui/AdvancedJsonViewer/components/JsonRowFixed.tsx
@@ -60,7 +60,7 @@ export function JsonRowFixed({
backgroundColor,
fontSize: theme.fontSize,
lineHeight: `${theme.lineHeight}px`,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
transition: "background-color 0.15s ease",
}}
>
diff --git a/web/src/components/ui/AdvancedJsonViewer/components/JsonRowScrollable.tsx b/web/src/components/ui/AdvancedJsonViewer/components/JsonRowScrollable.tsx
index e57afdc17c..d3f8c4f88e 100644
--- a/web/src/components/ui/AdvancedJsonViewer/components/JsonRowScrollable.tsx
+++ b/web/src/components/ui/AdvancedJsonViewer/components/JsonRowScrollable.tsx
@@ -72,7 +72,7 @@ export function JsonRowScrollable({
backgroundColor,
fontSize: theme.fontSize,
lineHeight: `${theme.lineHeight}px`,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
transition: "background-color 0.15s ease",
}}
>
diff --git a/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx b/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx
index a73161c288..218cabc5d4 100644
--- a/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx
+++ b/web/src/components/ui/AdvancedJsonViewer/components/JsonValue.tsx
@@ -51,7 +51,7 @@ export function JsonValue({
style={{
color: theme.punctuationColor,
opacity: 0.4,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
whiteSpace: "nowrap", // Never wrap preview text like "{4 keys}" or "Array(3)"
flexShrink: 0, // Prevent compression in flex container
}}
@@ -123,7 +123,7 @@ export function JsonValue({
className={className}
style={{
color,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
whiteSpace: stringWrapMode === "wrap" ? "pre-wrap" : "nowrap",
overflowWrap: stringWrapMode === "wrap" ? "break-word" : undefined,
wordBreak: stringWrapMode === "wrap" ? "break-word" : undefined,
@@ -197,7 +197,7 @@ export function JsonValue({
className={className}
style={{
color,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
}}
>
{segments.map((segment, index) => {
diff --git a/web/src/components/ui/AdvancedJsonViewer/components/LineNumber.tsx b/web/src/components/ui/AdvancedJsonViewer/components/LineNumber.tsx
index 7edb8112e7..7079483f96 100644
--- a/web/src/components/ui/AdvancedJsonViewer/components/LineNumber.tsx
+++ b/web/src/components/ui/AdvancedJsonViewer/components/LineNumber.tsx
@@ -27,7 +27,7 @@ export function LineNumber({
marginRight: "8px",
color: theme.lineNumberColor,
opacity: 0.3,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
fontSize: theme.fontSize,
}}
>
diff --git a/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx b/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx
index 0168c622b8..6cdb8c62ca 100644
--- a/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx
+++ b/web/src/components/ui/AdvancedJsonViewer/components/MediaButtonGroup.tsx
@@ -247,7 +247,7 @@ export function MediaButtonGroup({ media }: MediaButtonGroupProps) {
>
<group.icon className="h-3.5 w-3.5" />
{group.items.length > 1 && (
- <span className="bg-primary text-primary-foreground absolute -top-1 -right-1 flex h-3.5 w-3.5 items-center justify-center rounded-full text-[9px] font-medium">
+ <span className="bg-primary text-primary-foreground absolute -top-1 -right-1 flex h-3.5 w-3.5 items-center justify-center rounded-full text-[9px] font-bold">
{group.items.length}
</span>
)}
diff --git a/web/src/components/ui/AdvancedJsonViewer/components/MultiSectionJsonViewerHeader.tsx b/web/src/components/ui/AdvancedJsonViewer/components/MultiSectionJsonViewerHeader.tsx
index 919fdd7c08..f9eb51a9df 100644
--- a/web/src/components/ui/AdvancedJsonViewer/components/MultiSectionJsonViewerHeader.tsx
+++ b/web/src/components/ui/AdvancedJsonViewer/components/MultiSectionJsonViewerHeader.tsx
@@ -55,7 +55,7 @@ export function MultiSectionJsonViewerHeader({
<ChevronRight size={14} />
)}
</span>
- <span className="text-xs font-medium">{title}</span>
+ <span className="text-xs font-bold">{title}</span>
<span
style={{
marginLeft: "8px",
diff --git a/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.tsx b/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.tsx
index 8817a2c244..a562fd8d93 100644
--- a/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.tsx
+++ b/web/src/components/ui/AdvancedJsonViewer/components/TruncatedString.tsx
@@ -70,7 +70,7 @@ export function TruncatedString({
<span
style={{
color: theme.stringColor,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
}}
>
&quot;
@@ -118,7 +118,7 @@ export function TruncatedString({
ref={triggerRef}
style={{
color: theme.stringColor,
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
cursor: "help",
display: "inline-block",
maxWidth: "100%",
@@ -159,7 +159,7 @@ export function TruncatedString({
<div
className="max-h-60 overflow-auto p-0.5"
style={{
- fontFamily: "monospace",
+ fontFamily: "var(--font-mono)",
fontSize: theme.fontSize,
color: theme.stringColor,
whiteSpace: "pre-wrap",
diff --git a/web/src/components/ui/AdvancedJsonViewer/hooks/useMonospaceCharWidth.ts b/web/src/components/ui/AdvancedJsonViewer/hooks/useMonospaceCharWidth.ts
index cd95f3d141..7cfd633f7b 100644
--- a/web/src/components/ui/AdvancedJsonViewer/hooks/useMonospaceCharWidth.ts
+++ b/web/src/components/ui/AdvancedJsonViewer/hooks/useMonospaceCharWidth.ts
@@ -1,16 +1,18 @@
import { useState, useEffect } from "react";
-const STORAGE_KEY = "monospace-char-width-0.7rem";
+// Keyed to the app's mono font token: the JSON rows render with
+// `var(--font-mono)`, so the measurement must use the exact same family or the
+// fixed-grid column math drifts. The key includes "font-mono" so widths cached
+// under the old generic-monospace measurement are never reused.
+const STORAGE_KEY = "font-mono-char-width-0.7rem";
const DEFAULT_CHAR_WIDTH = 6.2; // Fallback for SSR or measurement failure
/**
* Hook to measure and cache the actual rendered width of monospace characters
*
- * Measures the width of '0' character in the current browser's monospace font
- * at 0.7rem font size. Caches result in sessionStorage to avoid re-measuring.
- *
- * This provides accurate width estimation regardless of which monospace font
- * the browser uses (Menlo, Consolas, Monaco, DejaVu Sans Mono, etc.)
+ * Measures the width of '0' character in the app's mono font stack
+ * (`var(--font-mono)`, same as the JSON viewer rows) at 0.7rem font size.
+ * Caches result in sessionStorage to avoid re-measuring.
*
* @param fontSize - Font size to measure (default: "0.7rem")
* @returns Measured character width in pixels
@@ -56,7 +58,8 @@ export function useMonospaceCharWidth(fontSize = "0.7rem"): number {
try {
// Create invisible measurement element
const measureEl = document.createElement("span");
- measureEl.style.fontFamily = "monospace";
+ // Must match the fontFamily used by the JSON row components exactly.
+ measureEl.style.fontFamily = "var(--font-mono)";
measureEl.style.fontSize = fontSize;
measureEl.style.visibility = "hidden";
measureEl.style.position = "absolute";
diff --git a/web/src/components/ui/CodeJsonViewer.tsx b/web/src/components/ui/CodeJsonViewer.tsx
index 589084fce1..05d51565b4 100644
--- a/web/src/components/ui/CodeJsonViewer.tsx
+++ b/web/src/components/ui/CodeJsonViewer.tsx
@@ -298,7 +298,7 @@ export function CodeView(props: {
<>
{props.title ? (
<div className="my-1 flex shrink-0 items-center justify-between pl-1">
- <div className="text-sm font-medium">{props.title}</div>
+ <div className="text-sm font-bold">{props.title}</div>
<Button
variant="ghost"
size="icon-xs"
diff --git a/web/src/components/ui/LangfuseMediaView.tsx b/web/src/components/ui/LangfuseMediaView.tsx
index 38f4efb2bc..087d3499b8 100644
--- a/web/src/components/ui/LangfuseMediaView.tsx
+++ b/web/src/components/ui/LangfuseMediaView.tsx
@@ -194,7 +194,7 @@ function FileViewer({
)}
<div className="flex flex-col items-center gap-1">
- <span className="text-sm font-medium">{fileExtension}</span>
+ <span className="text-sm font-bold">{fileExtension}</span>
<span className="text-muted-foreground text-xs">
{fileName.length > 5 ? `${fileName.slice(0, 5)}...` : fileName}
</span>
diff --git a/web/src/components/ui/LargeStringFallback.tsx b/web/src/components/ui/LargeStringFallback.tsx
index cc8a75ce47..4a97417ce8 100644
--- a/web/src/components/ui/LargeStringFallback.tsx
+++ b/web/src/components/ui/LargeStringFallback.tsx
@@ -60,7 +60,7 @@ export function LargeStringFallback({
<div className="my-2 flex flex-col gap-2 rounded-sm border border-dashed p-3">
<div className="text-muted-foreground flex flex-wrap items-center gap-2 text-xs">
{title ? (
- <span className="text-foreground font-medium">{title}</span>
+ <span className="text-foreground font-bold">{title}</span>
) : null}
<span>
Large string β€” {compactNumberFormatter(value.length, 1)} characters,
diff --git a/web/src/components/ui/MarkdownJsonView.tsx b/web/src/components/ui/MarkdownJsonView.tsx
index f0bf75d993..cef8ef2e92 100644
--- a/web/src/components/ui/MarkdownJsonView.tsx
+++ b/web/src/components/ui/MarkdownJsonView.tsx
@@ -31,7 +31,7 @@ export function MarkdownJsonViewHeader({
const [isCopied, setIsCopied] = useState(false);
return (
- <div className="io-message-header group-hover:bg-muted/80 flex flex-row items-center justify-between px-1 py-1 text-sm font-medium capitalize transition-colors">
+ <div className="io-message-header group-hover:bg-muted/80 flex flex-row items-center justify-between px-1 py-1 text-sm font-bold capitalize transition-colors">
<div className="flex items-center gap-2">
{titleIcon}
{title}
diff --git a/web/src/components/ui/MarkdownViewer.tsx b/web/src/components/ui/MarkdownViewer.tsx
index bed516851f..7a4cc7d537 100644
--- a/web/src/components/ui/MarkdownViewer.tsx
+++ b/web/src/components/ui/MarkdownViewer.tsx
@@ -399,7 +399,7 @@ function MarkdownRenderer({
},
th({ children }) {
return (
- <th className="px-4 py-2 text-left text-xs font-medium tracking-wider uppercase">
+ <th className="px-4 py-2 text-left text-xs font-bold tracking-wider uppercase">
{children}
</th>
);
diff --git a/web/src/components/ui/PrettyJsonView.tsx b/web/src/components/ui/PrettyJsonView.tsx
index d76c344a02..b6c43592f9 100644
--- a/web/src/components/ui/PrettyJsonView.tsx
+++ b/web/src/components/ui/PrettyJsonView.tsx
@@ -545,7 +545,7 @@ function JsonPrettyTable({
)}
</div>
<span
- className={`ml-1 ${MONO_TEXT_CLASSES} cursor-text font-medium`}
+ className={`ml-1 ${MONO_TEXT_CLASSES} cursor-text font-bold`}
style={{ maxWidth: availableTextWidth }}
>
{itemBadgeType && (
diff --git a/web/src/components/ui/PromptReferences.tsx b/web/src/components/ui/PromptReferences.tsx
index 24feb49dfe..3ebeefac11 100644
--- a/web/src/components/ui/PromptReferences.tsx
+++ b/web/src/components/ui/PromptReferences.tsx
@@ -175,7 +175,7 @@ export const PromptReferenceButton = ({
<Button
variant="outline"
size="sm"
- className="bg-muted/50 hover:bg-muted inline-flex items-center gap-1.5 rounded-sm border-dashed px-2 py-0.5 align-[-3px] text-xs font-medium transition-colors"
+ className="bg-muted/50 hover:bg-muted inline-flex items-center gap-1.5 rounded-sm border-dashed px-2 py-0.5 align-[-3px] text-xs font-bold transition-colors"
dir="ltr"
onClick={() =>
window.open(getPromptReferenceUrl(projectId, promptRef), "_blank")
@@ -183,7 +183,7 @@ export const PromptReferenceButton = ({
title={`Open prompt: ${promptRefTitle}`}
>
<FileCode className="text-muted-foreground h-3 w-3 shrink-0" />
- <span className="truncate font-medium" title={promptRefTitle}>
+ <span className="truncate font-bold" title={promptRefTitle}>
{promptRef.name}
{promptRef.type === "version" ? (
<Badge variant="outline" className="ml-1 px-1 py-0 text-[10px]">
diff --git a/web/src/components/ui/accordion.tsx b/web/src/components/ui/accordion.tsx
index 01a5c0784e..e394be6cc4 100644
--- a/web/src/components/ui/accordion.tsx
+++ b/web/src/components/ui/accordion.tsx
@@ -28,7 +28,7 @@ const AccordionTrigger = React.forwardRef<
<AccordionPrimitive.Trigger
ref={ref}
className={cn(
- "flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
+ "flex flex-1 items-center justify-between py-4 font-bold transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
className,
)}
{...props}
diff --git a/web/src/components/ui/alert-dialog.tsx b/web/src/components/ui/alert-dialog.tsx
index bbee49079b..f2f27989d2 100644
--- a/web/src/components/ui/alert-dialog.tsx
+++ b/web/src/components/ui/alert-dialog.tsx
@@ -91,7 +91,7 @@ const AlertDialogTitle = React.forwardRef<
>(({ className, ...props }, ref) => (
<AlertDialogPrimitive.Title
ref={ref}
- className={cn("text-lg font-semibold", className)}
+ className={cn("text-lg font-bold", className)}
{...props}
/>
));
diff --git a/web/src/components/ui/alert.tsx b/web/src/components/ui/alert.tsx
index efd936d91e..2b3a0554ac 100644
--- a/web/src/components/ui/alert.tsx
+++ b/web/src/components/ui/alert.tsx
@@ -39,7 +39,7 @@ const AlertTitle = React.forwardRef<
>(({ className, ...props }, ref) => (
<h5
ref={ref}
- className={cn("mb-1 leading-none font-medium tracking-tight", className)}
+ className={cn("mb-1 leading-none font-bold tracking-tight", className)}
{...props}
/>
));
diff --git a/web/src/components/ui/badge.tsx b/web/src/components/ui/badge.tsx
index daa28b1855..478a60d133 100644
--- a/web/src/components/ui/badge.tsx
+++ b/web/src/components/ui/badge.tsx
@@ -4,7 +4,7 @@ import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/src/utils/tailwind";
const badgeVariants = cva(
- "inline-flex items-center rounded-md border border-transparent font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",
+ "inline-flex items-center rounded-md border border-transparent font-bold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",
{
variants: {
variant: {
diff --git a/web/src/components/ui/button.tsx b/web/src/components/ui/button.tsx
index e6b7b89980..9a2625f149 100644
--- a/web/src/components/ui/button.tsx
+++ b/web/src/components/ui/button.tsx
@@ -7,7 +7,9 @@ import { cn } from "@/src/utils/tailwind";
import { default as SpinnerLib } from "@/src/components/design-system/Spinner/Spinner";
const buttonVariants = cva(
- "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
+ // No font-* here: buttons follow the text-sm token weight (one weight per
+ // token; heavier text must be an explicit, deliberate exception).
+ "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
{
variants: {
variant: {
@@ -17,17 +19,20 @@ const buttonVariants = cva(
"destructive-secondary":
"bg-secondary text-secondary-foreground border border-destructive disabled:hover:bg-secondary disabled:hover:text-secondary-foreground hover:bg-destructive/90 hover:text-destructive-foreground",
outline:
- "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
+ // border-contrast, not border-input: on dark surfaces the filled
+ // primary reads optically larger than an outlined twin of the same
+ // geometry β€” a brighter border lets the shape assert itself.
+ "border-border-contrast bg-background hover:bg-accent hover:text-accent-foreground border",
"outline-success":
"border border-accent-dark-green bg-background text-accent-dark-green hover:bg-accent-light-green hover:text-accent-dark-green dark:border-dark-green dark:text-dark-green dark:hover:bg-light-green dark:hover:text-dark-green",
- "outline-solid":
- "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
secondary:
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
tertiary:
- "bg-tertiary text-tertiary-foreground hover:bg-tertiary/80 text-xs font-medium",
+ "bg-tertiary text-tertiary-foreground hover:bg-tertiary/80 text-xs",
ghost: "hover:bg-accent hover:text-accent-foreground",
- link: "text-primary underline-offset-4 hover:underline",
+ // Same color as real hyperlinks (--link pair), not text-primary β€”
+ // one link color across the app.
+ link: "text-link hover:text-link-hover underline-offset-4 hover:underline",
errorNotification:
"bg-destructive-foreground/90 text-destructive hover:bg-destructive-foreground/80",
},
diff --git a/web/src/components/ui/calendar.tsx b/web/src/components/ui/calendar.tsx
index 1a928d451d..d606aeff42 100644
--- a/web/src/components/ui/calendar.tsx
+++ b/web/src/components/ui/calendar.tsx
@@ -30,7 +30,7 @@ function Calendar({
[UI.Months]: "flex relative",
[UI.Month]: "space-y-4",
[UI.MonthCaption]: "flex justify-center items-center h-7",
- [UI.CaptionLabel]: "text-sm font-medium",
+ [UI.CaptionLabel]: "text-sm font-bold",
[UI.PreviousMonthButton]: cn(
buttonVariants({ variant: "outline" }),
"absolute left-1 top-0 h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",
@@ -50,7 +50,7 @@ function Calendar({
buttonVariants({ variant: "ghost" }),
"h-9 w-9 p-0 font-normal aria-selected:opacity-100",
// can't use SelectionState.range_start here because Tailwind classes can't be constructed dynamically
- "group-[.selection-edge]:bg-primary group-[.selection-edge]:text-primary-foreground group-[.today]:font-semibold",
+ "group-[.selection-edge]:bg-primary group-[.selection-edge]:text-primary-foreground group-[.today]:font-bold",
),
[SelectionState.range_start]:
"group selection-edge bg-accent text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground rounded-l-md rounded-r-none",
diff --git a/web/src/components/ui/card.tsx b/web/src/components/ui/card.tsx
index 36d6447564..560e20a9b8 100644
--- a/web/src/components/ui/card.tsx
+++ b/web/src/components/ui/card.tsx
@@ -35,10 +35,7 @@ const CardTitle = React.forwardRef<
>(({ className, ...props }, ref) => (
<h3
ref={ref}
- className={cn(
- "text-2xl leading-none font-semibold tracking-tight",
- className,
- )}
+ className={cn("text-2xl leading-none font-bold tracking-tight", className)}
{...props}
/>
));
diff --git a/web/src/components/ui/chart.tsx b/web/src/components/ui/chart.tsx
index c1d26cb16d..b58230b116 100644
--- a/web/src/components/ui/chart.tsx
+++ b/web/src/components/ui/chart.tsx
@@ -204,7 +204,7 @@ const ChartTooltipContent = React.forwardRef<
if (labelFormatter) {
return (
- <div className={cn("font-medium", labelClassName)}>
+ <div className={cn("font-bold", labelClassName)}>
{labelFormatter(value, payload)}
</div>
);
@@ -214,7 +214,7 @@ const ChartTooltipContent = React.forwardRef<
return null;
}
- return <div className={cn("font-medium", labelClassName)}>{value}</div>;
+ return <div className={cn("font-bold", labelClassName)}>{value}</div>;
}, [
label,
labelFormatter,
@@ -327,7 +327,7 @@ const ChartTooltipContent = React.forwardRef<
</span>
</div>
{item.value !== undefined && item.value !== null && (
- <span className="text-foreground shrink-0 font-mono font-medium whitespace-nowrap tabular-nums">
+ <span className="text-foreground shrink-0 font-mono font-bold whitespace-nowrap tabular-nums">
{valueFormatter
? valueFormatter(Number(item.value))
: item.value.toLocaleString()}
diff --git a/web/src/components/ui/command.tsx b/web/src/components/ui/command.tsx
index 717652727d..3c2abd8c09 100644
--- a/web/src/components/ui/command.tsx
+++ b/web/src/components/ui/command.tsx
@@ -46,7 +46,10 @@ const CommandDialog = ({
<DialogContent
className={cn(
commandDialogSurfaceClass,
- "dark:border-border-contrast/70 top-[calc(var(--banner-offset)+clamp(4rem,14dvh,8rem))] translate-y-0 overflow-hidden border p-0 shadow-2xl dark:shadow-[0_32px_96px_-28px_rgb(0_0_0/0.95),0_16px_40px_-24px_rgb(0_0_0/0.9),0_0_0_1px_rgb(148_163_184/0.1)]",
+ // Dark-mode depth: two near-black ambient layers (background is 6%
+ // lightness in dark mode, visually black at these alphas) plus a
+ // faint foreground-tinted hairline ring.
+ "dark:border-border-contrast/70 top-[calc(var(--banner-offset)+clamp(4rem,14dvh,8rem))] translate-y-0 overflow-hidden border p-0 shadow-2xl dark:shadow-[0_32px_96px_-28px_hsl(var(--background)/0.95),0_16px_40px_-24px_hsl(var(--background)/0.9),0_0_0_1px_hsl(var(--foreground)/0.1)]",
)}
closeOnInteractionOutside
overlayMode="invisible"
@@ -59,7 +62,7 @@ const CommandDialog = ({
filter={filter}
className={cn(
commandDialogSurfaceClass,
- "**:[[cmdk-group-heading]]:text-muted-foreground pb-1 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group]]:px-2 **:[[cmdk-input]]:h-12",
+ "**:[[cmdk-group-heading]]:text-muted-foreground pb-1 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:font-bold **:[[cmdk-group]]:px-2 **:[[cmdk-input]]:h-12",
)}
>
{children}
@@ -130,7 +133,7 @@ const CommandGroup = React.forwardRef<
<CommandPrimitive.Group
ref={ref}
className={cn(
- "text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium",
+ "text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-bold",
className,
)}
{...props}
diff --git a/web/src/components/ui/dialog.tsx b/web/src/components/ui/dialog.tsx
index 276ada5163..875dcba0f7 100644
--- a/web/src/components/ui/dialog.tsx
+++ b/web/src/components/ui/dialog.tsx
@@ -261,10 +261,7 @@ const DialogTitle = React.forwardRef<
>(({ className, ...props }, ref) => (
<DialogPrimitive.Title
ref={ref}
- className={cn(
- "text-xl leading-none font-semibold tracking-tight",
- className,
- )}
+ className={cn("text-xl leading-none font-bold tracking-tight", className)}
{...props}
/>
));
diff --git a/web/src/components/ui/drawer.tsx b/web/src/components/ui/drawer.tsx
index 69ebd586d5..595d09882a 100644
--- a/web/src/components/ui/drawer.tsx
+++ b/web/src/components/ui/drawer.tsx
@@ -195,10 +195,7 @@ const DrawerTitle = React.forwardRef<
>(({ className, ...props }, ref) => (
<DrawerPrimitive.Title
ref={ref}
- className={cn(
- "text-lg leading-none font-semibold tracking-tight",
- className,
- )}
+ className={cn("text-lg leading-none font-bold tracking-tight", className)}
{...props}
/>
));
diff --git a/web/src/components/ui/dropdown-menu.tsx b/web/src/components/ui/dropdown-menu.tsx
index aa0681325b..091a40b375 100644
--- a/web/src/components/ui/dropdown-menu.tsx
+++ b/web/src/components/ui/dropdown-menu.tsx
@@ -163,11 +163,7 @@ const DropdownMenuLabel = React.forwardRef<
>(({ className, inset, ...props }, ref) => (
<DropdownMenuPrimitive.Label
ref={ref}
- className={cn(
- "px-2 py-1.5 text-sm font-semibold",
- inset && "pl-8",
- className,
- )}
+ className={cn("px-2 py-1.5 text-sm font-bold", inset && "pl-8", className)}
{...props}
/>
));
diff --git a/web/src/components/ui/form.tsx b/web/src/components/ui/form.tsx
index 1acb0513ca..ab0357d0b3 100644
--- a/web/src/components/ui/form.tsx
+++ b/web/src/components/ui/form.tsx
@@ -157,7 +157,7 @@ const FormMessage = React.forwardRef<
<p
ref={ref}
id={formMessageId}
- className={cn("text-destructive text-sm font-medium", className)}
+ className={cn("text-destructive text-sm font-bold", className)}
{...props}
>
{body}
diff --git a/web/src/components/ui/hover-card.tsx b/web/src/components/ui/hover-card.tsx
index ff133bcb40..c7f2d48049 100644
--- a/web/src/components/ui/hover-card.tsx
+++ b/web/src/components/ui/hover-card.tsx
@@ -52,7 +52,7 @@ const HoverCardTitle = React.forwardRef<
<h3
ref={ref}
className={cn(
- "p-2 text-sm leading-none font-semibold tracking-tight",
+ "p-2 text-sm leading-none font-bold tracking-tight",
className,
)}
{...props}
diff --git a/web/src/components/ui/input-command.tsx b/web/src/components/ui/input-command.tsx
index 554e617267..bd3e076ae2 100644
--- a/web/src/components/ui/input-command.tsx
+++ b/web/src/components/ui/input-command.tsx
@@ -40,7 +40,7 @@ const InputCommandDialog = ({
<Dialog {...props}>
<DialogContent className="overflow-hidden p-0 shadow-lg">
<DialogBody>
- <InputCommand className="**:[[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group]]:px-2 **:[[cmdk-input]]:h-12 **:[[cmdk-item]]:px-2 **:[[cmdk-item]]:py-3">
+ <InputCommand className="**:[[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:font-bold **:[[cmdk-group]]:px-2 **:[[cmdk-input]]:h-12 **:[[cmdk-item]]:px-2 **:[[cmdk-item]]:py-3">
{children}
</InputCommand>
</DialogBody>
@@ -110,7 +110,7 @@ const InputCommandGroup = React.forwardRef<
<CommandPrimitive.Group
ref={ref}
className={cn(
- "text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium",
+ "text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-bold",
className,
)}
{...props}
diff --git a/web/src/components/ui/input.tsx b/web/src/components/ui/input.tsx
index d1e5d964e1..7338467137 100644
--- a/web/src/components/ui/input.tsx
+++ b/web/src/components/ui/input.tsx
@@ -13,7 +13,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
{...(!allowPasswordManager && { "data-1p-ignore": true })}
type={type}
className={cn(
- "border-input bg-background placeholder:text-foreground-tertiary disabled:bg-muted/50 flex h-8 w-full min-w-14 rounded-md border px-2 py-1 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus:ring-0 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50",
+ "border-input bg-background placeholder:text-foreground-tertiary disabled:bg-muted/50 flex h-8 w-full min-w-14 rounded-md border px-2 py-1 text-sm file:border-0 file:bg-transparent file:text-sm file:font-bold focus:ring-0 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50",
className,
)}
ref={ref}
diff --git a/web/src/components/ui/keyboard-shortcut.tsx b/web/src/components/ui/keyboard-shortcut.tsx
index 7b331ccbb2..57933e5a6f 100644
--- a/web/src/components/ui/keyboard-shortcut.tsx
+++ b/web/src/components/ui/keyboard-shortcut.tsx
@@ -17,7 +17,7 @@ const KeyboardShortcut = React.forwardRef<HTMLElement, KeyboardShortcutProps>(
<kbd
ref={ref}
className={cn(
- "bg-muted text-muted-foreground pointer-events-none inline-flex h-5 min-w-5 items-center justify-center gap-1 rounded-md border px-1.5 font-mono text-[10px] leading-none font-medium shadow-xs select-none",
+ "bg-muted text-muted-foreground pointer-events-none inline-flex h-5 min-w-5 items-center justify-center gap-1 rounded-md border px-1.5 font-mono text-[10px] leading-none font-bold shadow-xs select-none",
className,
)}
{...props}
diff --git a/web/src/components/ui/label.tsx b/web/src/components/ui/label.tsx
index a62229cdff..5b7199acb2 100644
--- a/web/src/components/ui/label.tsx
+++ b/web/src/components/ui/label.tsx
@@ -7,7 +7,7 @@ import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/src/utils/tailwind";
const labelVariants = cva(
- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
+ "text-sm font-bold leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
);
const Label = React.forwardRef<
diff --git a/web/src/components/ui/password-input.tsx b/web/src/components/ui/password-input.tsx
index 5ed1fd4e20..c17fa8285d 100644
--- a/web/src/components/ui/password-input.tsx
+++ b/web/src/components/ui/password-input.tsx
@@ -13,7 +13,7 @@ const PasswordInput = React.forwardRef<HTMLInputElement, PasswordInputProps>(
<input
type={showPassword ? "text" : "password"}
className={cn(
- "border-input bg-background ring-offset-background placeholder:text-foreground-tertiary focus-visible:ring-ring flex h-8 w-full rounded-md border px-3 py-2 pr-10 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
+ "border-input bg-background ring-offset-background placeholder:text-foreground-tertiary focus-visible:ring-ring flex h-8 w-full rounded-md border px-3 py-2 pr-10 text-sm file:border-0 file:bg-transparent file:text-sm file:font-bold focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
className,
)}
ref={ref}
diff --git a/web/src/components/ui/select.tsx b/web/src/components/ui/select.tsx
index 29b5f1664d..d050d69f78 100644
--- a/web/src/components/ui/select.tsx
+++ b/web/src/components/ui/select.tsx
@@ -116,7 +116,7 @@ const SelectLabel = React.forwardRef<
>(({ className, ...props }, ref) => (
<SelectPrimitive.Label
ref={ref}
- className={cn("py-1.5 pr-2 pl-8 text-sm font-semibold", className)}
+ className={cn("py-1.5 pr-2 pl-8 text-sm font-bold", className)}
{...props}
/>
));
diff --git a/web/src/components/ui/shadcn-io/dropzone/index.tsx b/web/src/components/ui/shadcn-io/dropzone/index.tsx
index 8bba11096c..fa6cba7d6b 100644
--- a/web/src/components/ui/shadcn-io/dropzone/index.tsx
+++ b/web/src/components/ui/shadcn-io/dropzone/index.tsx
@@ -142,7 +142,7 @@ export const DropzoneContent = ({
<div className="bg-muted text-muted-foreground flex size-8 items-center justify-center rounded-md">
<UploadIcon size={16} />
</div>
- <p className="my-2 w-full truncate text-sm font-medium" title={text}>
+ <p className="my-2 w-full truncate text-sm font-bold" title={text}>
{text}
</p>
<p className="text-muted-foreground w-full text-xs text-wrap">
@@ -195,7 +195,7 @@ export const DropzoneEmptyState = ({
<UploadIcon size={16} />
</div>
<p
- className="my-2 w-full truncate text-sm font-medium text-wrap"
+ className="my-2 w-full truncate text-sm font-bold text-wrap"
title={text1}
>
{text1}
diff --git a/web/src/components/ui/sheet.tsx b/web/src/components/ui/sheet.tsx
index f234664e89..73812e25ab 100644
--- a/web/src/components/ui/sheet.tsx
+++ b/web/src/components/ui/sheet.tsx
@@ -118,7 +118,7 @@ const SheetTitle = React.forwardRef<
>(({ className, ...props }, ref) => (
<SheetPrimitive.Title
ref={ref}
- className={cn("text-foreground text-lg font-semibold", className)}
+ className={cn("text-foreground text-lg font-bold", className)}
{...props}
/>
));
diff --git a/web/src/components/ui/sidebar.tsx b/web/src/components/ui/sidebar.tsx
index 0d36560147..cab54e9d9e 100644
--- a/web/src/components/ui/sidebar.tsx
+++ b/web/src/components/ui/sidebar.tsx
@@ -151,7 +151,11 @@ const SidebarProvider = React.forwardRef<
} as React.CSSProperties
}
className={cn(
- "group/sidebar-wrapper min-h-screen-with-banner text-sidebar-foreground has-data-[variant=inset]:bg-sidebar flex w-full",
+ // No text-sidebar-foreground here: this wrapper contains the
+ // MAIN CONTENT too, and the dimmed sidebar text tint (60% grey
+ // in dark) must not leak into it. The Sidebar containers below
+ // set it on themselves.
+ "group/sidebar-wrapper min-h-screen-with-banner has-data-[variant=inset]:bg-sidebar flex w-full",
className,
)}
ref={ref}
@@ -225,7 +229,7 @@ const Sidebar = React.forwardRef<
return (
<div
ref={ref}
- className="group peer hidden md:block"
+ className="text-sidebar-foreground group peer hidden md:block"
data-state={state}
data-collapsible={state === "collapsed" ? collapsible : ""}
data-variant={variant}
@@ -456,7 +460,7 @@ const SidebarGroupLabel = React.forwardRef<
ref={ref}
data-sidebar="group-label"
className={cn(
- "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center px-[9px] text-xs font-medium whitespace-nowrap outline-hidden transition-[margin,opa] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
+ "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center px-[9px] text-xs font-bold whitespace-nowrap outline-hidden transition-[margin,opa] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:hidden",
"-mb-2",
className,
@@ -534,7 +538,7 @@ const SidebarMenuItem = React.forwardRef<
SidebarMenuItem.displayName = "SidebarMenuItem";
const sidebarMenuButtonVariants = cva(
- "peer/menu-button flex w-full items-center gap-2 overflow-hidden group-data-[collapsible=icon]:rounded-sm p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
+ "peer/menu-button flex w-full items-center gap-2 overflow-hidden group-data-[collapsible=icon]:rounded-sm p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-bold data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
{
variants: {
variant: {
@@ -613,7 +617,7 @@ const SidebarMenuButton = React.forwardRef<
side="right"
align="center"
hidden={state !== "collapsed" || isMobile}
- className="text-sm font-semibold"
+ className="text-sm font-bold"
{...tooltip}
/>
</Tooltip>
@@ -661,7 +665,7 @@ const SidebarMenuBadge = React.forwardRef<
ref={ref}
data-sidebar="menu-badge"
className={cn(
- "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center px-1 text-xs font-medium tabular-nums select-none",
+ "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center px-1 text-xs font-bold tabular-nums select-none",
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
"peer-data-[size=sm]/menu-button:top-1",
"peer-data-[size=default]/menu-button:top-1.5",
diff --git a/web/src/components/ui/splash-screen.tsx b/web/src/components/ui/splash-screen.tsx
index 99848145d0..56869f039b 100644
--- a/web/src/components/ui/splash-screen.tsx
+++ b/web/src/components/ui/splash-screen.tsx
@@ -118,7 +118,9 @@ export function SplashScreen({
</StatusBadge>
)}
<h2 className="mb-2 text-2xl font-bold">{title}</h2>
- <div className="text-muted-foreground">{description}</div>
+ {/* text-base: without a size token this fell through to the 16px
+ browser default β€” off the type scale. */}
+ <div className="text-muted-foreground text-base">{description}</div>
</div>
<div className="mb-8 flex w-full flex-wrap justify-center gap-4">
@@ -162,7 +164,7 @@ export function SplashScreen({
<div key={index} className="flex gap-4">
{/* Left: circle + connecting line */}
<div className="flex flex-col items-center">
- <div className="bg-foreground text-background flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-sm font-semibold">
+ <div className="bg-foreground text-background flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-sm font-bold">
{index + 1}
</div>
{index < steps.length - 1 && (
@@ -177,7 +179,7 @@ export function SplashScreen({
)}
>
<div className="mb-2 flex items-center gap-3">
- <h3 className="text-xl font-semibold">{step.title}</h3>
+ <h3 className="text-xl font-bold">{step.title}</h3>
{step.badge}
</div>
{step.description && (
diff --git a/web/src/components/ui/table.tsx b/web/src/components/ui/table.tsx
index c79fea2d4e..1e9515c3fb 100644
--- a/web/src/components/ui/table.tsx
+++ b/web/src/components/ui/table.tsx
@@ -49,7 +49,7 @@ const TableFooter = React.forwardRef<
<tfoot
ref={ref}
className={cn(
- "bg-muted/50 border-t font-medium last:[&>tr]:border-b-0",
+ "bg-muted/50 border-t font-bold last:[&>tr]:border-b-0",
className,
)}
{...props}
@@ -79,7 +79,7 @@ const TableHead = React.forwardRef<
<th
ref={ref}
className={cn(
- "bg-background text-muted-foreground relative h-10 border-b px-2 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0",
+ "bg-background text-muted-foreground relative h-10 border-b px-2 text-left align-middle font-bold [&:has([role=checkbox])]:pr-0",
className,
)}
{...props}
diff --git a/web/src/components/ui/tabs-bar.tsx b/web/src/components/ui/tabs-bar.tsx
index 82661542fa..1c113b9612 100644
--- a/web/src/components/ui/tabs-bar.tsx
+++ b/web/src/components/ui/tabs-bar.tsx
@@ -39,7 +39,7 @@ const TabsBarTrigger = React.forwardRef<
<TabsPrimitive.Trigger
ref={ref}
className={cn(
- "focus-visible:ring-ring text-muted-foreground data-[state=active]:border-primary-accent data-[state=active]:text-foreground inline-flex h-full items-center justify-center rounded-none border-b-4 border-transparent px-2 py-0.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-transparent data-[state=active]:shadow-none",
+ "focus-visible:ring-ring text-muted-foreground data-[state=active]:border-primary-accent data-[state=active]:text-foreground inline-flex h-full items-center justify-center rounded-none border-b-4 border-transparent px-2 py-0.5 text-sm font-bold whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-transparent data-[state=active]:shadow-none",
className,
)}
{...props}
diff --git a/web/src/components/ui/tabs.tsx b/web/src/components/ui/tabs.tsx
index 4b1535ac79..f6f3d6eaf3 100644
--- a/web/src/components/ui/tabs.tsx
+++ b/web/src/components/ui/tabs.tsx
@@ -29,7 +29,7 @@ const TabsTrigger = React.forwardRef<
<TabsPrimitive.Trigger
ref={ref}
className={cn(
- "ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex h-6 items-center justify-center rounded-sm px-2 py-0.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-xs",
+ "ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex h-6 items-center justify-center rounded-sm px-2 py-0.5 text-sm font-bold whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-xs",
className,
)}
{...props}
diff --git a/web/src/components/ui/toggle.tsx b/web/src/components/ui/toggle.tsx
index 1aed1ad1a1..270387377a 100644
--- a/web/src/components/ui/toggle.tsx
+++ b/web/src/components/ui/toggle.tsx
@@ -7,7 +7,7 @@ import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/src/utils/tailwind";
const toggleVariants = cva(
- "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",
+ "inline-flex items-center justify-center rounded-md text-sm font-bold ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",
{
variants: {
variant: {
diff --git a/web/src/ee/features/billing/components/BillingInvoiceTable.tsx b/web/src/ee/features/billing/components/BillingInvoiceTable.tsx
index 766b8c917c..31d09bfc8b 100644
--- a/web/src/ee/features/billing/components/BillingInvoiceTable.tsx
+++ b/web/src/ee/features/billing/components/BillingInvoiceTable.tsx
@@ -282,7 +282,7 @@ export function BillingInvoiceTable() {
return (
<div className="space-y-0">
<div className="flex items-center justify-between pt-4">
- <h3 className="font-medium">Invoice History</h3>
+ <h3 className="font-bold">Invoice History</h3>
</div>
<DataTableToolbar columns={columns} />
<DataTable
diff --git a/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx b/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx
index b2e2c77033..b04466b1ba 100644
--- a/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx
+++ b/web/src/ee/features/billing/components/BillingSwitchPlanDialog.tsx
@@ -103,7 +103,7 @@ export const BillingSwitchPlanDialog = ({
>
<div className="mb-4">
{/* Labels above plan title */}
- <div className="mb-1 h-5 text-xs font-medium text-blue-700">
+ <div className="mb-1 h-5 text-xs font-bold text-blue-700">
{isCurrentPlan && <span>Current Plan</span>}
{scheduledPlanSwitch &&
scheduledPlanSwitch.newPlanId ===
@@ -146,7 +146,7 @@ export const BillingSwitchPlanDialog = ({
{product.checkout?.description}
</div>
<div className="space-y-2">
- <div className="text-sm font-medium">Main features:</div>
+ <div className="text-sm font-bold">Main features:</div>
<ul className="text-muted-foreground list-inside list-disc space-y-1 text-sm">
{product.checkout?.mainFeatures.map(
(feature, index) => (
diff --git a/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx b/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx
index 301626140e..41d7d6d69b 100644
--- a/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx
+++ b/web/src/ee/features/billing/components/SpendAlerts/SpendAlertDialog.tsx
@@ -167,7 +167,7 @@ export function SpendAlertDialog({
<div className="text-muted-foreground text-xs">
<div className="flex flex-row items-center">
<Info className="mr-2 h-3 w-3" />
- <span className="font-medium">How it works</span>
+ <span className="font-bold">How it works</span>
</div>
<ul className="list-disc pl-5">
<li>
diff --git a/web/src/ee/features/billing/components/SpendAlerts/SpendAlertsSection.tsx b/web/src/ee/features/billing/components/SpendAlerts/SpendAlertsSection.tsx
index f26172ba18..724c56bf52 100644
--- a/web/src/ee/features/billing/components/SpendAlerts/SpendAlertsSection.tsx
+++ b/web/src/ee/features/billing/components/SpendAlerts/SpendAlertsSection.tsx
@@ -34,7 +34,7 @@ export function SpendAlertsSection({ orgId }: SpendAlertsSectionProps) {
<div className="space-y-2">
<div className="flex items-center justify-between pt-4">
<div>
- <h3 className="font-medium">Spend Alerts</h3>
+ <h3 className="font-bold">Spend Alerts</h3>
<p className="text-muted-foreground max-w-prose text-sm">
Get notified when your organization&apos;s spending exceeds
configured thresholds. Alerts may be delayed by up to 90 minutes.
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentMessage.tsx b/web/src/ee/features/in-app-agent/components/InAppAgentMessage.tsx
index 00f03e6427..a1bd5e73f4 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentMessage.tsx
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentMessage.tsx
@@ -326,7 +326,7 @@ function InAppAgentReasoningBlock({
>
<summary
className={cn(
- "hover:text-foreground focus-visible:ring-ring flex w-fit cursor-pointer list-none items-center gap-1.5 rounded-md px-1 py-0.5 text-xs leading-none font-medium outline-none focus-visible:ring-2 focus-visible:ring-offset-2 [&::-webkit-details-marker]:hidden",
+ "hover:text-foreground focus-visible:ring-ring flex w-fit cursor-pointer list-none items-center gap-1.5 rounded-md px-1 py-0.5 text-xs leading-none font-bold outline-none focus-visible:ring-2 focus-visible:ring-offset-2 [&::-webkit-details-marker]:hidden",
isCompact && "px-0.5",
)}
>
@@ -556,7 +556,7 @@ function SourcesPopover({
<button
type="button"
className={cn(
- "text-muted-foreground/70 hover:text-muted-foreground inline-flex items-center gap-1 rounded-md px-1.5 py-1 text-xs font-medium",
+ "text-muted-foreground/70 hover:text-muted-foreground inline-flex items-center gap-1 rounded-md px-1.5 py-1 text-xs font-bold",
isCompact && "py-0.5",
)}
>
@@ -602,7 +602,7 @@ const CommentButton = forwardRef<
ref={ref}
type="button"
className={cn(
- "text-muted-foreground hover:text-foreground flex items-center gap-1 rounded-md border px-1.5 py-1 text-xs font-medium disabled:cursor-not-allowed disabled:opacity-60",
+ "text-muted-foreground hover:text-foreground flex items-center gap-1 rounded-md border px-1.5 py-1 text-xs font-bold disabled:cursor-not-allowed disabled:opacity-60",
className,
)}
{...props}
@@ -692,7 +692,7 @@ function ToolCallGroup({
isCompact ? "text-[0.775rem]" : "text-sm",
)}
>
- <summary className="hover:text-foreground focus-visible:ring-ring flex w-fit cursor-pointer list-none items-center gap-1.5 rounded-md px-1 py-0.5 text-xs leading-4 font-medium outline-none focus-visible:ring-2 focus-visible:ring-offset-2 [&::-webkit-details-marker]:hidden">
+ <summary className="hover:text-foreground focus-visible:ring-ring flex w-fit cursor-pointer list-none items-center gap-1.5 rounded-md px-1 py-0.5 text-xs leading-4 font-bold outline-none focus-visible:ring-2 focus-visible:ring-offset-2 [&::-webkit-details-marker]:hidden">
<span className={cn(isLoading && styles.thinkingShimmer)}>{label}</span>
<ChevronDown
className={cn(
@@ -728,7 +728,7 @@ function ToolCallDisclosure({
<summary
aria-label={`${tool.name}: ${status}`}
className={cn(
- "hover:text-foreground focus-visible:ring-ring flex cursor-pointer list-none items-center gap-1.5 rounded-md px-1 py-0.5 text-xs leading-4 font-medium outline-none focus-visible:ring-2 focus-visible:ring-offset-2 [&::-webkit-details-marker]:hidden",
+ "hover:text-foreground focus-visible:ring-ring flex cursor-pointer list-none items-center gap-1.5 rounded-md px-1 py-0.5 text-xs leading-4 font-bold outline-none focus-visible:ring-2 focus-visible:ring-offset-2 [&::-webkit-details-marker]:hidden",
isCompact && "px-0.5",
)}
>
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentToolCallCard.tsx b/web/src/ee/features/in-app-agent/components/InAppAgentToolCallCard.tsx
index 0bc4b6f8bf..7b4fb5919b 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentToolCallCard.tsx
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentToolCallCard.tsx
@@ -37,7 +37,7 @@ export function InAppAgentToolCallCard({
>
{approval ? (
<div className="min-w-0">
- <div className="flex items-center gap-2 text-xs leading-none font-medium">
+ <div className="flex items-center gap-2 text-xs leading-none font-bold">
<Wrench className="text-muted-foreground h-3.5 w-3.5 shrink-0" />
<span
className="min-w-0 flex-1 truncate py-0.5"
@@ -95,7 +95,7 @@ export function InAppAgentToolCallCard({
</div>
) : (
<details className="group/tool min-w-0">
- <summary className="flex cursor-pointer list-none items-center gap-2 text-xs leading-none font-medium [&::-webkit-details-marker]:hidden">
+ <summary className="flex cursor-pointer list-none items-center gap-2 text-xs leading-none font-bold [&::-webkit-details-marker]:hidden">
<Wrench className="text-muted-foreground h-3.5 w-3.5 shrink-0" />
<span className="min-w-0 flex-1 truncate py-0.5" title={usedLabel}>
{usedLabel}
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentToolPayload.tsx b/web/src/ee/features/in-app-agent/components/InAppAgentToolPayload.tsx
index fee7ed731f..1f80eec732 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentToolPayload.tsx
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentToolPayload.tsx
@@ -30,7 +30,7 @@ export function InAppAgentToolPayload({
<div className="space-y-1">
<p
className={cn(
- "text-xs font-medium",
+ "text-xs font-bold",
variant === "default" && "text-muted-foreground",
variant === "failed" && "text-destructive",
variant === "denied" && "text-dark-yellow",
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentWidgetComposer.tsx b/web/src/ee/features/in-app-agent/components/InAppAgentWidgetComposer.tsx
index f2e05eab43..b29de7fd8a 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentWidgetComposer.tsx
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentWidgetComposer.tsx
@@ -73,7 +73,7 @@ export function InAppAgentWidgetComposer({
onSubmit={handleSubmit}
className="bg-muted/30 flex flex-col gap-2 rounded-lg border p-3"
>
- <div className="flex items-center gap-2 font-medium">
+ <div className="flex items-center gap-2 font-bold">
<Sparkles className="h-4 w-4" />
Add with Langfuse Assistant
</div>
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx b/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx
index 843993b616..b57144e2f9 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx
@@ -100,7 +100,7 @@ function InAppAgentQuickActionPicker({
return (
<>
- <p className="text-foreground mt-3 text-sm font-medium">
+ <p className="text-foreground mt-3 text-sm font-bold">
Welcome to the Langfuse Assistant
</p>
<p className="text-muted-foreground mt-1 max-w-xs text-center text-xs leading-relaxed">
@@ -150,7 +150,7 @@ function InAppAgentQuickActionPicker({
<ActionIcon aria-hidden="true" className="size-3.5" />
</span>
<span className="min-w-0 flex-1">
- <span className="text-foreground block text-xs leading-snug font-semibold">
+ <span className="text-foreground block text-xs leading-snug font-bold">
{action.label}
</span>
<span
@@ -324,7 +324,7 @@ function InAppAgentRateLimitError({
)}
>
<div className="space-y-0.5">
- <p className="font-medium">
+ <p className="font-bold">
You&apos;ve reached the assistant request limit
</p>
<p>Try again in about {formatApproximateDuration(secondsRemaining)}.</p>
@@ -509,13 +509,10 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {
)}
>
<div className="flex min-w-0 flex-1 items-center gap-2">
- <p
- className="shrink-0 truncate text-sm font-semibold"
- title="Assistant"
- >
+ <p className="shrink-0 truncate text-sm font-bold" title="Assistant">
Assistant
</p>
- <span className="text-muted-foreground rounded border px-1.5 py-1 text-xs leading-none font-medium">
+ <span className="text-muted-foreground rounded border px-1.5 py-1 text-xs leading-none font-bold">
Beta
</span>
</div>
diff --git a/web/src/ee/features/sso-settings/components/SSOSettings.tsx b/web/src/ee/features/sso-settings/components/SSOSettings.tsx
index 16e5ec3c57..7ddbdae28c 100644
--- a/web/src/ee/features/sso-settings/components/SSOSettings.tsx
+++ b/web/src/ee/features/sso-settings/components/SSOSettings.tsx
@@ -613,7 +613,7 @@ function SsoConfigDialog({
<AlertDialogDescription>
<span className="block">
Saving will activate SSO for{" "}
- <span className="font-medium">@{domain}</span> within 1 hour.
+ <span className="font-bold">@{domain}</span> within 1 hour.
Every user at that domain will be redirected to your identity
provider on sign-in &mdash; they will not be able to use Google,
GitHub, password, or any other method until SSO is deleted.
@@ -647,7 +647,7 @@ function SsoConfigDialog({
function CallbackUrlPanel({ callbackUrl }: { callbackUrl: string }) {
return (
<div>
- <p className="mb-2 text-sm font-medium">Callback URL</p>
+ <p className="mb-2 text-sm font-bold">Callback URL</p>
<Card className="overflow-hidden">
<Table>
<TableHeader>
diff --git a/web/src/ee/features/verified-domains/components/VerifiedDomainsSettings.tsx b/web/src/ee/features/verified-domains/components/VerifiedDomainsSettings.tsx
index 92190d7ab5..295a24aa04 100644
--- a/web/src/ee/features/verified-domains/components/VerifiedDomainsSettings.tsx
+++ b/web/src/ee/features/verified-domains/components/VerifiedDomainsSettings.tsx
@@ -273,7 +273,7 @@ function DnsInstructions({
}) {
return (
<div className="space-y-3">
- <p className="text-sm font-medium">
+ <p className="text-sm font-bold">
Add the following TXT record to your DNS provider:
</p>
<Card className="overflow-hidden">
@@ -306,7 +306,7 @@ function DnsInstructions({
</Card>
<p className="text-muted-foreground text-xs">
DNS changes may take up to 24h to propagate. After adding the record,
- click <span className="font-medium">Verify</span>.
+ click <span className="font-bold">Verify</span>.
</p>
</div>
);
diff --git a/web/src/features/annotation-queues/components/AnnotationQueueItemPage.tsx b/web/src/features/annotation-queues/components/AnnotationQueueItemPage.tsx
index 708ed0bf77..77a31dc7b5 100644
--- a/web/src/features/annotation-queues/components/AnnotationQueueItemPage.tsx
+++ b/web/src/features/annotation-queues/components/AnnotationQueueItemPage.tsx
@@ -543,7 +543,7 @@ export const AnnotationQueueItemPage: React.FC<{
</TooltipContent>
</Tooltip>
) : (
- <div className="border-dark-green bg-light-green inline-flex h-9 w-full items-center justify-center rounded-md border px-8 text-sm font-medium">
+ <div className="border-dark-green bg-light-green inline-flex h-9 w-full items-center justify-center rounded-md border px-8 text-sm font-bold">
Completed
</div>
))}
@@ -559,7 +559,7 @@ export const AnnotationQueueItemPage: React.FC<{
</DialogHeader>
<DialogBody className="gap-4 py-3">
<div>
- <p className="text-muted-foreground mb-1 text-xs font-medium tracking-wide uppercase">
+ <p className="text-muted-foreground mb-1 text-xs font-bold tracking-wide uppercase">
Navigate
</p>
<ShortcutRow label="Complete & go to next item">
@@ -573,7 +573,7 @@ export const AnnotationQueueItemPage: React.FC<{
</ShortcutRow>
</div>
<div>
- <p className="text-muted-foreground mb-1 text-xs font-medium tracking-wide uppercase">
+ <p className="text-muted-foreground mb-1 text-xs font-bold tracking-wide uppercase">
Score the item
</p>
<ShortcutRow label="Move between score fields">
diff --git a/web/src/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx b/web/src/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx
index f027458220..a3756248d2 100644
--- a/web/src/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx
+++ b/web/src/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx
@@ -125,7 +125,7 @@ export const CreateNewAnnotationQueueItem = ({
{queues.data?.totalCount ? (
<span className="relative mr-1 text-xs">
<ChevronDown className="text-secondary-foreground h-3 w-3" />
- <span className="bg-primary text-primary-foreground absolute -top-1 left-2.5 flex h-3 min-w-3 items-center justify-center rounded-sm px-0.5 text-[8px] font-medium shadow-xs">
+ <span className="bg-primary text-primary-foreground absolute -top-1 left-2.5 flex h-3 min-w-3 items-center justify-center rounded-sm px-0.5 text-[8px] font-bold shadow-xs">
{queues.data?.totalCount > 99 ? "99+" : queues.data?.totalCount}
</span>
</span>
diff --git a/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx b/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx
index 176cd15343..3c707c1bcf 100644
--- a/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx
+++ b/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx
@@ -408,7 +408,7 @@ export const CreateOrEditAnnotationQueueButton = ({
) : (
<ChevronRight className="text-muted-foreground h-4 w-4" />
)}
- <span className="text-sm font-medium">
+ <span className="text-sm font-bold">
User Assignment
</span>
</div>
diff --git a/web/src/features/annotation-queues/components/UserAssignmentSection.tsx b/web/src/features/annotation-queues/components/UserAssignmentSection.tsx
index bbe1803def..970f1c140c 100644
--- a/web/src/features/annotation-queues/components/UserAssignmentSection.tsx
+++ b/web/src/features/annotation-queues/components/UserAssignmentSection.tsx
@@ -141,7 +141,7 @@ export const UserAssignmentSection = ({
>
<div className="min-w-0 flex-1">
<div className="flex items-center gap-3">
- <p className="truncate text-xs font-medium" title={userName}>
+ <p className="truncate text-xs font-bold" title={userName}>
{userName}
</p>
<p
@@ -178,7 +178,7 @@ export const UserAssignmentSection = ({
<div className="min-w-0 flex-1">
<div className="flex items-center gap-3">
<p
- className="truncate text-xs font-medium"
+ className="truncate text-xs font-bold"
title={userName}
>
{userName}
diff --git a/web/src/features/annotation-queues/components/processors/SessionAnnotationProcessor.tsx b/web/src/features/annotation-queues/components/processors/SessionAnnotationProcessor.tsx
index a0149e408c..cde10ccf3a 100644
--- a/web/src/features/annotation-queues/components/processors/SessionAnnotationProcessor.tsx
+++ b/web/src/features/annotation-queues/components/processors/SessionAnnotationProcessor.tsx
@@ -124,7 +124,7 @@ export const SessionAnnotationProcessor: React.FC<
<Link
href={`/project/${projectId}/sessions/${encodeURIComponent(item.objectId)}`}
target="_blank"
- className="mb-0 ml-1 line-clamp-2 min-w-0 font-medium break-all hover:underline md:break-normal md:wrap-break-word"
+ className="mb-0 ml-1 line-clamp-2 min-w-0 font-bold break-all hover:underline md:break-normal md:wrap-break-word"
>
{item.objectId}
</Link>
diff --git a/web/src/features/auth-credentials/components/ResetPasswordButton.tsx b/web/src/features/auth-credentials/components/ResetPasswordButton.tsx
index be028f9b51..028265b7ae 100644
--- a/web/src/features/auth-credentials/components/ResetPasswordButton.tsx
+++ b/web/src/features/auth-credentials/components/ResetPasswordButton.tsx
@@ -81,7 +81,7 @@ export function RequestResetPasswordEmailButton({
<>
{isEmailSent ? (
<div>
- <label htmlFor="otp-code" className="mb-2 block text-sm font-medium">
+ <label htmlFor="otp-code" className="mb-2 block text-sm font-bold">
Check your inbox for the code
</label>
<Input
diff --git a/web/src/features/auth-credentials/components/ResetPasswordPage.tsx b/web/src/features/auth-credentials/components/ResetPasswordPage.tsx
index 66c5e26640..8192d58630 100644
--- a/web/src/features/auth-credentials/components/ResetPasswordPage.tsx
+++ b/web/src/features/auth-credentials/components/ResetPasswordPage.tsx
@@ -254,12 +254,12 @@ export function ResetPasswordPage({
</form>
</Form>
{formError ? (
- <div className="text-destructive text-center text-sm font-medium">
+ <div className="text-destructive text-center text-sm font-bold">
{formError}
</div>
) : null}
{isSuccess && (
- <div className="text-center text-sm font-medium">
+ <div className="text-center text-sm font-bold">
{successMessage}
</div>
)}
diff --git a/web/src/features/auth/components/AuthCloudRegionSwitch.tsx b/web/src/features/auth/components/AuthCloudRegionSwitch.tsx
index c3acd692a9..35e8807768 100644
--- a/web/src/features/auth/components/AuthCloudRegionSwitch.tsx
+++ b/web/src/features/auth/components/AuthCloudRegionSwitch.tsx
@@ -38,7 +38,7 @@ export function CloudRegionSwitch({
<div className="bg-card mt-8 -mb-10 rounded-lg px-6 py-6 text-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-10">
<div className="flex w-full flex-col gap-2">
<div>
- <span className="text-sm leading-none font-medium">
+ <span className="text-sm leading-none font-bold">
Data Region
<DataRegionInfo />
</span>
diff --git a/web/src/features/automations/components/AutomationSidebar.tsx b/web/src/features/automations/components/AutomationSidebar.tsx
index d889aabcbc..515d8fe8f3 100644
--- a/web/src/features/automations/components/AutomationSidebar.tsx
+++ b/web/src/features/automations/components/AutomationSidebar.tsx
@@ -87,7 +87,7 @@ export const AutomationSidebar: React.FC<AutomationSidebarProps> = ({
{/* Top row: Name and Active badge */}
<div className="flex items-center justify-between gap-2">
<h4
- className="truncate text-sm leading-tight font-medium"
+ className="truncate text-sm leading-tight font-bold"
title={automation.name}
>
{automation.name}
diff --git a/web/src/features/automations/components/DeleteAutomationButton.tsx b/web/src/features/automations/components/DeleteAutomationButton.tsx
index 7c7936626d..8f68db6a5f 100644
--- a/web/src/features/automations/components/DeleteAutomationButton.tsx
+++ b/web/src/features/automations/components/DeleteAutomationButton.tsx
@@ -72,7 +72,7 @@ export const DeleteAutomationButton: React.FC<DeleteAutomationButtonProps> = ({
)}
</PopoverTrigger>
<PopoverContent>
- <h2 className="mb-3 font-semibold">Please confirm</h2>
+ <h2 className="mb-3 font-bold">Please confirm</h2>
<p className="mb-3 text-sm">
This action permanently deletes this automation and execution history.
This cannot be undone.
diff --git a/web/src/features/automations/components/WebhookSecretRender.tsx b/web/src/features/automations/components/WebhookSecretRender.tsx
index 5f687b92b2..9310fbb77b 100644
--- a/web/src/features/automations/components/WebhookSecretRender.tsx
+++ b/web/src/features/automations/components/WebhookSecretRender.tsx
@@ -9,7 +9,7 @@ export const WebhookSecretRender = ({
return (
<>
<div className="mb-4">
- <div className="font-semibold">Webhook Secret</div>
+ <div className="font-bold">Webhook Secret</div>
<div className="my-2 text-sm">
This secret can only be viewed once. You can regenerate it in the
automation settings if needed. Use this secret to verify webhook
diff --git a/web/src/features/automations/components/actions/WebhookActionForm.tsx b/web/src/features/automations/components/actions/WebhookActionForm.tsx
index 74bdcd67f9..8088dd2b85 100644
--- a/web/src/features/automations/components/actions/WebhookActionForm.tsx
+++ b/web/src/features/automations/components/actions/WebhookActionForm.tsx
@@ -407,7 +407,7 @@ export const RegenerateWebhookSecretButton = ({
</Button>
</PopoverTrigger>
<PopoverContent>
- <h2 className="mb-3 font-semibold">Please confirm</h2>
+ <h2 className="mb-3 font-bold">Please confirm</h2>
<p className="mb-3 max-w-sm text-sm">
This action will invalidate the current webhook secret and generate
a new one. Any existing integrations using the old secret will stop
diff --git a/web/src/features/automations/components/automationForm.tsx b/web/src/features/automations/components/automationForm.tsx
index 2cae740ca7..d875a921a7 100644
--- a/web/src/features/automations/components/automationForm.tsx
+++ b/web/src/features/automations/components/automationForm.tsx
@@ -680,7 +680,7 @@ export const AutomationForm = ({
{...field}
autoFocus={!automation}
disabled={!hasAccess || !isEditing}
- className="border-border rounded-none border-0 border-b bg-transparent px-0 text-2xl font-semibold focus-visible:ring-0 focus-visible:ring-offset-0"
+ className="border-border rounded-none border-0 border-b bg-transparent px-0 text-2xl font-bold focus-visible:ring-0 focus-visible:ring-offset-0"
/>
</FormControl>
<FormMessage />
@@ -693,7 +693,7 @@ export const AutomationForm = ({
name="status"
render={({ field }) => (
<FormItem className="flex flex-row items-center gap-2">
- <FormLabel className="text-sm font-medium">Active</FormLabel>
+ <FormLabel className="text-sm font-bold">Active</FormLabel>
<FormControl>
<Switch
checked={field.value === "ACTIVE"}
diff --git a/web/src/features/automations/components/automations.tsx b/web/src/features/automations/components/automations.tsx
index fd26adca00..7ba2bc7205 100644
--- a/web/src/features/automations/components/automations.tsx
+++ b/web/src/features/automations/components/automations.tsx
@@ -374,7 +374,7 @@ export default function AutomationsPage() {
<div className="h-full p-6">
<div className="text-muted-foreground flex h-full items-center justify-center">
<div className="text-center">
- <h3 className="text-lg font-medium">Select an automation</h3>
+ <h3 className="text-lg font-bold">Select an automation</h3>
<p className="mt-2 text-sm">
Choose an automation from the sidebar to view its details and
execution history.
diff --git a/web/src/features/background-migrations/components/retry-background-migration.tsx b/web/src/features/background-migrations/components/retry-background-migration.tsx
index 583653fe46..39446994b7 100644
--- a/web/src/features/background-migrations/components/retry-background-migration.tsx
+++ b/web/src/features/background-migrations/components/retry-background-migration.tsx
@@ -63,14 +63,14 @@ export function RetryBackgroundMigration({
</Button>
</PopoverTrigger>
<PopoverContent className="w-96">
- <h2 className="mb-3 font-semibold">Retry Background Migration</h2>
+ <h2 className="mb-3 font-bold">Retry Background Migration</h2>
<p className="mb-4 text-sm">
This action schedules the migration for retry. Restart the worker
containers to re-initiate the migration.
</p>
<div className="mb-4">
- <Label htmlFor="admin-api-key" className="text-sm font-medium">
+ <Label htmlFor="admin-api-key" className="text-sm font-bold">
Admin API Key
</Label>
<Input
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetChoiceStep.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetChoiceStep.tsx
index 2f80e1d0a6..d6c1b18a89 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetChoiceStep.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetChoiceStep.tsx
@@ -15,7 +15,7 @@ export function DatasetChoiceStep(props: DatasetChoiceStepProps) {
<div className="bg-primary/10 mb-4 rounded-full p-4">
<Database className="text-primary h-8 w-8" />
</div>
- <h3 className="mb-2 text-lg font-semibold">Existing Dataset</h3>
+ <h3 className="mb-2 text-lg font-bold">Existing Dataset</h3>
<p className="text-muted-foreground text-sm">
Add to a dataset that already exists
</p>
@@ -30,7 +30,7 @@ export function DatasetChoiceStep(props: DatasetChoiceStepProps) {
<div className="bg-primary/10 mb-4 rounded-full p-4">
<Plus className="text-primary h-8 w-8" />
</div>
- <h3 className="mb-2 text-lg font-semibold">New Dataset</h3>
+ <h3 className="mb-2 text-lg font-bold">New Dataset</h3>
<p className="text-muted-foreground text-sm">
Create a new dataset for these observations
</p>
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetCreateStep.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetCreateStep.tsx
index 4361a07d28..3615640b59 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetCreateStep.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetCreateStep.tsx
@@ -7,7 +7,7 @@ export function DatasetCreateStep(props: DatasetCreateStepProps) {
return (
<div className="space-y-6 p-6">
<div>
- <h3 className="text-lg font-medium">Create New Dataset</h3>
+ <h3 className="text-lg font-bold">Create New Dataset</h3>
<p className="text-muted-foreground text-sm">
Fill in the details to create a new dataset
</p>
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetSelectStep.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetSelectStep.tsx
index 28c2cfe069..3e7f83e855 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetSelectStep.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/DatasetSelectStep.tsx
@@ -32,7 +32,7 @@ export function DatasetSelectStep({
return (
<div className="space-y-6 p-6">
<div>
- <h3 className="text-lg font-medium">Select Dataset</h3>
+ <h3 className="text-lg font-bold">Select Dataset</h3>
<p className="text-muted-foreground text-sm">
Choose an existing dataset to add your observations to
</p>
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/FinalPreviewStep.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/FinalPreviewStep.tsx
index acfe0dcd51..7e2c512dbb 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/FinalPreviewStep.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/FinalPreviewStep.tsx
@@ -64,7 +64,7 @@ export function FinalPreviewStep({
return (
<div className="h-[62vh] space-y-6 p-6">
<div>
- <h3 className="text-lg font-semibold">Review Configuration</h3>
+ <h3 className="text-lg font-bold">Review Configuration</h3>
<p className="text-muted-foreground text-sm">
Adding {totalCount} observation{totalCount !== 1 ? "s" : ""} to
dataset &quot;
@@ -193,7 +193,7 @@ function PreviewCard({
return (
<div className={issueCardVariants({ variant: variant ?? "none" })}>
<div className="bg-muted/30 flex items-center justify-between border-b px-4 py-2">
- <span className="flex items-center gap-1.5 text-sm font-medium">
+ <span className="flex items-center gap-1.5 text-sm font-bold">
{Icon && variant && (
<Icon
className={cn("h-3.5 w-3.5", issueTextVariants({ variant }))}
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/MappingStep.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/MappingStep.tsx
index fe20e9e9ba..a2188c71d8 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/MappingStep.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/MappingStep.tsx
@@ -117,7 +117,7 @@ export function MappingStep({
<div className="min-w-0 space-y-6">
<div>
<div className="flex items-center gap-2">
- <h3 className="grow text-lg font-semibold">
+ <h3 className="grow text-lg font-bold">
Dataset Item {fieldLabel}
</h3>
{hasSchema && (
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/StatusStep.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/StatusStep.tsx
index 2dc1d16a68..d4637eec88 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/StatusStep.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/StatusStep.tsx
@@ -80,7 +80,7 @@ export function StatusStep({
</div>
)}
- <h2 className="mb-2 text-2xl font-semibold">
+ <h2 className="mb-2 text-2xl font-bold">
{!isComplete && "Adding Observations to Dataset"}
{isSuccess && "Successfully Added!"}
{isComplete && !isSuccess && "Completed with Issues"}
@@ -132,7 +132,7 @@ export function StatusStep({
<span className="text-muted-foreground">
{processedCount} of {totalCount} processed
</span>
- <span className="font-medium">{progressPercent}%</span>
+ <span className="font-bold">{progressPercent}%</span>
</div>
<Progress value={progressPercent} className="h-2" />
</div>
@@ -140,12 +140,12 @@ export function StatusStep({
<div className="bg-muted/50 grid grid-cols-2 gap-4 rounded-lg p-3 text-sm">
<div className="flex items-center justify-between">
<span className="text-muted-foreground">Processed</span>
- <span className="font-semibold">{processedCount}</span>
+ <span className="font-bold">{processedCount}</span>
</div>
<div className="flex items-center justify-between">
<span className="text-muted-foreground">Failed</span>
<span
- className={`font-semibold ${failedCount > 0 ? "text-destructive" : ""}`}
+ className={`font-bold ${failedCount > 0 ? "text-destructive" : ""}`}
>
{failedCount}
</span>
@@ -160,11 +160,11 @@ export function StatusStep({
<span className="text-muted-foreground">
Successfully processed
</span>
- <span className="font-semibold">{processedCount}</span>
+ <span className="font-bold">{processedCount}</span>
</div>
<div className="mt-2 flex items-center justify-between">
<span className="text-muted-foreground">Failed</span>
- <span className="text-destructive font-semibold">
+ <span className="text-destructive font-bold">
{failedCount}
</span>
</div>
@@ -173,7 +173,7 @@ export function StatusStep({
{status.data?.log && (
<div className="border-destructive/50 bg-destructive/5 space-y-2 rounded-lg border p-3">
- <p className="text-destructive text-xs font-medium">
+ <p className="text-destructive text-xs font-bold">
Error Summary:
</p>
<pre className="text-muted-foreground max-h-32 overflow-auto text-[10px]">
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/CustomMappingEditor.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/CustomMappingEditor.tsx
index 83dc13d529..e14bfec577 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/CustomMappingEditor.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/CustomMappingEditor.tsx
@@ -144,7 +144,7 @@ export function CustomMappingEditor({
return (
<div className="bg-muted/30 space-y-2 rounded-md border p-4">
<div>
- <Label className="text-sm font-medium">Target</Label>
+ <Label className="text-sm font-bold">Target</Label>
<Tabs
value={config.type}
onValueChange={(v) => handleTypeChange(v as MappingTarget)}
@@ -160,7 +160,7 @@ export function CustomMappingEditor({
{config.type === "root" && (
<div className="space-y-4">
<div>
- <Label className="text-sm font-medium">Source</Label>
+ <Label className="text-sm font-bold">Source</Label>
<div className="mt-1">
<SourceFieldSelector
value={config.rootConfig?.sourceField ?? defaultSourceField}
@@ -169,7 +169,7 @@ export function CustomMappingEditor({
</div>
</div>
<div>
- <Label className="text-sm font-medium">JSONPath</Label>
+ <Label className="text-sm font-bold">JSONPath</Label>
<div className="mt-1">
<JsonPathInput
value={config.rootConfig?.jsonPath ?? "$."}
@@ -189,7 +189,7 @@ export function CustomMappingEditor({
{config.type === "keyValueMap" && (
<div className="max-h-[35vh] space-y-3 overflow-auto">
- <Label className="text-sm font-medium">Key-value mappings</Label>
+ <Label className="text-sm font-bold">Key-value mappings</Label>
<p className="text-muted-foreground text-xs">
Build an object with custom keys. Values starting with $ are treated
as JSONPaths.
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/IssueBanner.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/IssueBanner.tsx
index dc391960e3..24142b588a 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/IssueBanner.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/IssueBanner.tsx
@@ -70,7 +70,7 @@ export function IssueBanner({
<div className="flex items-start gap-2">
<Icon className="mt-0.5 h-4 w-4 shrink-0" />
<div className="space-y-1">
- <p className="text-sm font-medium">{title}</p>
+ <p className="text-sm font-bold">{title}</p>
{description && <p className="text-xs opacity-80">{description}</p>}
{children}
</div>
@@ -95,7 +95,7 @@ export function IssueList({
issueChromeVariants({ variant }),
)}
>
- <p className="mb-1 text-xs font-medium">{title}</p>
+ <p className="mb-1 text-xs font-bold">{title}</p>
<ul className="space-y-0.5">{children}</ul>
</div>
);
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingModeSelector.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingModeSelector.tsx
index b26224186b..67c6d1da7e 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingModeSelector.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingModeSelector.tsx
@@ -21,7 +21,7 @@ export function MappingModeSelector({
<RadioGroupItem value="full" id={`${fieldName}-full`} />
<Label
htmlFor={`${fieldName}-full`}
- className="flex-1 cursor-pointer py-3 text-sm font-medium"
+ className="flex-1 cursor-pointer py-3 text-sm font-bold"
>
{fullLabel}
</Label>
@@ -30,7 +30,7 @@ export function MappingModeSelector({
<RadioGroupItem value="custom" id={`${fieldName}-custom`} />
<Label
htmlFor={`${fieldName}-custom`}
- className="flex-1 cursor-pointer py-3 text-sm font-medium"
+ className="flex-1 cursor-pointer py-3 text-sm font-bold"
>
Custom mapping
</Label>
@@ -44,7 +44,7 @@ export function MappingModeSelector({
/>
<Label
htmlFor={`${fieldName}-none`}
- className="flex-1 cursor-pointer py-3 text-sm font-medium"
+ className="flex-1 cursor-pointer py-3 text-sm font-bold"
>
None
</Label>
diff --git a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingPreviewPanel.tsx b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingPreviewPanel.tsx
index ce25d74c67..73b270ed80 100644
--- a/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingPreviewPanel.tsx
+++ b/web/src/features/batch-actions/components/AddObservationsToDatasetDialog/components/MappingPreviewPanel.tsx
@@ -191,7 +191,7 @@ export function MappingPreviewPanel({
return (
<div className="space-y-4">
<div>
- <h3 className="text-sm font-semibold">Preview</h3>
+ <h3 className="text-sm font-bold">Preview</h3>
<p className="text-muted-foreground text-xs">
Sample from first observation
</p>
@@ -206,7 +206,7 @@ export function MappingPreviewPanel({
return (
<div className="space-y-4">
<div>
- <h3 className="text-sm font-semibold">Preview</h3>
+ <h3 className="text-sm font-bold">Preview</h3>
<p className="text-muted-foreground text-xs">
Sample from first observation
</p>
@@ -223,7 +223,7 @@ export function MappingPreviewPanel({
return (
<div className="space-y-2">
<div>
- <h3 className="text-sm font-semibold">Preview</h3>
+ <h3 className="text-sm font-bold">Preview</h3>
<p className="text-muted-foreground text-xs">
Sample from first observation
</p>
@@ -231,7 +231,7 @@ export function MappingPreviewPanel({
{/* Source data */}
<div className="space-y-2">
- <p className="text-muted-foreground text-xs font-medium">
+ <p className="text-muted-foreground text-xs font-bold">
Source: {sourceLabel}
</p>
<div className="bg-muted/30 max-h-[21vh] overflow-auto rounded-md border">
@@ -247,7 +247,7 @@ export function MappingPreviewPanel({
{/* Result data */}
<div className="space-y-2">
<div className="flex items-center gap-2">
- <p className="text-muted-foreground text-xs font-medium">
+ <p className="text-muted-foreground text-xs font-bold">
Result: Dataset Item {fieldLabel}
</p>
{/* Validation status indicator */}
diff --git a/web/src/features/batch-actions/components/RunEvaluationDialog/ConfirmationStep.tsx b/web/src/features/batch-actions/components/RunEvaluationDialog/ConfirmationStep.tsx
index 03cd86da81..f5fb951a1f 100644
--- a/web/src/features/batch-actions/components/RunEvaluationDialog/ConfirmationStep.tsx
+++ b/web/src/features/batch-actions/components/RunEvaluationDialog/ConfirmationStep.tsx
@@ -65,7 +65,7 @@ export function ConfirmationStep(props: ConfirmationStepProps) {
{!hideCount && (
<div className="flex gap-2">
<span className="text-muted-foreground">Observations:</span>
- <span className="font-medium">{displayCount}</span>
+ <span className="font-bold">{displayCount}</span>
</div>
)}
diff --git a/web/src/features/batch-actions/components/RunEvaluationDialog/EstimatedCostRow.tsx b/web/src/features/batch-actions/components/RunEvaluationDialog/EstimatedCostRow.tsx
index 09079c7248..4d6eb6bc63 100644
--- a/web/src/features/batch-actions/components/RunEvaluationDialog/EstimatedCostRow.tsx
+++ b/web/src/features/batch-actions/components/RunEvaluationDialog/EstimatedCostRow.tsx
@@ -67,7 +67,7 @@ export function EstimatedCostRow(props: EstimatedCostRowProps) {
<span className="text-muted-foreground shrink-0">
Est. LLM API Key Cost:
</span>
- <span className="flex items-center gap-1 font-medium">
+ <span className="flex items-center gap-1 font-bold">
{formatCostEstimate(totalEstimate)}
{isPartial ? "*" : ""}
<TooltipProvider>
diff --git a/web/src/features/batch-actions/components/RunEvaluationDialog/EvaluatorSelectionStep.tsx b/web/src/features/batch-actions/components/RunEvaluationDialog/EvaluatorSelectionStep.tsx
index 6f8347a9b2..fcc9da115c 100644
--- a/web/src/features/batch-actions/components/RunEvaluationDialog/EvaluatorSelectionStep.tsx
+++ b/web/src/features/batch-actions/components/RunEvaluationDialog/EvaluatorSelectionStep.tsx
@@ -189,7 +189,7 @@ export function EvaluatorSelectionStep(props: EvaluatorSelectionStepProps) {
>
<div className="min-w-0 flex-1">
<p
- className="truncate text-sm font-medium"
+ className="truncate text-sm font-bold"
title={item.scoreName}
>
{item.scoreName}
diff --git a/web/src/features/blobstorage-integration/components/ExportFieldGroupsField.tsx b/web/src/features/blobstorage-integration/components/ExportFieldGroupsField.tsx
index 4405773bc4..cb598caea7 100644
--- a/web/src/features/blobstorage-integration/components/ExportFieldGroupsField.tsx
+++ b/web/src/features/blobstorage-integration/components/ExportFieldGroupsField.tsx
@@ -100,7 +100,7 @@ export const ExportFieldGroupsField = ({
isCore ? "space-y-0.5" : "cursor-pointer space-y-0.5"
}
>
- <div className="text-sm leading-none font-medium">
+ <div className="text-sm leading-none font-bold">
{option.label}
{isCore && (
<span className="text-muted-foreground ml-1 font-normal">
diff --git a/web/src/features/blobstorage-integration/components/ExportSourceField.tsx b/web/src/features/blobstorage-integration/components/ExportSourceField.tsx
index 55267ddbed..e5cf7f7ebe 100644
--- a/web/src/features/blobstorage-integration/components/ExportSourceField.tsx
+++ b/web/src/features/blobstorage-integration/components/ExportSourceField.tsx
@@ -79,7 +79,7 @@ export const ExportSourceField = ({
>
{exportSourceOptions.map((option) => (
<div key={option.value} className="space-y-0.5">
- <div className="font-medium">{option.label}</div>
+ <div className="font-bold">{option.label}</div>
<div className="text-muted-foreground text-xs">
{option.description}
</div>
diff --git a/web/src/features/chart-view-prototype/ChartViewPrototype.stories.tsx b/web/src/features/chart-view-prototype/ChartViewPrototype.stories.tsx
index 0ffdd42d36..83d50c92af 100644
--- a/web/src/features/chart-view-prototype/ChartViewPrototype.stories.tsx
+++ b/web/src/features/chart-view-prototype/ChartViewPrototype.stories.tsx
@@ -130,7 +130,7 @@ export const Comparison = meta.story({
render: () => (
<div className="flex h-full flex-col gap-8 overflow-y-auto">
<div className="flex shrink-0 flex-col gap-2">
- <h3 className="text-sm font-semibold">Take A β€” Inline explorer bar</h3>
+ <h3 className="text-sm font-bold">Take A β€” Inline explorer bar</h3>
<p className="text-muted-foreground text-xs">
Config in an always-on strip above the canvas. Dense, fast, feels like
a live extension of the table.
@@ -140,7 +140,7 @@ export const Comparison = meta.story({
</div>
</div>
<div className="flex shrink-0 flex-col gap-2">
- <h3 className="text-sm font-semibold">Take B β€” Docked side panel</h3>
+ <h3 className="text-sm font-bold">Take B β€” Docked side panel</h3>
<p className="text-muted-foreground text-xs">
Maximized canvas with config in a collapsible panel. Cleaner, more
guided, more room for the chart.
diff --git a/web/src/features/chart-view-prototype/components/ChartViewPrototype.tsx b/web/src/features/chart-view-prototype/components/ChartViewPrototype.tsx
index 6eb38141c4..17ea05fe9b 100644
--- a/web/src/features/chart-view-prototype/components/ChartViewPrototype.tsx
+++ b/web/src/features/chart-view-prototype/components/ChartViewPrototype.tsx
@@ -185,7 +185,7 @@ function InlineTake({
</InlineField>
</div>
<div className="flex min-h-0 min-w-0 flex-1 flex-col gap-1 p-3">
- <div className="text-foreground text-sm font-medium">
+ <div className="text-foreground text-sm font-bold">
{describeConfig(config)}
</div>
<div className="min-h-0 flex-1">
diff --git a/web/src/features/chart-view-prototype/components/MockEventsTable.tsx b/web/src/features/chart-view-prototype/components/MockEventsTable.tsx
index cb1151f10b..75247123a6 100644
--- a/web/src/features/chart-view-prototype/components/MockEventsTable.tsx
+++ b/web/src/features/chart-view-prototype/components/MockEventsTable.tsx
@@ -70,7 +70,7 @@ export const MockEventsTable = React.memo(function MockEventsTable({
{e.type}
</Badge>
</TableCell>
- <TableCell className="py-1.5 font-medium">{e.name}</TableCell>
+ <TableCell className="py-1.5 font-bold">{e.name}</TableCell>
<TableCell className="text-muted-foreground py-1.5 font-mono">
{e.model ?? "–"}
</TableCell>
diff --git a/web/src/features/chart-view/components/ChartViewPanel.tsx b/web/src/features/chart-view/components/ChartViewPanel.tsx
index 85075c7654..69df975f45 100644
--- a/web/src/features/chart-view/components/ChartViewPanel.tsx
+++ b/web/src/features/chart-view/components/ChartViewPanel.tsx
@@ -70,7 +70,7 @@ export const ChartViewPanel = React.memo(function ChartViewPanel({
{/* Canvas */}
<div className="flex min-h-0 min-w-0 flex-1 flex-col gap-1 p-3">
<div className="flex items-center justify-between gap-2">
- <div className="text-foreground text-sm font-medium">
+ <div className="text-foreground text-sm font-bold">
{describeConfig(config)}
</div>
{chartActions}
@@ -99,7 +99,7 @@ export const ChartViewPanel = React.memo(function ChartViewPanel({
{open ? (
<div className="flex w-72 shrink-0 flex-col gap-3 overflow-y-auto border-l p-3">
<div className="flex items-center justify-between">
- <span className="text-sm font-semibold">Visualize</span>
+ <span className="text-sm font-bold">Visualize</span>
<Button
variant="ghost"
size="icon-xs"
@@ -158,7 +158,7 @@ function PanelField({
}) {
return (
<div className="flex flex-col gap-1.5">
- <span className="text-muted-foreground text-xs font-medium">{label}</span>
+ <span className="text-muted-foreground text-xs font-bold">{label}</span>
{children}
</div>
);
diff --git a/web/src/features/comments/CommentList.tsx b/web/src/features/comments/CommentList.tsx
index 0da62cd680..930792e493 100644
--- a/web/src/features/comments/CommentList.tsx
+++ b/web/src/features/comments/CommentList.tsx
@@ -506,7 +506,7 @@ export function CommentList({
)}
>
{cardView && (
- <div className="shrink-0 border-b px-2 py-1 text-sm font-medium">
+ <div className="shrink-0 border-b px-2 py-1 text-sm font-bold">
Comments ({comments.data?.length ?? 0})
</div>
)}
@@ -514,7 +514,7 @@ export function CommentList({
{!cardView && (
<div className="shrink-0 border-b">
<div className="flex items-center justify-between gap-2 px-2 py-1.5">
- <div className="text-sm font-medium">Comments</div>
+ <div className="text-sm font-bold">Comments</div>
<div className="relative max-w-xs flex-1">
<Search className="text-muted-foreground absolute top-1/2 left-2 h-3.5 w-3.5 -translate-y-1/2" />
<Input
@@ -589,7 +589,7 @@ export function CommentList({
<div className="min-w-0">
{/* Name + timestamp inline */}
<div className="mb-1.5 flex items-center gap-2 pt-1.5 text-xs leading-none">
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
{comment.authorUserName ?? comment.authorUserId ?? "User"}
</span>
<span className="text-muted-foreground/50">Β·</span>
@@ -601,7 +601,7 @@ export function CommentList({
{/* Comment content with CSS overrides for markdown */}
<MarkdownView
markdown={comment.content}
- className="border-none p-0 py-1 text-xs [&_h1]:text-[0.9rem] [&_h1]:font-semibold [&_h2]:text-[0.85rem] [&_h2]:font-semibold [&_h3]:text-[0.8rem] [&_h3]:font-semibold [&_h4]:text-xs [&_h4]:font-medium [&_h5]:text-xs [&_h5]:font-medium [&_h6]:text-xs [&_h6]:font-medium [&_li]:text-xs [&_ol]:text-xs [&_p]:text-xs [&_ul]:text-xs"
+ className="border-none p-0 py-1 text-xs [&_h1]:text-[0.9rem] [&_h1]:font-bold [&_h2]:text-[0.85rem] [&_h2]:font-bold [&_h3]:text-[0.8rem] [&_h3]:font-bold [&_h4]:text-xs [&_h4]:font-bold [&_h5]:text-xs [&_h5]:font-bold [&_h6]:text-xs [&_h6]:font-bold [&_li]:text-xs [&_ol]:text-xs [&_p]:text-xs [&_ul]:text-xs"
/>
{/* Inline comment position indicator */}
@@ -614,7 +614,7 @@ export function CommentList({
<TooltipTrigger asChild>
<div className="mt-1 flex w-fit items-center gap-1.5 text-xs">
<Badge
- className="text-foreground pointer-events-none px-1.5 py-0 text-[10px] font-medium"
+ className="text-foreground pointer-events-none px-1.5 py-0 text-[10px] font-bold"
style={{
backgroundColor:
IO_FIELD_COLORS[
diff --git a/web/src/features/comments/components/MentionAutocomplete.tsx b/web/src/features/comments/components/MentionAutocomplete.tsx
index 426839aafb..a30f51ca5e 100644
--- a/web/src/features/comments/components/MentionAutocomplete.tsx
+++ b/web/src/features/comments/components/MentionAutocomplete.tsx
@@ -99,7 +99,7 @@ export function MentionAutocomplete({
</AvatarFallback>
</Avatar>
<div className="text-foreground flex-1 overflow-hidden">
- <div className="truncate font-medium" title={userLabel}>
+ <div className="truncate font-bold" title={userLabel}>
{userLabel}
</div>
{user.email && (
diff --git a/web/src/features/comments/components/MentionBadge.tsx b/web/src/features/comments/components/MentionBadge.tsx
index 48eb76bfb1..921dcb889b 100644
--- a/web/src/features/comments/components/MentionBadge.tsx
+++ b/web/src/features/comments/components/MentionBadge.tsx
@@ -14,7 +14,7 @@ export function MentionBadge({
return (
<span
className={cn(
- "inline-flex items-center rounded bg-blue-100 px-1.5 py-0.5 text-sm font-medium text-blue-800 dark:bg-blue-900 dark:text-blue-200",
+ "inline-flex items-center rounded bg-blue-100 px-1.5 py-0.5 text-sm font-bold text-blue-800 dark:bg-blue-900 dark:text-blue-200",
className,
)}
data-user-id={userId}
diff --git a/web/src/features/dashboard/components/CloneFirstDialog.tsx b/web/src/features/dashboard/components/CloneFirstDialog.tsx
index cfc54bd482..87e982184e 100644
--- a/web/src/features/dashboard/components/CloneFirstDialog.tsx
+++ b/web/src/features/dashboard/components/CloneFirstDialog.tsx
@@ -129,7 +129,7 @@ export function CloneFirstDialog({
<DialogBody>
<div className="text-muted-foreground grid gap-3 py-4 text-sm">
<p>
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
&ldquo;{dashboardName}&rdquo;
</span>{" "}
is maintained by Langfuse and can&rsquo;t be edited directly.
@@ -146,7 +146,7 @@ export function CloneFirstDialog({
<div className="bg-muted/50 flex flex-wrap items-center justify-between gap-2 rounded-md border p-3">
<span>
You already have a copy:{" "}
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
&ldquo;{existingClone.name}&rdquo;
</span>
{pendingDefinition
diff --git a/web/src/features/dashboard/components/LatencyTables.tsx b/web/src/features/dashboard/components/LatencyTables.tsx
index f7637ed6ff..9b4970a77e 100644
--- a/web/src/features/dashboard/components/LatencyTables.tsx
+++ b/web/src/features/dashboard/components/LatencyTables.tsx
@@ -117,7 +117,7 @@ const generateLatencyData = (data?: Record<string, unknown>[]) => {
triggerContent={
item.type ? (
<div className="flex items-center gap-2">
- <span className="text-muted-foreground text-[10px] font-medium tracking-wide uppercase">
+ <span className="text-muted-foreground text-[10px] font-bold tracking-wide uppercase">
{String(item.type)}
</span>
<span>{truncate(item.name as string)}</span>
diff --git a/web/src/features/dashboard/components/ModelSelector.tsx b/web/src/features/dashboard/components/ModelSelector.tsx
index d625e9cd60..cefda450df 100644
--- a/web/src/features/dashboard/components/ModelSelector.tsx
+++ b/web/src/features/dashboard/components/ModelSelector.tsx
@@ -63,7 +63,7 @@ export const ModelSelectorPopover = ({
)}
/>
<span>
- <p className="font-semibold">Select All</p>
+ <p className="font-bold">Select All</p>
</span>
</InputCommandItem>
<InputCommandSeparator className="my-1" />
diff --git a/web/src/features/dashboard/components/SelectDashboardDialog.tsx b/web/src/features/dashboard/components/SelectDashboardDialog.tsx
index 113ec5e40e..274e3da50b 100644
--- a/web/src/features/dashboard/components/SelectDashboardDialog.tsx
+++ b/web/src/features/dashboard/components/SelectDashboardDialog.tsx
@@ -102,10 +102,7 @@ export function SelectDashboardDialog({
selectedDashboardId === d.id ? "bg-muted" : ""
}`}
>
- <TableCell
- density="comfortable"
- className="font-medium"
- >
+ <TableCell density="comfortable" className="font-bold">
{d.name}
</TableCell>
<TableCell
diff --git a/web/src/features/dashboard/components/TabsComponent.tsx b/web/src/features/dashboard/components/TabsComponent.tsx
index 01330a48f2..fc6e2224f8 100644
--- a/web/src/features/dashboard/components/TabsComponent.tsx
+++ b/web/src/features/dashboard/components/TabsComponent.tsx
@@ -46,7 +46,7 @@ export const TabComponent = ({ tabs }: TabComponentProps) => {
index === selectedIndex
? "border-primary-accent text-foreground"
: "text-muted-foreground hover:border-border hover:text-foreground border-transparent",
- "cursor-pointer border-b-2 px-1 py-2 text-sm font-medium whitespace-nowrap",
+ "cursor-pointer border-b-2 px-1 py-2 text-sm font-bold whitespace-nowrap",
)}
aria-current={index === selectedIndex ? "page" : undefined}
onClick={() => {
diff --git a/web/src/features/dashboard/components/cards/DashboardCard.tsx b/web/src/features/dashboard/components/cards/DashboardCard.tsx
index 66e5392527..2f873e15fe 100644
--- a/web/src/features/dashboard/components/cards/DashboardCard.tsx
+++ b/web/src/features/dashboard/components/cards/DashboardCard.tsx
@@ -37,7 +37,7 @@ export const DashboardCard = ({
<CardHeader className={cn("relative", headerClassName)}>
<div className="flex justify-between">
<div className="flex flex-col gap-1.5">
- <CardTitle>{title}</CardTitle>
+ <CardTitle className="text-base">{title}</CardTitle>
{description ? (
<CardDescription>{description}</CardDescription>
) : undefined}
diff --git a/web/src/features/dashboard/components/cards/DashboardTable.tsx b/web/src/features/dashboard/components/cards/DashboardTable.tsx
index 0ffa7d44ae..3555164d21 100644
--- a/web/src/features/dashboard/components/cards/DashboardTable.tsx
+++ b/web/src/features/dashboard/components/cards/DashboardTable.tsx
@@ -72,7 +72,7 @@ export const DashboardTable = ({
<th
key={i}
scope="col"
- className="text-primary py-3.5 pr-3 pl-4 text-left text-xs font-semibold whitespace-nowrap sm:pl-0"
+ className="text-primary py-3.5 pr-3 pl-4 text-left text-xs font-bold whitespace-nowrap sm:pl-0"
>
{header}
</th>
diff --git a/web/src/features/datasets/components/CsvColumnsCard.tsx b/web/src/features/datasets/components/CsvColumnsCard.tsx
index e093a0cffe..e60f88357f 100644
--- a/web/src/features/datasets/components/CsvColumnsCard.tsx
+++ b/web/src/features/datasets/components/CsvColumnsCard.tsx
@@ -52,8 +52,8 @@ export function CsvColumnsCard({
<Card className="flex h-full flex-col overflow-hidden">
<CardHeader className="shrink-0 p-4 pb-3">
<div className="flex items-center justify-between">
- <CardTitle className="text-base font-semibold">CSV Columns</CardTitle>
- <span className="bg-muted text-muted-foreground rounded-full px-2.5 py-0.5 text-xs font-medium">
+ <CardTitle className="text-base font-bold">CSV Columns</CardTitle>
+ <span className="bg-muted text-muted-foreground rounded-full px-2.5 py-0.5 text-xs font-bold">
{columnCount} {columnCount === 1 ? "column" : "columns"}
</span>
</div>
@@ -65,7 +65,7 @@ export function CsvColumnsCard({
))}
</div>
<div className="bg-light-blue/40 text-accent-dark-blue shrink-0 rounded-lg p-3 text-xs leading-relaxed">
- <strong className="font-semibold">Tip:</strong> Drag columns from this
+ <strong className="font-bold">Tip:</strong> Drag columns from this
list to the mapping fields on the right.
</div>
</CardContent>
diff --git a/web/src/features/datasets/components/CsvImportValidationError.tsx b/web/src/features/datasets/components/CsvImportValidationError.tsx
index a51ec02717..e522e3c2be 100644
--- a/web/src/features/datasets/components/CsvImportValidationError.tsx
+++ b/web/src/features/datasets/components/CsvImportValidationError.tsx
@@ -18,7 +18,7 @@ export const CsvImportValidationError: React.FC<
return (
<Alert variant="destructive" className="mt-4">
- <AlertTitle className="text-base font-semibold">
+ <AlertTitle className="text-base font-bold">
Schema Validation Failed
</AlertTitle>
<AlertDescription className="mt-2 space-y-3">
@@ -37,7 +37,7 @@ export const CsvImportValidationError: React.FC<
variant="ghost"
size="sm"
onClick={() => setIsExpanded(!isExpanded)}
- className="h-auto p-0 text-sm font-medium hover:bg-transparent"
+ className="h-auto p-0 text-sm font-bold hover:bg-transparent"
>
{isExpanded ? (
<ChevronDown className="mr-1 h-4 w-4" />
@@ -58,7 +58,7 @@ export const CsvImportValidationError: React.FC<
<span className="text-muted-foreground font-mono text-xs">
#{idx + 1}
</span>
- <span className="text-sm font-medium">
+ <span className="text-sm font-bold">
CSV Row {error.itemIndex + 2}:{" "}
{error.field === "input"
? "Input"
diff --git a/web/src/features/datasets/components/DatasetItemDetailPage.tsx b/web/src/features/datasets/components/DatasetItemDetailPage.tsx
index 9fbcc1029a..a40fe2df58 100644
--- a/web/src/features/datasets/components/DatasetItemDetailPage.tsx
+++ b/web/src/features/datasets/components/DatasetItemDetailPage.tsx
@@ -149,7 +149,7 @@ export const DatasetItemDetailPage = ({
<PopoverContent className="w-80" align="start" side="bottom">
<div className="flex flex-col gap-4">
<div className="space-y-2">
- <h4 className="leading-none font-medium">
+ <h4 className="leading-none font-bold">
{item.data.status === DatasetStatus.ACTIVE
? "Archive this item?"
: "Unarchive this item?"}
diff --git a/web/src/features/datasets/components/DatasetItemField.tsx b/web/src/features/datasets/components/DatasetItemField.tsx
index 27bb5989f1..51944403e8 100644
--- a/web/src/features/datasets/components/DatasetItemField.tsx
+++ b/web/src/features/datasets/components/DatasetItemField.tsx
@@ -111,7 +111,7 @@ export const DatasetItemField = ({
{isFormField ? (
<FormLabel>{label}</FormLabel>
) : (
- <label className="text-sm font-medium">{label}</label>
+ <label className="text-sm font-bold">{label}</label>
)}
{schema && schemaType && (
<DatasetSchemaHoverCard
diff --git a/web/src/features/datasets/components/DatasetItemFieldSchemaErrors.tsx b/web/src/features/datasets/components/DatasetItemFieldSchemaErrors.tsx
index dda83631a1..1a771fc9e5 100644
--- a/web/src/features/datasets/components/DatasetItemFieldSchemaErrors.tsx
+++ b/web/src/features/datasets/components/DatasetItemFieldSchemaErrors.tsx
@@ -25,13 +25,13 @@ export const DatasetItemFieldSchemaErrors: React.FC<
<div className="flex items-start gap-2">
<AlertCircle className="text-destructive mt-0.5 h-4 w-4" />
<div className="flex-1 space-y-2">
- <p className="text-destructive text-sm font-medium">
+ <p className="text-destructive text-sm font-bold">
Schema validation failed
</p>
{errors.map((error, idx) => (
<div key={`${error.datasetId}-${idx}`} className="space-y-1">
{showDatasetName && (
- <p className="text-muted-foreground text-xs font-medium">
+ <p className="text-muted-foreground text-xs font-bold">
{error.datasetName}
</p>
)}
diff --git a/web/src/features/datasets/components/DatasetItemMediaAttachments.tsx b/web/src/features/datasets/components/DatasetItemMediaAttachments.tsx
index 6cd5158c02..b57f3d0957 100644
--- a/web/src/features/datasets/components/DatasetItemMediaAttachments.tsx
+++ b/web/src/features/datasets/components/DatasetItemMediaAttachments.tsx
@@ -300,7 +300,7 @@ function DatasetItemAttachments({
return null;
return (
<div className="flex flex-col gap-2">
- <span className="text-sm font-medium">Attachments</span>
+ <span className="text-sm font-bold">Attachments</span>
<div className="flex flex-wrap gap-2">
{referenceStrings.map((referenceString) => (
<LangfuseMediaView
diff --git a/web/src/features/datasets/components/DatasetItemVersionedContent.tsx b/web/src/features/datasets/components/DatasetItemVersionedContent.tsx
index 1d551cc1b9..0ac455e368 100644
--- a/web/src/features/datasets/components/DatasetItemVersionedContent.tsx
+++ b/web/src/features/datasets/components/DatasetItemVersionedContent.tsx
@@ -40,7 +40,7 @@ export const DatasetItemVersionedContent = ({
return (
<div className="flex flex-col items-center justify-center p-12 text-center">
<div className="text-muted-foreground">
- <p className="text-lg font-medium">
+ <p className="text-lg font-bold">
Item does not exist at this version
</p>
<p className="mt-2 text-sm">
@@ -63,7 +63,7 @@ export const DatasetItemVersionedContent = ({
return (
<div className="flex flex-col items-center justify-center p-12 text-center">
<div className="text-muted-foreground">
- <p className="text-lg font-medium">Cannot show diff</p>
+ <p className="text-lg font-bold">Cannot show diff</p>
<p className="mt-2 text-sm">
The latest version of this item does not exist (has been deleted).
</p>
diff --git a/web/src/features/datasets/components/DatasetItemViewModeContent.tsx b/web/src/features/datasets/components/DatasetItemViewModeContent.tsx
index 112bc1df3b..2823e657de 100644
--- a/web/src/features/datasets/components/DatasetItemViewModeContent.tsx
+++ b/web/src/features/datasets/components/DatasetItemViewModeContent.tsx
@@ -28,7 +28,7 @@ export const DatasetItemViewModeContent = ({
return (
<div className="flex flex-col items-center justify-center p-12 text-center">
<div className="text-muted-foreground">
- <p className="text-lg font-medium">Dataset item not found</p>
+ <p className="text-lg font-bold">Dataset item not found</p>
<p className="mt-2 text-sm">
This dataset item does not exist or has been deleted.
</p>
diff --git a/web/src/features/datasets/components/DatasetRunsTable.tsx b/web/src/features/datasets/components/DatasetRunsTable.tsx
index 76db5ed64d..de92b09bcc 100644
--- a/web/src/features/datasets/components/DatasetRunsTable.tsx
+++ b/web/src/features/datasets/components/DatasetRunsTable.tsx
@@ -630,7 +630,7 @@ export function DatasetRunsTable(props: {
key={key}
className="flex h-full max-w-full min-w-80 flex-col gap-2"
>
- <span className="shrink-0 text-sm font-medium">
+ <span className="shrink-0 text-sm font-bold">
{title}
</span>
<NoDataOrLoading
@@ -664,7 +664,7 @@ export function DatasetRunsTable(props: {
key={key}
className="flex h-full max-w-full min-w-80 flex-col gap-2"
>
- <span className="shrink-0 text-sm font-medium">
+ <span className="shrink-0 text-sm font-bold">
{title}
</span>
<NoDataOrLoading
@@ -681,7 +681,7 @@ export function DatasetRunsTable(props: {
key={key}
className="flex h-full max-w-full min-w-80 flex-col gap-2"
>
- <span className="shrink-0 text-sm font-medium">
+ <span className="shrink-0 text-sm font-bold">
{title}
</span>
<div className="min-h-[200px] min-w-0 flex-1">
diff --git a/web/src/features/datasets/components/DatasetSchemaHoverCard.tsx b/web/src/features/datasets/components/DatasetSchemaHoverCard.tsx
index c1b1ad6bb9..be39a460e9 100644
--- a/web/src/features/datasets/components/DatasetSchemaHoverCard.tsx
+++ b/web/src/features/datasets/components/DatasetSchemaHoverCard.tsx
@@ -69,7 +69,7 @@ export const DatasetSchemaHoverCard: React.FC<DatasetSchemaHoverCardProps> = ({
className="max-h-[80vh] w-[400px] overflow-auto"
collisionPadding={20}
>
- <p className="text-sm font-medium">{title}</p>
+ <p className="text-sm font-bold">{title}</p>
<p className="text-muted-foreground pt-2 text-sm">
Learn more about{" "}
<a
@@ -96,7 +96,7 @@ export const DatasetSchemaHoverCard: React.FC<DatasetSchemaHoverCardProps> = ({
<>
<Separator className="my-4" />
<div className="flex items-center justify-between">
- <p className="text-sm font-medium">Example Object</p>
+ <p className="text-sm font-bold">Example Object</p>
<Button
variant="ghost"
size="sm"
diff --git a/web/src/features/datasets/components/DatasetSchemaValidationError.tsx b/web/src/features/datasets/components/DatasetSchemaValidationError.tsx
index 79f69cb368..43eb867c8d 100644
--- a/web/src/features/datasets/components/DatasetSchemaValidationError.tsx
+++ b/web/src/features/datasets/components/DatasetSchemaValidationError.tsx
@@ -30,7 +30,7 @@ export const DatasetSchemaValidationError: React.FC<
return (
<Alert variant="destructive" className="mt-4">
- <AlertTitle className="text-base font-semibold">
+ <AlertTitle className="text-base font-bold">
Schema Validation Failed
</AlertTitle>
<AlertDescription className="mt-2 space-y-3">
@@ -45,7 +45,7 @@ export const DatasetSchemaValidationError: React.FC<
variant="ghost"
size="sm"
onClick={() => setIsExpanded(!isExpanded)}
- className="h-auto p-0 text-sm font-medium hover:bg-transparent"
+ className="h-auto p-0 text-sm font-bold hover:bg-transparent"
>
{isExpanded ? (
<ChevronDown className="mr-1 h-4 w-4" />
@@ -71,13 +71,13 @@ export const DatasetSchemaValidationError: React.FC<
href={`/project/${projectId}/datasets/${datasetId}/items/${error.datasetItemId}`}
target="_blank"
rel="noopener noreferrer"
- className="flex items-center gap-1 text-sm font-medium hover:underline"
+ className="flex items-center gap-1 text-sm font-bold hover:underline"
>
Item: {error.datasetItemId}
<ExternalLink className="h-3 w-3" />
</Link>
</div>
- <span className="bg-destructive/20 rounded px-2 py-0.5 text-xs font-medium">
+ <span className="bg-destructive/20 rounded px-2 py-0.5 text-xs font-bold">
{error.field === "input" ? "Input" : "Expected Output"}
</span>
</div>
diff --git a/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx b/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx
index 0a0161797f..7d636c16fc 100644
--- a/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx
+++ b/web/src/features/datasets/components/DatasetVersionHistoryPanel.tsx
@@ -148,7 +148,7 @@ export function DatasetVersionHistoryPanel({
variant="ghost"
className={cn(
"hover:bg-muted/50 flex h-auto flex-1 flex-col items-start gap-1 rounded-md px-3 py-2.5 text-left text-sm transition-colors",
- isSelected && "bg-muted hover:bg-muted font-medium",
+ isSelected && "bg-muted hover:bg-muted font-bold",
)}
>
<div className="flex w-full items-center justify-between gap-2">
@@ -167,7 +167,7 @@ export function DatasetVersionHistoryPanel({
</span>
</div>
{isLatest && (
- <span className="bg-accent-light-green text-accent-dark-green dark:bg-accent-dark-green dark:text-accent-light-green shrink-0 rounded-md px-2 py-0.5 text-xs font-medium">
+ <span className="bg-accent-light-green text-accent-dark-green dark:bg-accent-dark-green dark:text-accent-light-green shrink-0 rounded-md px-2 py-0.5 text-xs font-bold">
Latest
</span>
)}
@@ -222,7 +222,7 @@ export function DatasetVersionHistoryPanel({
<div className="flex h-full w-full flex-col">
{/* Header */}
<div className="border-b p-4">
- <h3 className="text-lg font-semibold">Version History</h3>
+ <h3 className="text-lg font-bold">Version History</h3>
<p className="text-muted-foreground text-sm">
{versions.length} version{versions.length !== 1 ? "s" : ""}
</p>
@@ -234,7 +234,7 @@ export function DatasetVersionHistoryPanel({
{/* Today */}
{groupedVersions.today.length > 0 && (
<AccordionItem value="today" className="px-2">
- <AccordionTrigger className="text-sm font-medium">
+ <AccordionTrigger className="text-sm font-bold">
Today ({groupedVersions.today.length})
</AccordionTrigger>
<AccordionContent>
@@ -248,7 +248,7 @@ export function DatasetVersionHistoryPanel({
{/* Yesterday */}
{groupedVersions.yesterday.length > 0 && (
<AccordionItem value="yesterday" className="px-2">
- <AccordionTrigger className="text-sm font-medium">
+ <AccordionTrigger className="text-sm font-bold">
Yesterday ({groupedVersions.yesterday.length})
</AccordionTrigger>
<AccordionContent>
@@ -264,7 +264,7 @@ export function DatasetVersionHistoryPanel({
{/* Last 7 Days */}
{groupedVersions.last7Days.length > 0 && (
<AccordionItem value="last7days" className="px-2">
- <AccordionTrigger className="text-sm font-medium">
+ <AccordionTrigger className="text-sm font-bold">
Last 7 Days ({groupedVersions.last7Days.length})
</AccordionTrigger>
<AccordionContent>
@@ -280,7 +280,7 @@ export function DatasetVersionHistoryPanel({
{/* Last 30 Days */}
{groupedVersions.last30Days.length > 0 && (
<AccordionItem value="last30days" className="px-2">
- <AccordionTrigger className="text-sm font-medium">
+ <AccordionTrigger className="text-sm font-bold">
Last 30 Days ({groupedVersions.last30Days.length})
</AccordionTrigger>
<AccordionContent>
@@ -296,7 +296,7 @@ export function DatasetVersionHistoryPanel({
{/* Older */}
{groupedVersions.older.length > 0 && (
<AccordionItem value="older" className="px-2">
- <AccordionTrigger className="text-sm font-medium">
+ <AccordionTrigger className="text-sm font-bold">
Older ({groupedVersions.older.length})
</AccordionTrigger>
<AccordionContent>
diff --git a/web/src/features/datasets/components/DatasetVersionWarningBanner.tsx b/web/src/features/datasets/components/DatasetVersionWarningBanner.tsx
index 28205c02e8..c276530a20 100644
--- a/web/src/features/datasets/components/DatasetVersionWarningBanner.tsx
+++ b/web/src/features/datasets/components/DatasetVersionWarningBanner.tsx
@@ -32,7 +32,7 @@ export function DatasetVersionWarningBanner({
<div className="flex items-center justify-between gap-4">
<p className="text-muted-foreground text-sm wrap-break-word">
Viewing version from{" "}
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
{format(selectedVersion, "MMM d, yyyy 'at' h:mm a")}
</span>
</p>
diff --git a/web/src/features/datasets/components/DiffLabel.tsx b/web/src/features/datasets/components/DiffLabel.tsx
index c3864b16d2..2599fe0994 100644
--- a/web/src/features/datasets/components/DiffLabel.tsx
+++ b/web/src/features/datasets/components/DiffLabel.tsx
@@ -32,7 +32,7 @@ export function DiffLabel({
<Badge
size="sm"
variant={getVariant(diff.direction, preferNegativeDiff)}
- className={cn("font-semibold", className)}
+ className={cn("font-bold", className)}
>
{diff.direction}
{formatValue(diff.absoluteDifference)}
@@ -41,7 +41,7 @@ export function DiffLabel({
}
if (diff.isDifferent)
return (
- <Badge size="sm" variant="warning" className="font-semibold">
+ <Badge size="sm" variant="warning" className="font-bold">
Varies
</Badge>
);
diff --git a/web/src/features/datasets/components/MappingCard.tsx b/web/src/features/datasets/components/MappingCard.tsx
index 8b03b60be2..76529b53ca 100644
--- a/web/src/features/datasets/components/MappingCard.tsx
+++ b/web/src/features/datasets/components/MappingCard.tsx
@@ -48,11 +48,11 @@ function SchemaKeyDropZone({
>
{mappedColumns.length === 0 ? (
<div className="flex h-full min-h-[52px] flex-col justify-start p-2">
- <div className="mb-1 text-sm font-medium">{schemaKey}</div>
+ <div className="mb-1 text-sm font-bold">{schemaKey}</div>
</div>
) : (
<div className="p-2">
- <div className="mb-1 text-sm font-medium">{schemaKey}</div>
+ <div className="mb-1 text-sm font-bold">{schemaKey}</div>
<div className="flex flex-wrap gap-1.5">
{mappedColumns.map((column) => (
<MappedColumnBadge
@@ -125,7 +125,7 @@ function MappedColumnBadge({
<div
ref={setNodeRef}
className={cn(
- "bg-accent-dark-blue text-muted group flex cursor-grab items-center gap-1 rounded-md px-2 py-1 text-sm font-medium active:cursor-grabbing",
+ "bg-accent-dark-blue text-muted group flex cursor-grab items-center gap-1 rounded-md px-2 py-1 text-sm font-bold active:cursor-grabbing",
isDragging && "opacity-30",
)}
{...attributes}
@@ -178,7 +178,7 @@ export function MappingCard({
return (
<Card className="flex h-full flex-col overflow-hidden">
<CardHeader className="shrink-0 border-b p-3">
- <CardTitle className="text-base font-semibold">
+ <CardTitle className="text-base font-bold">
Map to Dataset Items
</CardTitle>
</CardHeader>
@@ -186,7 +186,7 @@ export function MappingCard({
{/* INPUT SECTION */}
<div className="space-y-2">
<div className="flex items-center justify-between">
- <h3 className="text-muted-foreground text-sm font-semibold tracking-wide">
+ <h3 className="text-muted-foreground text-sm font-bold tracking-wide">
Input
</h3>
{inputSchemaKeys && inputSchemaKeys.length > 0 && (
@@ -244,7 +244,7 @@ export function MappingCard({
{/* OUTPUT SECTION */}
<div className="space-y-2">
<div className="flex items-center justify-between">
- <h3 className="text-muted-foreground text-sm font-semibold tracking-wide">
+ <h3 className="text-muted-foreground text-sm font-bold tracking-wide">
Expected Output
</h3>
{expectedOutputSchemaKeys &&
@@ -302,7 +302,7 @@ export function MappingCard({
{/* METADATA SECTION */}
<div className="space-y-2">
- <h3 className="text-muted-foreground text-sm font-semibold tracking-wide">
+ <h3 className="text-muted-foreground text-sm font-bold tracking-wide">
Metadata
</h3>
<FreeformDropZone
diff --git a/web/src/features/datasets/components/NotFoundCard.tsx b/web/src/features/datasets/components/NotFoundCard.tsx
index 6bf8e4cd01..00fc0997eb 100644
--- a/web/src/features/datasets/components/NotFoundCard.tsx
+++ b/web/src/features/datasets/components/NotFoundCard.tsx
@@ -22,7 +22,7 @@ export const NotFoundCard = ({
return (
<Card className="flex h-full w-full flex-col items-center justify-center overflow-hidden rounded-sm p-3">
- <h2 className="mb-1.5 text-sm font-semibold">Not found</h2>
+ <h2 className="mb-1.5 text-sm font-bold">Not found</h2>
<p className="text-muted-foreground max-w-xs text-center text-xs">
The {itemType} is either still being processed or has been deleted.
</p>
diff --git a/web/src/features/datasets/components/PreviewCsvImport.tsx b/web/src/features/datasets/components/PreviewCsvImport.tsx
index 7b0ef79f68..a034848845 100644
--- a/web/src/features/datasets/components/PreviewCsvImport.tsx
+++ b/web/src/features/datasets/components/PreviewCsvImport.tsx
@@ -195,7 +195,7 @@ export function PreviewCsvImport({
<DragOverlay dropAnimation={null} adjustScale={false}>
{dragAndDrop.activeColumn ? (
dragAndDrop.activeColumn.startsWith("mapped-") ? (
- <div className="bg-accent-dark-blue text-muted-foreground cursor-grabbing rounded-md px-2 py-1 text-sm font-medium shadow-xl">
+ <div className="bg-accent-dark-blue text-muted-foreground cursor-grabbing rounded-md px-2 py-1 text-sm font-bold shadow-xl">
{dragAndDrop.activeColumn.replace("mapped-", "")}
</div>
) : (
diff --git a/web/src/features/developer-tools/components/AgentToolsBanner.tsx b/web/src/features/developer-tools/components/AgentToolsBanner.tsx
index 7971da4f3f..c0cbfc227f 100644
--- a/web/src/features/developer-tools/components/AgentToolsBanner.tsx
+++ b/web/src/features/developer-tools/components/AgentToolsBanner.tsx
@@ -29,7 +29,7 @@ export function AgentToolsBanner() {
<div className="flex items-center gap-2">
<Bot className="h-4 w-4 shrink-0" />
<span>
- <span className="font-semibold">
+ <span className="font-bold">
Langfuse works great with your AI coding agents.
</span>{" "}
Connect Claude Code, Codex, and other agents to your data with the
diff --git a/web/src/features/developer-tools/components/DeveloperToolsSettings.tsx b/web/src/features/developer-tools/components/DeveloperToolsSettings.tsx
index d3b52c153c..11475ffeaf 100644
--- a/web/src/features/developer-tools/components/DeveloperToolsSettings.tsx
+++ b/web/src/features/developer-tools/components/DeveloperToolsSettings.tsx
@@ -34,7 +34,7 @@ export function DeveloperToolsSettings({ projectId }: { projectId: string }) {
<Card className="p-4">
<div className="mb-3 flex items-center gap-2">
<Sparkles className="text-foreground h-5 w-5" />
- <span className="font-semibold">Agent Skill</span>
+ <span className="font-bold">Agent Skill</span>
</div>
<p className="text-primary mb-4 text-sm">
The Langfuse Agent Skill is an open-source skill following
@@ -55,7 +55,7 @@ export function DeveloperToolsSettings({ projectId }: { projectId: string }) {
<Card className="p-4">
<div className="mb-3 flex items-center gap-2">
<Bot className="text-foreground h-5 w-5" />
- <span className="font-semibold">MCP Server</span>
+ <span className="font-bold">MCP Server</span>
</div>
<p className="text-primary mb-4 text-sm">
The Langfuse MCP server lets AI assistants and agents interact with
@@ -79,7 +79,7 @@ export function DeveloperToolsSettings({ projectId }: { projectId: string }) {
<Card className="p-4">
<div className="mb-3 flex items-center gap-2">
<SquareTerminal className="text-foreground h-5 w-5" />
- <span className="font-semibold">CLI</span>
+ <span className="font-bold">CLI</span>
</div>
<p className="text-primary mb-4 text-sm">
The Langfuse CLI provides terminal access to the full Langfuse API.
diff --git a/web/src/features/evals/components/code-eval-test-run-card.tsx b/web/src/features/evals/components/code-eval-test-run-card.tsx
index 65abf98eb6..2606077e0a 100644
--- a/web/src/features/evals/components/code-eval-test-run-card.tsx
+++ b/web/src/features/evals/components/code-eval-test-run-card.tsx
@@ -118,7 +118,7 @@ export function CodeEvalTestRunCard({
<Card className="flex min-w-0 flex-col gap-4 p-4">
<div className="flex items-center justify-between gap-3">
<div className="flex min-w-0 items-center gap-2">
- <span className="text-sm font-medium">Test run</span>
+ <span className="text-sm font-bold">Test run</span>
</div>
<div className="flex shrink-0 items-center gap-2">
{evalTemplate.projectId ? (
@@ -278,7 +278,7 @@ function CodeEvalTestRunInputCards({
return (
<div className="bg-muted/20 min-w-0 rounded-md border">
<div className="flex items-center justify-between gap-3 border-b px-3 py-2">
- <span className="text-muted-foreground text-xs font-medium">
+ <span className="text-muted-foreground text-xs font-bold">
Evaluator input
</span>
</div>
diff --git a/web/src/features/evals/components/deactivate-config.tsx b/web/src/features/evals/components/deactivate-config.tsx
index 640eba51cc..435b9d00bf 100644
--- a/web/src/features/evals/components/deactivate-config.tsx
+++ b/web/src/features/evals/components/deactivate-config.tsx
@@ -69,7 +69,7 @@ export function DeactivateEvalConfig({
</div>
</PopoverTrigger>
<PopoverContent>
- <h2 className="mb-3 font-semibold">Please confirm</h2>
+ <h2 className="mb-3 font-bold">Please confirm</h2>
<p className="mb-3 text-sm">
{evalConfig?.status === "ACTIVE"
? "This action will deactivate the evaluator. No more traces will be evaluated based on this evaluator."
diff --git a/web/src/features/evals/components/default-eval-model-setup.tsx b/web/src/features/evals/components/default-eval-model-setup.tsx
index 33509e8db6..eebab2f56f 100644
--- a/web/src/features/evals/components/default-eval-model-setup.tsx
+++ b/web/src/features/evals/components/default-eval-model-setup.tsx
@@ -111,9 +111,7 @@ function DefaultEvalModelFields({
return (
<>
<ModelParameters
- customHeader={
- <p className="leading-none font-medium">LLM connection</p>
- }
+ customHeader={<p className="leading-none font-bold">LLM connection</p>}
modelParams={setup.modelParams}
availableModels={setup.availableModels}
providerModelCombinations={setup.providerModelCombinations}
@@ -162,7 +160,7 @@ export function DefaultEvalModelSetup({
<>
<Card className="mt-3 flex flex-col gap-6">
<CardContent>
- <p className="my-2 text-lg font-semibold">
+ <p className="my-2 text-lg font-bold">
Set up LLM connection to use for evaluations
</p>
<ManageDefaultEvalModel
@@ -324,7 +322,7 @@ function UpdateButton({
onClick={(e) => e.stopPropagation()}
className="w-fit max-w-[500px]"
>
- <h2 className="mb-3 font-semibold">Please confirm</h2>
+ <h2 className="mb-3 font-bold">Please confirm</h2>
<p className="mb-3 text-sm">
Updating the default model will impact any currently running
evaluators that use it. Please confirm that you want to proceed with
diff --git a/web/src/features/evals/components/eval-form-descriptions.tsx b/web/src/features/evals/components/eval-form-descriptions.tsx
index 289721d600..cbb622f4c3 100644
--- a/web/src/features/evals/components/eval-form-descriptions.tsx
+++ b/web/src/features/evals/components/eval-form-descriptions.tsx
@@ -8,7 +8,7 @@ export function VariableMappingDescription(p: {
}) {
return (
<div className="flex w-1/2 items-center">
- <Label className="text-sm font-light">{p.title}</Label>
+ <Label className="text-sm font-normal">{p.title}</Label>
<DocPopup description={p.description} href={p.href} />
</div>
);
diff --git a/web/src/features/evals/components/eval-template-detail.tsx b/web/src/features/evals/components/eval-template-detail.tsx
index c1815d63a1..fabe227bd5 100644
--- a/web/src/features/evals/components/eval-template-detail.tsx
+++ b/web/src/features/evals/components/eval-template-detail.tsx
@@ -121,7 +121,7 @@ export const EvalTemplateDetail = () => {
icon={<TrashIcon className="h-4 w-4" />}
label="Delete"
aria-label="delete"
- variant="outline-solid"
+ variant="outline"
size="icon"
disabledReason={
hasDeleteAccess
@@ -179,12 +179,12 @@ export const EvalTemplateDetail = () => {
</div>
<SidePanel mobileTitle="Change history" id="change-history">
<SidePanelHeader>
- <SidePanelTitle className="text-base font-semibold">
+ <SidePanelTitle className="text-base font-bold">
Change history
</SidePanelTitle>
</SidePanelHeader>
<SidePanelContent>
- <Command className="flex flex-col gap-2 overflow-y-auto rounded-none font-medium focus:ring-0 focus:outline-hidden focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:outline-hidden data-focus:ring-0">
+ <Command className="flex flex-col gap-2 overflow-y-auto rounded-none font-bold focus:ring-0 focus:outline-hidden focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:outline-hidden data-focus:ring-0">
<div className="flex flex-col overflow-y-auto">
{allTemplates.data.templates.map((template, index) => (
<div
@@ -295,7 +295,7 @@ export function UpdateTemplate({
return (
<div className="flex items-center gap-2">
<LangfuseIcon size={16} />
- <span className="text-muted-foreground text-sm font-medium">
+ <span className="text-muted-foreground text-sm font-bold">
View only
</span>
</div>
@@ -304,7 +304,7 @@ export function UpdateTemplate({
return (
<div className="flex items-center gap-2">
- <span className="text-sm font-medium">Edit mode</span>
+ <span className="text-sm font-bold">Edit mode</span>
<Switch
checked={isEditing}
onCheckedChange={handlePromptEdit}
diff --git a/web/src/features/evals/components/eval-version-callout.tsx b/web/src/features/evals/components/eval-version-callout.tsx
index a9132a572e..f1c3cd1a94 100644
--- a/web/src/features/evals/components/eval-version-callout.tsx
+++ b/web/src/features/evals/components/eval-version-callout.tsx
@@ -43,7 +43,7 @@ const getCalloutContent = (
href="https://langfuse.com/docs/observability/sdk/upgrade-path"
target="_blank"
rel="noopener noreferrer"
- className="text-dark-blue font-medium hover:opacity-80"
+ className="text-dark-blue font-bold hover:opacity-80"
>
Learn more
</a>
@@ -68,7 +68,7 @@ const getCalloutContent = (
href="https://langfuse.com/docs/evaluation/experiments/experiments-via-sdk#experiment-runner-sdk"
target="_blank"
rel="noopener noreferrer"
- className="text-dark-blue font-medium hover:opacity-80"
+ className="text-dark-blue font-bold hover:opacity-80"
>
Learn more about the Experiment Runner SDK.
</a>
@@ -96,7 +96,7 @@ const getCalloutContent = (
href="https://langfuse.com/docs/evaluation/experiments/experiments-via-sdk#experiment-runner-sdk"
target="_blank"
rel="noopener noreferrer"
- className="text-dark-blue font-medium hover:opacity-80"
+ className="text-dark-blue font-bold hover:opacity-80"
>
Learn more
</a>
@@ -119,7 +119,7 @@ const getCalloutContent = (
href="https://langfuse.com/faq/all/llm-as-a-judge-migration"
target="_blank"
rel="noopener noreferrer"
- className="text-dark-blue font-medium hover:opacity-80"
+ className="text-dark-blue font-bold hover:opacity-80"
>
Learn more
</a>
@@ -151,7 +151,7 @@ export function EvalVersionCallout({
<AlertDescription>
<div className="flex flex-col gap-2">
<div className="flex flex-col gap-1">
- <span className="text-foreground font-medium">{content.title}</span>
+ <span className="text-foreground font-bold">{content.title}</span>
<span className="text-foreground text-sm">
{content.description}
</span>
diff --git a/web/src/features/evals/components/evaluation-prompt-preview.tsx b/web/src/features/evals/components/evaluation-prompt-preview.tsx
index 46a08c7e2b..891176fcfb 100644
--- a/web/src/features/evals/components/evaluation-prompt-preview.tsx
+++ b/web/src/features/evals/components/evaluation-prompt-preview.tsx
@@ -232,7 +232,7 @@ export const EvaluationPromptPreview = ({
return (
<div className={cn("flex flex-col", className)}>
- <span className="mb-1 flex flex-row items-center justify-between py-0 text-sm font-medium capitalize">
+ <span className="mb-1 flex flex-row items-center justify-between py-0 text-sm font-bold capitalize">
<div className="flex flex-row items-center gap-2">
Evaluation Prompt Preview
{targetLink && (
diff --git a/web/src/features/evals/components/evaluator-paused-callout.tsx b/web/src/features/evals/components/evaluator-paused-callout.tsx
index aaefb11fbe..cd8303b749 100644
--- a/web/src/features/evals/components/evaluator-paused-callout.tsx
+++ b/web/src/features/evals/components/evaluator-paused-callout.tsx
@@ -101,12 +101,12 @@ export function EvaluatorPausedCallout({
<AlertTriangle className="text-dark-yellow mt-0.5 h-4 w-4 shrink-0" />
<div className="min-w-0 flex-1">
- <h3 className="text-foreground text-base leading-5 font-medium">
+ <h3 className="text-foreground text-base leading-5 font-bold">
Evaluator paused
</h3>
<div className="text-muted-foreground mt-1 flex flex-wrap items-center gap-2 text-sm leading-5">
- <span className="text-muted-foreground font-medium">
+ <span className="text-muted-foreground font-bold">
{blockMetadata.shortLabel}
</span>
{blockedAtLabel ? (
diff --git a/web/src/features/evals/components/evaluator-selector.tsx b/web/src/features/evals/components/evaluator-selector.tsx
index 4a7e7a6de4..7a29d840e8 100644
--- a/web/src/features/evals/components/evaluator-selector.tsx
+++ b/web/src/features/evals/components/evaluator-selector.tsx
@@ -72,7 +72,7 @@ const TemplatePreviewTooltipContent = ({
if (template.type === EvalTemplateType.CODE) {
return (
<>
- <p className="mb-1 font-medium">
+ <p className="mb-1 font-bold">
{getCodeTemplateLanguageTitle(template.sourceCodeLanguage)} source
</p>
<pre className="text-muted-foreground text-xs wrap-break-word whitespace-pre-wrap">
@@ -84,7 +84,7 @@ const TemplatePreviewTooltipContent = ({
return (
<>
- <p className="mb-1 font-medium">Evaluation prompt</p>
+ <p className="mb-1 font-bold">Evaluation prompt</p>
<pre className="text-muted-foreground text-xs wrap-break-word whitespace-pre-wrap">
{template.prompt}
</pre>
diff --git a/web/src/features/evals/components/evaluator-table.tsx b/web/src/features/evals/components/evaluator-table.tsx
index 9c1b2e29a4..f54d6982bc 100644
--- a/web/src/features/evals/components/evaluator-table.tsx
+++ b/web/src/features/evals/components/evaluator-table.tsx
@@ -75,7 +75,7 @@ function LegacyBadgeCell({ status }: { status: string }) {
</TooltipTrigger>
<TooltipContent className="max-w-[280px]">
<div className="space-y-1 text-sm">
- <p className="font-medium">Action required</p>
+ <p className="font-bold">Action required</p>
<p className="text-muted-foreground">
This evaluator requires changes to benefit from new features
and performance improvements. Please follow{" "}
@@ -83,7 +83,7 @@ function LegacyBadgeCell({ status }: { status: string }) {
href="https://langfuse.com/faq/all/llm-as-a-judge-migration"
target="_blank"
rel="noopener noreferrer"
- className="text-dark-blue font-medium hover:opacity-80"
+ className="text-dark-blue font-bold hover:opacity-80"
onClick={(e) => {
e.stopPropagation();
}}
@@ -434,7 +434,7 @@ export default function EvaluatorTable({ projectId }: { projectId: string }) {
key="dismissed-eval-remapping-callouts"
>
<span>New functionality has landed. </span>
- <span className="font-semibold">
+ <span className="font-bold">
Some of your evaluators (marked &quot;Legacy&quot;) require
changes{" "}
</span>
@@ -443,7 +443,7 @@ export default function EvaluatorTable({ projectId }: { projectId: string }) {
href="https://langfuse.com/faq/all/llm-as-a-judge-migration"
target="_blank"
rel="noopener noreferrer"
- className="text-dark-blue font-medium hover:opacity-80"
+ className="text-dark-blue font-bold hover:opacity-80"
>
Learn what is changing and how to upgrade
</Link>
diff --git a/web/src/features/evals/components/execution-count-tooltip.tsx b/web/src/features/evals/components/execution-count-tooltip.tsx
index ffffdbe90f..cf8d8c08e0 100644
--- a/web/src/features/evals/components/execution-count-tooltip.tsx
+++ b/web/src/features/evals/components/execution-count-tooltip.tsx
@@ -27,7 +27,7 @@ export const ExecutionCountTooltip = ({
return (
<>
- <span className="text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70">
+ <span className="text-sm leading-none font-bold peer-disabled:cursor-not-allowed peer-disabled:opacity-70">
(
{isLoading ? (
<span className="inline-block font-mono">...</span>
diff --git a/web/src/features/evals/components/inner-evaluator-form.tsx b/web/src/features/evals/components/inner-evaluator-form.tsx
index b81978a3e4..0c2d71383e 100644
--- a/web/src/features/evals/components/inner-evaluator-form.tsx
+++ b/web/src/features/evals/components/inner-evaluator-form.tsx
@@ -146,7 +146,7 @@ const TracesPreview = memo(
return (
<>
<div className="flex flex-col items-start gap-1">
- <span className="text-sm leading-none font-medium">
+ <span className="text-sm leading-none font-bold">
Preview sample matched traces
</span>
<FormDescription>
@@ -211,7 +211,7 @@ const ObservationsPreview = memo(
<div className="flex h-[30dvh] flex-col items-center justify-center gap-2 border-t p-4 text-center">
<AlertTriangle className="text-dark-yellow h-8 w-8" />
<div className="flex flex-col gap-1">
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
Please verify your SDK version
</span>
<span className="text-muted-foreground max-w-md text-sm">
@@ -224,7 +224,7 @@ const ObservationsPreview = memo(
href="https://langfuse.com/docs/observability/sdk/upgrade-path"
target="_blank"
rel="noopener noreferrer"
- className="text-dark-blue font-medium hover:opacity-80"
+ className="text-dark-blue font-bold hover:opacity-80"
>
Learn more
</a>
@@ -988,7 +988,7 @@ export const InnerEvaluatorForm = (props: {
<div className="grid gap-1.5 leading-none">
<label
htmlFor="newObjects"
- className="text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
+ className="text-sm leading-none font-bold peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
>
New {getTargetDisplayName(form.watch("target"))}
</label>
@@ -1013,7 +1013,7 @@ export const InnerEvaluatorForm = (props: {
<div className="flex items-center gap-1.5 leading-none">
<label
htmlFor="existingObjects"
- className="text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
+ className="text-sm leading-none font-bold peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
>
Existing{" "}
{getTargetDisplayName(form.watch("target"))}
diff --git a/web/src/features/evals/components/manage-default-eval-model.tsx b/web/src/features/evals/components/manage-default-eval-model.tsx
index b2c26c61e7..9334306c22 100644
--- a/web/src/features/evals/components/manage-default-eval-model.tsx
+++ b/web/src/features/evals/components/manage-default-eval-model.tsx
@@ -43,7 +43,7 @@ export function ManageDefaultEvalModel({
{defaultModel ? (
<span
className={cn(
- "text-sm font-medium",
+ "text-sm font-bold",
variant === "color-coded" && "text-dark-green",
className,
)}
@@ -54,7 +54,7 @@ export function ManageDefaultEvalModel({
) : (
<span
className={cn(
- "text-sm font-medium",
+ "text-sm font-bold",
variant === "color-coded" && "text-dark-yellow",
className,
)}
diff --git a/web/src/features/evals/components/select-evaluator-list.tsx b/web/src/features/evals/components/select-evaluator-list.tsx
index 4c52250249..b76908e17e 100644
--- a/web/src/features/evals/components/select-evaluator-list.tsx
+++ b/web/src/features/evals/components/select-evaluator-list.tsx
@@ -119,7 +119,7 @@ export function SelectEvaluatorList({ projectId }: SelectEvaluatorListProps) {
<>
<div className="mb-4 flex max-h-full min-h-0 flex-col gap-5">
<div className="shrink-0 space-y-2">
- <h2 className="text-base font-semibold">Create from scratch</h2>
+ <h2 className="text-base font-bold">Create from scratch</h2>
<div className="flex flex-wrap gap-3">
{isCodeEvalEnabled ? (
<Button
@@ -130,7 +130,7 @@ export function SelectEvaluatorList({ projectId }: SelectEvaluatorListProps) {
>
<Code2 className="h-5 w-5 shrink-0" />
<span className="flex flex-col gap-1">
- <span className="font-medium">Code evaluator</span>
+ <span className="font-bold">Code evaluator</span>
<span className="text-muted-foreground text-sm font-normal">
Use code to create Langfuse scores.
</span>
@@ -147,7 +147,7 @@ export function SelectEvaluatorList({ projectId }: SelectEvaluatorListProps) {
>
<Bot className="h-5 w-5 shrink-0" />
<span className="flex flex-col gap-1">
- <span className="font-medium">LLM as a judge evaluator</span>
+ <span className="font-bold">LLM as a judge evaluator</span>
<span className="text-muted-foreground text-sm font-normal">
Use a prompt and model to score traces or observations.
</span>
@@ -157,7 +157,7 @@ export function SelectEvaluatorList({ projectId }: SelectEvaluatorListProps) {
</div>
<div className="flex max-h-full min-h-0 flex-col gap-2">
- <h2 className="shrink-0 text-base font-semibold">Use existing</h2>
+ <h2 className="shrink-0 text-base font-bold">Use existing</h2>
<Card className="grid max-h-full min-h-0 grid-rows-[minmax(0,1fr)_auto] overflow-y-auto p-3">
<div className="flex min-h-0 flex-col overflow-hidden">
{templates.isLoading ? (
@@ -313,7 +313,7 @@ function CreateLlmEvaluatorWizard({
<Fragment key={step.id}>
<BreadcrumbItem>
{isActive ? (
- <BreadcrumbPage className="flex items-center font-semibold">
+ <BreadcrumbPage className="flex items-center font-bold">
{isComplete ? (
<Check className="text-dark-green mr-1.5 h-3.5 w-3.5" />
) : null}
diff --git a/web/src/features/evals/components/template-form.tsx b/web/src/features/evals/components/template-form.tsx
index 4dcc26ea25..0e63e63310 100644
--- a/web/src/features/evals/components/template-form.tsx
+++ b/web/src/features/evals/components/template-form.tsx
@@ -576,7 +576,7 @@ export const InnerEvalTemplateForm = (props: {
<Input {...field} placeholder="Select a name" />
</FormControl>
{existingTemplate && (
- <p className="text-destructive text-sm font-medium">
+ <p className="text-destructive text-sm font-bold">
Template with this name already exists.{" "}
<Link
href={`/project/${props.projectId}/evals/templates/${existingTemplate.id}`}
@@ -637,7 +637,7 @@ export const InnerEvalTemplateForm = (props: {
{/* Model Selection Section */}
<Card>
<CardContent>
- <p className="my-2 font-semibold">Model</p>
+ <p className="my-2 font-bold">Model</p>
<FormField
control={form.control}
name="shouldUseDefaultModel"
@@ -693,7 +693,7 @@ export const InnerEvalTemplateForm = (props: {
) : (
<ModelParameters
customHeader={
- <p className="text-sm leading-none font-medium">
+ <p className="text-sm leading-none font-bold">
Custom model configuration
</p>
}
@@ -716,7 +716,7 @@ export const InnerEvalTemplateForm = (props: {
<Card>
<CardContent className="space-y-6">
<div className="space-y-2">
- <p className="my-2 font-semibold">Prompt</p>
+ <p className="my-2 font-bold">Prompt</p>
<FormField
control={form.control}
name="prompt"
@@ -914,7 +914,7 @@ export const InnerEvalTemplateForm = (props: {
)}
/>
{categoriesErrorMessage ? (
- <p className="text-destructive text-sm font-medium">
+ <p className="text-destructive text-sm font-bold">
{categoriesErrorMessage}
</p>
) : null}
@@ -1033,7 +1033,7 @@ function CodeEvalSdkVersionCallout({
<AlertTriangle className="text-dark-yellow h-4 w-4" />
<AlertDescription>
<div className="flex flex-col gap-1">
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
Please verify your SDK version
</span>
<span className="text-foreground text-sm">
@@ -1044,7 +1044,7 @@ function CodeEvalSdkVersionCallout({
href="https://langfuse.com/docs/observability/sdk/upgrade-path"
target="_blank"
rel="noopener noreferrer"
- className="text-dark-blue font-medium hover:opacity-80"
+ className="text-dark-blue font-bold hover:opacity-80"
>
Learn more
</a>
diff --git a/web/src/features/evals/components/variable-mapping-card.tsx b/web/src/features/evals/components/variable-mapping-card.tsx
index cc556c3266..e92267a03e 100644
--- a/web/src/features/evals/components/variable-mapping-card.tsx
+++ b/web/src/features/evals/components/variable-mapping-card.tsx
@@ -212,7 +212,7 @@ export const VariableMappingCard = ({
return (
<Card className="max-w-full min-w-0 p-4">
<div className="mb-2 flex items-center gap-2">
- <span className="text-lg font-medium">Variable mapping</span>
+ <span className="text-lg font-bold">Variable mapping</span>
<div className="flex flex-wrap items-center justify-between gap-2">
{evalTemplate.projectId ? (
<Button asChild variant="outline" size="sm">
@@ -272,7 +272,7 @@ export const VariableMappingCard = ({
/>
) : (
<div className="bg-muted/50 flex max-h-full min-h-48 w-full flex-col gap-1 lg:w-2/3">
- <div className="flex flex-row items-center justify-between py-0 text-sm font-medium capitalize">
+ <div className="flex flex-row items-center justify-between py-0 text-sm font-bold capitalize">
<div className="flex flex-row items-center gap-2">
Evaluation Prompt Preview
<Skeleton className="h-[25px] w-[63px]" />
@@ -326,7 +326,7 @@ export const VariableMappingCard = ({
<Card className="flex flex-col gap-2 p-4" key={index}>
<div
className={cn(
- "text-sm font-semibold",
+ "text-sm font-bold",
getVariableColor(index),
)}
>
@@ -592,7 +592,7 @@ export const VariableMappingCard = ({
<Card className="flex flex-col gap-2 p-4" key={index}>
<div
className={cn(
- "text-sm font-semibold",
+ "text-sm font-bold",
getVariableColor(index),
)}
>
diff --git a/web/src/features/evals/pages/new-evaluator.tsx b/web/src/features/evals/pages/new-evaluator.tsx
index eee43aba2f..ac7774a33c 100644
--- a/web/src/features/evals/pages/new-evaluator.tsx
+++ b/web/src/features/evals/pages/new-evaluator.tsx
@@ -177,7 +177,7 @@ export default function NewEvaluatorPage() {
className={cn(
step !== "select"
? "text-muted-foreground"
- : "text-foreground font-semibold",
+ : "text-foreground font-bold",
)}
>
1. Select Evaluator
@@ -191,7 +191,7 @@ export default function NewEvaluatorPage() {
<BreadcrumbPage
className={cn(
isProviderStepActive
- ? "text-foreground font-semibold"
+ ? "text-foreground font-bold"
: "text-muted-foreground",
)}
>
@@ -207,7 +207,7 @@ export default function NewEvaluatorPage() {
className={cn(
step !== "run"
? "text-muted-foreground"
- : "text-foreground font-semibold",
+ : "text-foreground font-bold",
)}
>
<div className="flex flex-row">
diff --git a/web/src/features/evals/pages/remap-evaluator.tsx b/web/src/features/evals/pages/remap-evaluator.tsx
index 0a799ee541..5e2efae448 100644
--- a/web/src/features/evals/pages/remap-evaluator.tsx
+++ b/web/src/features/evals/pages/remap-evaluator.tsx
@@ -160,7 +160,7 @@ export default function RemapEvaluatorPage() {
href="https://langfuse.com/faq/all/llm-as-a-judge-migration"
target="_blank"
rel="noopener noreferrer"
- className="text-dark-blue font-medium hover:opacity-80"
+ className="text-dark-blue font-bold hover:opacity-80"
>
Follow our step-by-step guide
</a>{" "}
@@ -199,7 +199,7 @@ export default function RemapEvaluatorPage() {
{/* LEFT: Read-only old config */}
<div className="space-y-4 p-3">
<div className="flex items-center gap-2 pb-2">
- <h3 className="text-lg font-semibold">
+ <h3 className="text-lg font-bold">
Legacy Configuration{" "}
{isTraceTarget(oldConfig.targetObject)
? "(runs on traces)"
@@ -229,7 +229,7 @@ export default function RemapEvaluatorPage() {
{/* RIGHT: Editable new config form */}
<div className="space-y-4 p-3">
- <h3 className="pb-2 text-lg font-semibold">
+ <h3 className="pb-2 text-lg font-bold">
New Configuration{" "}
{isTraceTarget(oldConfig.targetObject)
? "(runs on observations)"
diff --git a/web/src/features/events/components/CategoryPresetChips.tsx b/web/src/features/events/components/CategoryPresetChips.tsx
index ab5ca47334..bd9718ef0e 100644
--- a/web/src/features/events/components/CategoryPresetChips.tsx
+++ b/web/src/features/events/components/CategoryPresetChips.tsx
@@ -243,7 +243,7 @@ export function CategoryPresetChips({
if (openedByPointerRef.current) event.preventDefault();
}}
>
- <div className="text-muted-foreground px-2 py-1.5 text-xs font-medium">
+ <div className="text-muted-foreground px-2 py-1.5 text-xs font-bold">
{label}
</div>
<div className="max-h-72 overflow-y-auto">
@@ -328,7 +328,7 @@ export function CategoryPresetChips({
)}
>
<span className="flex flex-col">
- <span className="flex items-center gap-1.5 font-medium">
+ <span className="flex items-center gap-1.5 font-bold">
{preset.name}
{preset.disabled && (
<span className="text-muted-foreground rounded-sm border px-1 text-[10px] font-normal uppercase">
diff --git a/web/src/features/events/components/V4IntroDialog.tsx b/web/src/features/events/components/V4IntroDialog.tsx
index 3398851828..48bf61a71d 100644
--- a/web/src/features/events/components/V4IntroDialog.tsx
+++ b/web/src/features/events/components/V4IntroDialog.tsx
@@ -30,7 +30,7 @@ export function V4IntroDialog({
/>
<ul className="flex flex-col gap-3">
<li className="text-muted-foreground text-sm">
- <span className="text-foreground block font-medium">
+ <span className="text-foreground block font-bold">
Welcome to a faster Langfuse
</span>{" "}
We&apos;ve rebuilt the data model around observations rather than
@@ -38,18 +38,16 @@ export function V4IntroDialog({
faster.
</li>
<li className="text-muted-foreground text-sm">
- <span className="text-foreground block font-medium">
+ <span className="text-foreground block font-bold">
New Observations table
</span>{" "}
Your traces are still here. The default view now shows all
observations. To see a table with just your root traces, filter by{" "}
- <span className="font-medium">
- Is Root Observation &rarr; True
- </span>
+ <span className="font-bold">Is Root Observation &rarr; True</span>
.
</li>
<li className="text-muted-foreground text-sm">
- <span className="text-foreground block font-medium">
+ <span className="text-foreground block font-bold">
New Saved Table Views
</span>{" "}
Save your table filters as an org-wide saved view so your whole
@@ -58,7 +56,7 @@ export function V4IntroDialog({
href="https://langfuse.com/faq/all/explore-observations-in-v4"
target="_blank"
rel="noopener noreferrer"
- className="text-primary font-medium hover:underline"
+ className="text-primary font-bold hover:underline"
>
Best practices &rarr;
</a>
@@ -66,14 +64,14 @@ export function V4IntroDialog({
</ul>
<div className="mt-3 rounded-md border border-yellow-300 bg-yellow-50 p-3 text-sm dark:border-yellow-700 dark:bg-yellow-950">
<p className="text-yellow-900 dark:text-yellow-200">
- <span className="font-medium">Want traces to appear live?</span>{" "}
+ <span className="font-bold">Want traces to appear live?</span>{" "}
Upgrade your SDK to the latest version. Older SDKs still work but
traces may take ~10 minutes to appear.{" "}
<a
href="https://langfuse.com/docs/observability/sdk/upgrade-path"
target="_blank"
rel="noopener noreferrer"
- className="font-medium underline hover:no-underline"
+ className="font-bold underline hover:no-underline"
>
Upgrade guide &rarr;
</a>
@@ -85,7 +83,7 @@ export function V4IntroDialog({
href="https://langfuse.com/docs/v4"
target="_blank"
rel="noopener noreferrer"
- className="text-primary text-sm font-medium hover:underline"
+ className="text-primary text-sm font-bold hover:underline"
>
Read the v4 docs &rarr;
</a>
diff --git a/web/src/features/experiments/components/CreateExperimentsForm.tsx b/web/src/features/experiments/components/CreateExperimentsForm.tsx
index 45ecad1161..3894d3deb7 100644
--- a/web/src/features/experiments/components/CreateExperimentsForm.tsx
+++ b/web/src/features/experiments/components/CreateExperimentsForm.tsx
@@ -228,7 +228,7 @@ export const CreateExperimentsForm = ({
</ul>
{!fixedDatasetId ? (
<div className="mt-4 space-y-2">
- <div className="text-sm font-medium">Dataset</div>
+ <div className="text-sm font-bold">Dataset</div>
<Popover
open={datasetPopoverOpen}
onOpenChange={setDatasetPopoverOpen}
diff --git a/web/src/features/experiments/components/ExperimentChartSlot.tsx b/web/src/features/experiments/components/ExperimentChartSlot.tsx
index f4108067e3..8c6b651f50 100644
--- a/web/src/features/experiments/components/ExperimentChartSlot.tsx
+++ b/web/src/features/experiments/components/ExperimentChartSlot.tsx
@@ -182,9 +182,7 @@ export function ExperimentChartSlot({
<SelectContent>
{Array.from(groupedOptions.entries()).map(([group, options]) => (
<SelectGroup key={group}>
- <SelectLabel className="text-xs font-semibold">
- {group}
- </SelectLabel>
+ <SelectLabel className="text-xs font-bold">{group}</SelectLabel>
{options.map((option) => (
<SelectItem key={option.id} value={option.id}>
{option.label}
diff --git a/web/src/features/experiments/components/ExperimentComparisonSelector.tsx b/web/src/features/experiments/components/ExperimentComparisonSelector.tsx
index 6122990763..f874f0ac55 100644
--- a/web/src/features/experiments/components/ExperimentComparisonSelector.tsx
+++ b/web/src/features/experiments/components/ExperimentComparisonSelector.tsx
@@ -92,7 +92,7 @@ export function ExperimentComparisonSelector({
</div>
<div className="min-w-0 flex-1">
<p
- className="truncate text-sm font-medium"
+ className="truncate text-sm font-bold"
title={item.experimentName}
>
{item.experimentName}
diff --git a/web/src/features/experiments/components/ExperimentMetadataSection.tsx b/web/src/features/experiments/components/ExperimentMetadataSection.tsx
index a9ec113576..112a6fa718 100644
--- a/web/src/features/experiments/components/ExperimentMetadataSection.tsx
+++ b/web/src/features/experiments/components/ExperimentMetadataSection.tsx
@@ -24,7 +24,7 @@ export const ExperimentMetadataSection = ({
type="button"
className="flex w-full items-center justify-between text-left"
>
- <span className="text-sm font-medium">Metadata</span>
+ <span className="text-sm font-bold">Metadata</span>
{isOpen ? (
<ChevronDown className="text-muted-foreground h-4 w-4" />
) : (
diff --git a/web/src/features/experiments/components/ExperimentOverviewField.tsx b/web/src/features/experiments/components/ExperimentOverviewField.tsx
index cff6d783b2..a3732225c9 100644
--- a/web/src/features/experiments/components/ExperimentOverviewField.tsx
+++ b/web/src/features/experiments/components/ExperimentOverviewField.tsx
@@ -4,7 +4,7 @@ export const ExperimentOverviewSectionHeading = ({
children,
}: {
children: ReactNode;
-}) => <h4 className="mb-2 text-sm font-medium">{children}</h4>;
+}) => <h4 className="mb-2 text-sm font-bold">{children}</h4>;
export const ExperimentOverviewField = ({
label,
diff --git a/web/src/features/experiments/components/ExperimentOverviewPanel.tsx b/web/src/features/experiments/components/ExperimentOverviewPanel.tsx
index 7e4c1a69db..2d73d82521 100644
--- a/web/src/features/experiments/components/ExperimentOverviewPanel.tsx
+++ b/web/src/features/experiments/components/ExperimentOverviewPanel.tsx
@@ -95,7 +95,7 @@ export function ExperimentOverviewPanel({
return (
<div className="space-y-4">
<div className="bg-background sticky -top-4 z-30 -mx-4 -mt-4 space-y-4 px-4 pt-4 pb-4">
- <h3 className="text-lg font-semibold">Experiment Details</h3>
+ <h3 className="text-lg font-bold">Experiment Details</h3>
<div>
<ExperimentOverviewSectionHeading>
@@ -149,7 +149,7 @@ export function ExperimentOverviewPanel({
</ExperimentOverviewSectionHeading>
<div className="space-y-3 text-sm">
<ExperimentOverviewField label="Name">
- <div className="font-medium">{experiment.name}</div>
+ <div className="font-bold">{experiment.name}</div>
</ExperimentOverviewField>
{experiment.description && (
diff --git a/web/src/features/experiments/components/ExperimentPeekFooter.tsx b/web/src/features/experiments/components/ExperimentPeekFooter.tsx
index 47e94b2e53..93f3c0eb6d 100644
--- a/web/src/features/experiments/components/ExperimentPeekFooter.tsx
+++ b/web/src/features/experiments/components/ExperimentPeekFooter.tsx
@@ -32,7 +32,7 @@ export function ExperimentPeekFooter({ projectId }: { projectId: string }) {
<div className="flex h-7 items-center justify-between gap-3">
<div className="flex min-w-0 items-center gap-2">
<span
- className={cn("truncate text-xs font-medium", colorStyles?.textClass)}
+ className={cn("truncate text-xs font-bold", colorStyles?.textClass)}
title={currentName}
>
{currentName}
@@ -40,7 +40,7 @@ export function ExperimentPeekFooter({ projectId }: { projectId: string }) {
<Badge
variant="outline"
size="sm"
- className={cn("shrink-0 font-medium", colorStyles?.badgeClass)}
+ className={cn("shrink-0 font-bold", colorStyles?.badgeClass)}
>
{currentIndex === 0 ? "Baseline" : "Comp"}
</Badge>
diff --git a/web/src/features/experiments/components/RemoteExperimentDatasetStep.tsx b/web/src/features/experiments/components/RemoteExperimentDatasetStep.tsx
index 0df00cb2cd..917d6f412d 100644
--- a/web/src/features/experiments/components/RemoteExperimentDatasetStep.tsx
+++ b/web/src/features/experiments/components/RemoteExperimentDatasetStep.tsx
@@ -89,7 +89,7 @@ export const RemoteExperimentDatasetStep = ({
<Skeleton className="h-24 w-full" />
) : datasets.data && datasets.data.length > 0 ? (
<div className="space-y-2">
- <div className="text-sm font-medium">Dataset</div>
+ <div className="text-sm font-bold">Dataset</div>
<Popover
open={datasetPopoverOpen}
onOpenChange={setDatasetPopoverOpen}
@@ -146,7 +146,7 @@ export const RemoteExperimentDatasetStep = ({
</div>
) : (
<div className="rounded-md border p-4 text-sm">
- <div className="font-medium">No datasets found</div>
+ <div className="font-bold">No datasets found</div>
<p className="text-muted-foreground mt-1">
Create a dataset before setting up a remote experiment trigger.
</p>
diff --git a/web/src/features/experiments/components/shared/StepHeader.tsx b/web/src/features/experiments/components/shared/StepHeader.tsx
index aa63f15d22..b6c63e9b31 100644
--- a/web/src/features/experiments/components/shared/StepHeader.tsx
+++ b/web/src/features/experiments/components/shared/StepHeader.tsx
@@ -11,7 +11,7 @@ export const StepHeader: React.FC<StepHeaderProps> = ({
}) => {
return (
<div className="space-y-2">
- <h3 className="text-lg font-medium">{title}</h3>
+ <h3 className="text-lg font-bold">{title}</h3>
<p className="text-muted-foreground text-sm">{description}</p>
</div>
);
diff --git a/web/src/features/experiments/components/steps/DatasetStep.tsx b/web/src/features/experiments/components/steps/DatasetStep.tsx
index a06e45b35d..a46b8a1d37 100644
--- a/web/src/features/experiments/components/steps/DatasetStep.tsx
+++ b/web/src/features/experiments/components/steps/DatasetStep.tsx
@@ -147,7 +147,7 @@ export const DatasetStep: React.FC<DatasetStepProps> = ({
</PopoverTrigger>
<PopoverContent className="w-80">
<div className="space-y-2">
- <h4 className="leading-none font-medium">
+ <h4 className="leading-none font-bold">
Expected Dataset Structure
</h4>
<p className="text-muted-foreground text-sm">
@@ -155,13 +155,13 @@ export const DatasetStep: React.FC<DatasetStepProps> = ({
{selectedPromptVersion}
</p>
<div className="space-y-1 pt-2">
- <p className="text-sm font-medium">Input variables:</p>
+ <p className="text-sm font-bold">Input variables:</p>
<ul className="list-inside list-disc text-sm">
{expectedColumns.inputVariables.map((variable) => (
<li key={variable}>{variable}</li>
))}
</ul>
- <p className="text-sm font-medium">Expected output:</p>
+ <p className="text-sm font-bold">Expected output:</p>
<ul className="list-inside list-disc text-sm">
<li>
{expectedColumns.outputVariableName} (
diff --git a/web/src/features/experiments/components/steps/PromptModelStep.tsx b/web/src/features/experiments/components/steps/PromptModelStep.tsx
index 6c77721c89..1983c25f19 100644
--- a/web/src/features/experiments/components/steps/PromptModelStep.tsx
+++ b/web/src/features/experiments/components/steps/PromptModelStep.tsx
@@ -286,7 +286,7 @@ export const PromptModelStep: React.FC<PromptModelStepProps> = ({
{form.formState.errors.modelConfig && (
<p
id="modelConfig"
- className="text-destructive text-sm font-medium"
+ className="text-destructive text-sm font-bold"
>
{[
form.formState.errors.modelConfig?.model?.message,
diff --git a/web/src/features/experiments/components/steps/ReviewStep.tsx b/web/src/features/experiments/components/steps/ReviewStep.tsx
index dfead2fbdc..04db10cf88 100644
--- a/web/src/features/experiments/components/steps/ReviewStep.tsx
+++ b/web/src/features/experiments/components/steps/ReviewStep.tsx
@@ -54,11 +54,11 @@ export const ReviewStep: React.FC<ReviewStepProps> = ({
<CardContent className="space-y-2 text-sm">
<div className="flex gap-2">
<span className="text-muted-foreground">Name:</span>
- <span className="font-medium">{selectedPromptName}</span>
+ <span className="font-bold">{selectedPromptName}</span>
</div>
<div className="flex gap-2">
<span className="text-muted-foreground">Version:</span>
- <span className="font-medium">v{selectedPromptVersion}</span>
+ <span className="font-bold">v{selectedPromptVersion}</span>
</div>
</CardContent>
</Card>
@@ -114,7 +114,7 @@ export const ReviewStep: React.FC<ReviewStepProps> = ({
<CardContent className="space-y-2 text-sm">
<div className="flex gap-2">
<span className="text-muted-foreground">Name:</span>
- <span className="font-medium">{selectedDataset?.name}</span>
+ <span className="font-bold">{selectedDataset?.name}</span>
</div>
{validationResult?.isValid && (
<div className="flex gap-2">
@@ -159,11 +159,11 @@ export const ReviewStep: React.FC<ReviewStepProps> = ({
<CardContent className="space-y-2 text-sm">
<div className="flex gap-2">
<span className="text-muted-foreground">Experiment Name:</span>
- <span className="font-medium">{formValues.name}</span>
+ <span className="font-bold">{formValues.name}</span>
</div>
<div className="flex items-center gap-2">
<span className="text-muted-foreground">Run Name:</span>
- <span className="font-medium">{formValues.runName}</span>
+ <span className="font-bold">{formValues.runName}</span>
<Tooltip>
<TooltipTrigger asChild>
<InfoIcon className="text-muted-foreground h-3.5 w-3.5" />
diff --git a/web/src/features/experiments/components/table/ExperimentFilterPills.tsx b/web/src/features/experiments/components/table/ExperimentFilterPills.tsx
index 3e637a9074..a3ed60c7a6 100644
--- a/web/src/features/experiments/components/table/ExperimentFilterPills.tsx
+++ b/web/src/features/experiments/components/table/ExperimentFilterPills.tsx
@@ -96,7 +96,7 @@ function FilterPillWithTarget({
<Popover open={open} onOpenChange={setOpen}>
<PopoverTrigger asChild>
<button
- className="flex shrink-0 items-center gap-0.5 font-medium hover:underline"
+ className="flex shrink-0 items-center gap-0.5 font-bold hover:underline"
title={experimentName}
>
<span className="max-w-[100px] truncate" title={experimentName}>
@@ -106,7 +106,7 @@ function FilterPillWithTarget({
</button>
</PopoverTrigger>
<PopoverContent className="w-[200px] p-1" align="start">
- <div className="text-muted-foreground px-2 py-1.5 text-xs font-medium">
+ <div className="text-muted-foreground px-2 py-1.5 text-xs font-bold">
Target Experiment
</div>
<div className="space-y-0.5">
diff --git a/web/src/features/experiments/components/table/ExperimentGridCell.tsx b/web/src/features/experiments/components/table/ExperimentGridCell.tsx
index 3cdd5457a3..5b29d49173 100644
--- a/web/src/features/experiments/components/table/ExperimentGridCell.tsx
+++ b/web/src/features/experiments/components/table/ExperimentGridCell.tsx
@@ -289,7 +289,7 @@ const GroupSection = ({
)}
/>
)}
- <span className="text-muted-foreground text-[10px] font-semibold uppercase">
+ <span className="text-muted-foreground text-[10px] font-bold uppercase">
{header}
</span>
</div>
diff --git a/web/src/features/experiments/components/table/ExperimentGridView.tsx b/web/src/features/experiments/components/table/ExperimentGridView.tsx
index 41da16281c..8ab244391f 100644
--- a/web/src/features/experiments/components/table/ExperimentGridView.tsx
+++ b/web/src/features/experiments/components/table/ExperimentGridView.tsx
@@ -102,7 +102,7 @@ export const ExperimentGridView = ({
header: () => (
<div className="flex items-center gap-2">
<span
- className={cn("truncate font-medium", colorStyles?.textClass)}
+ className={cn("truncate font-bold", colorStyles?.textClass)}
title={expName}
>
{expName}
@@ -111,7 +111,7 @@ export const ExperimentGridView = ({
<Badge
variant="outline"
size="sm"
- className={cn("shrink-0 font-medium", colorStyles?.badgeClass)}
+ className={cn("shrink-0 font-bold", colorStyles?.badgeClass)}
>
{isBaseline ? "Baseline" : "Comp"}
</Badge>
diff --git a/web/src/features/experiments/components/table/ExperimentsTable.tsx b/web/src/features/experiments/components/table/ExperimentsTable.tsx
index bd341c454b..b25d08a5a0 100644
--- a/web/src/features/experiments/components/table/ExperimentsTable.tsx
+++ b/web/src/features/experiments/components/table/ExperimentsTable.tsx
@@ -781,7 +781,7 @@ export default function ExperimentsTable({
<AccordionItem value="charts" className="border-t">
<AccordionTrigger className="px-3 pt-2 pb-1 hover:no-underline">
<div className="flex items-center gap-2">
- <span className="text-sm font-medium">Charts</span>
+ <span className="text-sm font-bold">Charts</span>
</div>
</AccordionTrigger>
<AccordionContent className="max-h-[40dvh] overflow-x-auto px-3 pt-1 pb-1">
diff --git a/web/src/features/feature-previews/components/FeaturePreviewModal.tsx b/web/src/features/feature-previews/components/FeaturePreviewModal.tsx
index 02187d671c..12a6e8b284 100644
--- a/web/src/features/feature-previews/components/FeaturePreviewModal.tsx
+++ b/web/src/features/feature-previews/components/FeaturePreviewModal.tsx
@@ -112,7 +112,7 @@ export function FeaturePreviewModal({
className="border-border bg-background text-foreground max-h-[88vh] p-0 shadow-2xl sm:rounded-2xl"
>
<DialogHeader>
- <DialogTitle className="text-foreground text-lg font-semibold">
+ <DialogTitle className="text-foreground text-lg font-bold">
{FEATURE_PREVIEW_MODAL_TITLE}
</DialogTitle>
<DialogDescription className="mt-0">
@@ -139,7 +139,7 @@ export function FeaturePreviewModal({
)}
>
<span className="min-w-0">
- <span className="block text-sm font-medium">
+ <span className="block text-sm font-bold">
{item.sidebarLabel}
</span>
<span className="text-muted-foreground mt-1 line-clamp-2 block text-xs">
@@ -163,7 +163,7 @@ export function FeaturePreviewModal({
<div className="flex items-start justify-between gap-6">
<div>
- <h2 className="text-foreground text-xl font-semibold">
+ <h2 className="text-foreground text-xl font-bold">
{selected.title}
</h2>
<p className="text-muted-foreground mt-2 max-w-2xl text-sm leading-5">
diff --git a/web/src/features/filters/components/multi-select.tsx b/web/src/features/filters/components/multi-select.tsx
index 5d1262911d..7e1b356d19 100644
--- a/web/src/features/filters/components/multi-select.tsx
+++ b/web/src/features/filters/components/multi-select.tsx
@@ -210,7 +210,7 @@ export function MultiSelect({
>
<Check className="h-4 w-4" />
</div>
- <div className="font-medium">
+ <div className="font-bold">
{allSelectedState ? "Deselect All" : "Select All"}
</div>
</InputCommandItem>
diff --git a/web/src/features/models/components/DeleteModelButton.tsx b/web/src/features/models/components/DeleteModelButton.tsx
index 60dd02e657..dba5b016a3 100644
--- a/web/src/features/models/components/DeleteModelButton.tsx
+++ b/web/src/features/models/components/DeleteModelButton.tsx
@@ -48,7 +48,7 @@ export const DeleteModelButton = ({
</Button>
</PopoverTrigger>
<PopoverContent>
- <h2 className="mb-3 font-semibold">Please confirm</h2>
+ <h2 className="mb-3 font-bold">Please confirm</h2>
<p className="mb-3 text-sm">
This action permanently deletes this model definition.
</p>
diff --git a/web/src/features/models/components/PriceBreakdownTooltip.tsx b/web/src/features/models/components/PriceBreakdownTooltip.tsx
index 0c2b58b367..04303b9fcc 100644
--- a/web/src/features/models/components/PriceBreakdownTooltip.tsx
+++ b/web/src/features/models/components/PriceBreakdownTooltip.tsx
@@ -49,14 +49,14 @@ export const PriceBreakdownTooltip = ({
<span key={type}>
<span
key={`${type}-label`}
- className="truncate font-mono text-xs font-medium"
+ className="truncate font-mono text-xs font-bold"
title={type}
>
{type}
</span>
<span
key={`${type}-price`}
- className="text-left font-mono text-xs font-medium tabular-nums"
+ className="text-left font-mono text-xs font-bold tabular-nums"
>
$
{new Decimal(price)
@@ -79,13 +79,13 @@ export const PriceBreakdownTooltip = ({
<TooltipContent className="min-w-64 grow p-4">
<div className="flex flex-col gap-4">
<div className="flex flex-col gap-1">
- <span className="font-semibold">Price breakdown</span>
- <span className="font-mono text-xs font-medium">
+ <span className="font-bold">Price breakdown</span>
+ <span className="font-mono text-xs font-bold">
{modelName}
</span>
</div>
<div className="flex flex-col gap-2">
- <div className="flex justify-between font-mono text-xs font-semibold">
+ <div className="flex justify-between font-mono text-xs font-bold">
<span className="mr-4">Usage Type</span>
<span>Price {priceUnit}</span>
</div>
diff --git a/web/src/features/models/components/PricePreview.tsx b/web/src/features/models/components/PricePreview.tsx
index 43c9162047..0189f3ef23 100644
--- a/web/src/features/models/components/PricePreview.tsx
+++ b/web/src/features/models/components/PricePreview.tsx
@@ -27,14 +27,14 @@ export function PricePreview({
<div className="border-border bg-muted/30 rounded-lg border p-4">
<div className="flex flex-col gap-3">
<div className="flex items-center gap-2">
- <h4 className="text-muted-foreground text-sm font-medium">
+ <h4 className="text-muted-foreground text-sm font-bold">
Price Preview
</h4>
</div>
{parsedPrices.success ? (
<div className="space-y-2">
- <div className="border-border text-muted-foreground grid grid-cols-[2fr_1fr_1fr_1fr] gap-2 border-b pb-2 text-xs font-medium">
+ <div className="border-border text-muted-foreground grid grid-cols-[2fr_1fr_1fr_1fr] gap-2 border-b pb-2 text-xs font-bold">
<span>Usage Type</span>
<span className="text-right">per unit</span>
<span className="text-right">per 1K</span>
@@ -48,7 +48,7 @@ export function PricePreview({
key={usageType}
className="text-muted-foreground grid grid-cols-[2fr_1fr_1fr_1fr] gap-2 rounded px-1 py-0.5 text-xs"
>
- <span className="font-medium break-all">{usageType}</span>
+ <span className="font-bold break-all">{usageType}</span>
<span className="text-right font-mono">
$
{new Decimal(price).toFixed(
diff --git a/web/src/features/models/components/UpsertModelFormDialog.tsx b/web/src/features/models/components/UpsertModelFormDialog.tsx
index 4364199bda..3d405288b8 100644
--- a/web/src/features/models/components/UpsertModelFormDialog.tsx
+++ b/web/src/features/models/components/UpsertModelFormDialog.tsx
@@ -452,8 +452,8 @@ export const UpsertModelFormDialog = (({
</DialogFooter>
</form>
{formError ? (
- <p className="text-destructive my-2 text-center text-sm font-medium">
- <span className="font-semibold">Error:</span> {formError}
+ <p className="text-destructive my-2 text-center text-sm font-bold">
+ <span className="font-bold">Error:</span> {formError}
</p>
) : null}
</Form>
diff --git a/web/src/features/models/components/pricing-tiers/TierAccordionItem.tsx b/web/src/features/models/components/pricing-tiers/TierAccordionItem.tsx
index de3f622060..aa4aac25f6 100644
--- a/web/src/features/models/components/pricing-tiers/TierAccordionItem.tsx
+++ b/web/src/features/models/components/pricing-tiers/TierAccordionItem.tsx
@@ -45,7 +45,7 @@ export function TierAccordionItem({
<AccordionTrigger className="px-4 hover:no-underline">
<div className="flex w-full items-center justify-between">
<div className="flex items-center gap-2">
- <span className="font-semibold">{tier.name}</span>
+ <span className="font-bold">{tier.name}</span>
{isDefault && <Badge variant="secondary">Default</Badge>}
<span className="text-muted-foreground text-xs">
Priority: {tier.priority}
diff --git a/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx b/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx
index 8748c529c3..cfbb73ef36 100644
--- a/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx
+++ b/web/src/features/models/components/pricing-tiers/TierConditionsEditor.tsx
@@ -69,7 +69,7 @@ export function TierConditionsEditor({
{fields.map((condition, conditionIndex) => (
<div key={condition.id} className="space-y-3 rounded-lg border p-3">
<div className="flex items-center justify-between">
- <span className="text-sm font-medium">
+ <span className="text-sm font-bold">
Condition {conditionIndex + 1}
</span>
<Button
diff --git a/web/src/features/models/components/test-match/MatchedModelCard.tsx b/web/src/features/models/components/test-match/MatchedModelCard.tsx
index 4980e4531d..e80b9ba776 100644
--- a/web/src/features/models/components/test-match/MatchedModelCard.tsx
+++ b/web/src/features/models/components/test-match/MatchedModelCard.tsx
@@ -20,13 +20,13 @@ export function MatchedModelCard({ model }: MatchedModelCardProps) {
return (
<Card>
<CardHeader className="pb-3">
- <CardTitle className="text-muted-foreground text-xs font-medium tracking-wide uppercase">
+ <CardTitle className="text-muted-foreground text-xs font-bold tracking-wide uppercase">
Matched Model
</CardTitle>
</CardHeader>
<CardContent className="space-y-3">
<div className="flex items-center gap-2">
- <span className="font-mono text-base font-semibold">
+ <span className="font-mono text-base font-bold">
{model.modelName}
</span>
{isLangfuseModel && (
@@ -36,7 +36,7 @@ export function MatchedModelCard({ model }: MatchedModelCardProps) {
)}
</div>
<div className="space-y-1">
- <div className="text-muted-foreground text-xs font-medium">
+ <div className="text-muted-foreground text-xs font-bold">
Pattern:
</div>
<code className="bg-muted/50 block rounded p-2 text-xs break-all">
diff --git a/web/src/features/models/components/test-match/MatchedTierCard.tsx b/web/src/features/models/components/test-match/MatchedTierCard.tsx
index 022101b126..b62694fa5b 100644
--- a/web/src/features/models/components/test-match/MatchedTierCard.tsx
+++ b/web/src/features/models/components/test-match/MatchedTierCard.tsx
@@ -38,13 +38,13 @@ export function MatchedTierCard({ tier }: MatchedTierCardProps) {
return (
<Card>
<CardHeader className="pb-3">
- <CardTitle className="text-muted-foreground text-xs font-medium tracking-wide uppercase">
+ <CardTitle className="text-muted-foreground text-xs font-bold tracking-wide uppercase">
Matched Pricing Tier
</CardTitle>
</CardHeader>
<CardContent className="space-y-4">
<div className="flex items-center gap-2">
- <span className="text-base font-semibold">{tier.name}</span>
+ <span className="text-base font-bold">{tier.name}</span>
{tier.isDefault && (
<Badge variant="secondary" className="text-xs">
Default
@@ -56,7 +56,7 @@ export function MatchedTierCard({ tier }: MatchedTierCardProps) {
</div>
<div>
- <div className="text-muted-foreground mb-2 text-xs font-medium">
+ <div className="text-muted-foreground mb-2 text-xs font-bold">
Prices (per {priceUnit}):
</div>
<div className="space-y-1.5">
@@ -68,7 +68,7 @@ export function MatchedTierCard({ tier }: MatchedTierCardProps) {
<span className="text-muted-foreground font-mono text-xs">
{usageType}:
</span>
- <span className="font-mono text-sm font-semibold">
+ <span className="font-mono text-sm font-bold">
$
{new Decimal(price)
.mul(priceUnitMultiplier)
diff --git a/web/src/features/models/components/test-match/NoMatchDisplay.tsx b/web/src/features/models/components/test-match/NoMatchDisplay.tsx
index ebc4c3ed89..10840b57ad 100644
--- a/web/src/features/models/components/test-match/NoMatchDisplay.tsx
+++ b/web/src/features/models/components/test-match/NoMatchDisplay.tsx
@@ -28,7 +28,7 @@ export function NoMatchDisplay({ modelName }: NoMatchDisplayProps) {
</p>
<div>
- <p className="mb-2 text-sm font-medium">Suggestions:</p>
+ <p className="mb-2 text-sm font-bold">Suggestions:</p>
<ul className="text-muted-foreground list-inside list-disc space-y-1 text-sm">
<li>Check your model name spelling</li>
<li>View existing models and their match patterns</li>
diff --git a/web/src/features/models/components/test-match/TestModelMatchDialog.tsx b/web/src/features/models/components/test-match/TestModelMatchDialog.tsx
index c42ea9c36e..0e301829b4 100644
--- a/web/src/features/models/components/test-match/TestModelMatchDialog.tsx
+++ b/web/src/features/models/components/test-match/TestModelMatchDialog.tsx
@@ -83,7 +83,7 @@ export function TestModelMatchDialog({
<div className="space-y-6">
{/* Model Name Input */}
<div className="space-y-2">
- <div className="text-sm font-medium">Model Name *</div>
+ <div className="text-sm font-bold">Model Name *</div>
<div className="text-muted-foreground text-sm">
The model name on your generations.
</div>
@@ -150,7 +150,7 @@ export function TestModelMatchDialog({
<>
<div className="flex items-center gap-2 rounded-lg border border-green-200 bg-green-50 px-4 py-2.5 dark:border-green-900 dark:bg-green-950">
<CheckCircle className="h-4 w-4 text-green-600 dark:text-green-400" />
- <span className="text-sm font-medium text-green-900 dark:text-green-100">
+ <span className="text-sm font-bold text-green-900 dark:text-green-100">
Match Found
</span>
</div>
diff --git a/web/src/features/models/components/test-match/UsageDetailsEditor.tsx b/web/src/features/models/components/test-match/UsageDetailsEditor.tsx
index 79b88ae52e..1c8deb26f1 100644
--- a/web/src/features/models/components/test-match/UsageDetailsEditor.tsx
+++ b/web/src/features/models/components/test-match/UsageDetailsEditor.tsx
@@ -59,7 +59,7 @@ export function UsageDetailsEditor({
return (
<div className="space-y-4">
<div>
- <div className="pb-2 text-sm font-medium">Usage Details (optional)</div>
+ <div className="pb-2 text-sm font-bold">Usage Details (optional)</div>
<div className="text-muted-foreground text-sm">
Add usage details to test pricing tier matching. Leave empty to match
the default tier.
@@ -105,7 +105,7 @@ export function UsageDetailsEditor({
{/* Usage Details Table */}
{entries.length > 0 ? (
<div className="space-y-2 rounded-lg border p-3">
- <div className="grid grid-cols-[1fr_1fr_auto] gap-2 text-sm font-medium">
+ <div className="grid grid-cols-[1fr_1fr_auto] gap-2 text-sm font-bold">
<div>Usage Type</div>
<div>Value</div>
<div className="w-10" />
diff --git a/web/src/features/monitors/components/MonitorForm.tsx b/web/src/features/monitors/components/MonitorForm.tsx
index fc9ac48593..3055587af4 100644
--- a/web/src/features/monitors/components/MonitorForm.tsx
+++ b/web/src/features/monitors/components/MonitorForm.tsx
@@ -685,7 +685,7 @@ export const MonitorForm = ({
<span className="text-sm whitespace-nowrap">
Threshold
</span>
- <span className="mr-1.5 ml-1 font-mono text-xs font-semibold">
+ <span className="mr-1.5 ml-1 font-mono text-xs font-bold">
{
operatorSymbol[
(watched.thresholdOperator ??
@@ -729,7 +729,7 @@ export const MonitorForm = ({
<span className="text-sm whitespace-nowrap">
Threshold
</span>
- <span className="mr-1.5 ml-1 font-mono text-xs font-semibold">
+ <span className="mr-1.5 ml-1 font-mono text-xs font-bold">
{
operatorSymbol[
(watched.thresholdOperator ??
@@ -792,7 +792,7 @@ export const MonitorForm = ({
/>
<Accordion type="single" collapsible>
<AccordionItem value="advanced" className="border-b-0">
- <AccordionTrigger className="justify-start gap-2 py-2 text-sm font-medium [&>svg]:order-first [&>svg]:-rotate-90 [&[data-state=open]>svg]:rotate-0">
+ <AccordionTrigger className="justify-start gap-2 py-2 text-sm font-bold [&>svg]:order-first [&>svg]:-rotate-90 [&[data-state=open]>svg]:rotate-0">
Advanced Options
</AccordionTrigger>
<AccordionContent className="space-y-6 px-1 pt-2">
@@ -962,7 +962,7 @@ const Header = ({
<div className="bg-card sticky top-0 z-10">
<h3 className="flex items-center gap-2 py-2 text-lg font-bold">
{step != null ? (
- <span className="bg-foreground text-background flex h-6 w-6 items-center justify-center rounded-full text-sm font-semibold">
+ <span className="bg-foreground text-background flex h-6 w-6 items-center justify-center rounded-full text-sm font-bold">
{step}
</span>
) : null}
diff --git a/web/src/features/monitors/components/MonitorsTable.tsx b/web/src/features/monitors/components/MonitorsTable.tsx
index f0034f5de4..d513835dcf 100644
--- a/web/src/features/monitors/components/MonitorsTable.tsx
+++ b/web/src/features/monitors/components/MonitorsTable.tsx
@@ -182,7 +182,7 @@ export function MonitorsTable() {
cell: ({ row }) => (
<span
className={cn(
- "text-sm font-medium",
+ "text-sm font-bold",
row.original.severity === "PAUSED" && "opacity-50",
)}
>
diff --git a/web/src/features/notifications/ErrorNotification.tsx b/web/src/features/notifications/ErrorNotification.tsx
index 12b48978c6..78b1d6e9c2 100644
--- a/web/src/features/notifications/ErrorNotification.tsx
+++ b/web/src/features/notifications/ErrorNotification.tsx
@@ -41,7 +41,7 @@ export const ErrorNotification: React.FC<ErrorNotificationProps> = ({
<div className="flex min-w-[300px] flex-1 flex-col gap-2">
<div className="flex items-center gap-2">
<AlertTriangle size={20} className={textColor} />
- <div className={`m-0 text-sm leading-tight font-medium ${textColor}`}>
+ <div className={`m-0 text-sm leading-tight font-bold ${textColor}`}>
{error}
</div>
</div>
diff --git a/web/src/features/notifications/SuccessNotification.tsx b/web/src/features/notifications/SuccessNotification.tsx
index 1910787cbd..51587c9765 100644
--- a/web/src/features/notifications/SuccessNotification.tsx
+++ b/web/src/features/notifications/SuccessNotification.tsx
@@ -22,7 +22,7 @@ export const SuccessNotification: React.FC<SuccessNotificationProps> = ({
<div className="flex min-w-[300px] flex-1 flex-col gap-2">
<div className="flex items-center gap-2">
<BadgeCheck size={20} className="text-primary-foreground" />
- <div className="text-primary-foreground m-0 text-sm leading-tight font-medium">
+ <div className="text-primary-foreground m-0 text-sm leading-tight font-bold">
{title}
</div>
</div>
diff --git a/web/src/features/notifications/components/PersonalNotificationSettings.tsx b/web/src/features/notifications/components/PersonalNotificationSettings.tsx
index c502431bbf..37c329bf34 100644
--- a/web/src/features/notifications/components/PersonalNotificationSettings.tsx
+++ b/web/src/features/notifications/components/PersonalNotificationSettings.tsx
@@ -62,7 +62,7 @@ export function PersonalNotificationSettings() {
<Header title="Personal Notifications" />
<div className="flex flex-col gap-4">
<div>
- <h3 className="text-lg font-medium">Email Notifications</h3>
+ <h3 className="text-lg font-bold">Email Notifications</h3>
<p className="text-muted-foreground text-sm">
Manage your personal email notification preferences for this
project.
diff --git a/web/src/features/notifications/components/ProjectNotificationChannels.tsx b/web/src/features/notifications/components/ProjectNotificationChannels.tsx
index 1e09058efb..76d022ae56 100644
--- a/web/src/features/notifications/components/ProjectNotificationChannels.tsx
+++ b/web/src/features/notifications/components/ProjectNotificationChannels.tsx
@@ -93,7 +93,7 @@ export function ProjectNotificationChannels({
<div className="flex flex-col gap-4">
<div>
- <h3 className="text-lg font-medium">Events</h3>
+ <h3 className="text-lg font-bold">Events</h3>
<p className="text-muted-foreground text-sm">
{hasChannels
? "Choose which events are delivered to your channels."
@@ -111,7 +111,7 @@ export function ProjectNotificationChannels({
!hasChannels && "opacity-50",
)}
>
- <p className="text-base font-medium">{event.title}</p>
+ <p className="text-base font-bold">{event.title}</p>
<p className="text-muted-foreground text-sm">
{event.description}
</p>
diff --git a/web/src/features/notifications/components/ProjectNotificationChannelsList.tsx b/web/src/features/notifications/components/ProjectNotificationChannelsList.tsx
index a277cc12ba..9cd115b373 100644
--- a/web/src/features/notifications/components/ProjectNotificationChannelsList.tsx
+++ b/web/src/features/notifications/components/ProjectNotificationChannelsList.tsx
@@ -56,7 +56,7 @@ export function ProjectNotificationChannelsList({
<Webhook className="h-4 w-4 shrink-0" />
)}
<span
- className="truncate text-sm font-medium"
+ className="truncate text-sm font-bold"
title={destinationLabel(channel)}
>
{destinationLabel(channel)}
diff --git a/web/src/features/notifications/showVersionUpdateToast.tsx b/web/src/features/notifications/showVersionUpdateToast.tsx
index 5f76736561..6a0014459b 100644
--- a/web/src/features/notifications/showVersionUpdateToast.tsx
+++ b/web/src/features/notifications/showVersionUpdateToast.tsx
@@ -7,7 +7,7 @@ export const showVersionUpdateToast = () => {
<div className="flex justify-between">
<div className="flex min-w-[300px] flex-1 flex-col gap-2">
<div className="flex items-center gap-2">
- <div className="text-foreground/70 m-0 text-sm leading-tight font-medium">
+ <div className="text-foreground/70 m-0 text-sm leading-tight font-bold">
We have released a new version of Langfuse. Please refresh your
browser to get the latest update.
</div>
diff --git a/web/src/features/onboarding/components/OnboardingSurvey.tsx b/web/src/features/onboarding/components/OnboardingSurvey.tsx
index 1ef47a02b4..b511d4086b 100644
--- a/web/src/features/onboarding/components/OnboardingSurvey.tsx
+++ b/web/src/features/onboarding/components/OnboardingSurvey.tsx
@@ -121,9 +121,7 @@ export function OnboardingSurvey() {
<div className="bg-background mt-6 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:mt-16 sm:w-full sm:max-w-[480px] sm:px-12 sm:py-12">
<div className="flex flex-col items-center text-center">
<Spinner size="xl" variant="muted" />
- <h1 className="mt-6 text-xl font-semibold">
- Setting up your project
- </h1>
+ <h1 className="mt-6 text-xl font-bold">Setting up your project</h1>
<p className="text-muted-foreground mt-2 text-sm">
Taking you to tracing...
</p>
@@ -142,7 +140,7 @@ export function OnboardingSurvey() {
<div className="bg-background mt-6 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:mt-16 sm:w-full sm:max-w-[480px] sm:px-12 sm:py-12">
<div className="flex flex-col items-center text-center">
- <h1 className="text-xl font-semibold">Failed to load onboarding</h1>
+ <h1 className="text-xl font-bold">Failed to load onboarding</h1>
<p className="text-muted-foreground mt-2 text-sm">
Refresh the page to try again.
</p>
@@ -176,7 +174,7 @@ export function OnboardingSurvey() {
name="referralSource"
render={({ field }) => (
<FormItem className="flex flex-col gap-2">
- <FormLabel className="text-xl font-semibold">
+ <FormLabel className="text-xl font-bold">
Where did you hear about us?
</FormLabel>
<FormControl>
diff --git a/web/src/features/organizations/components/AIFeatureSwitch.tsx b/web/src/features/organizations/components/AIFeatureSwitch.tsx
index 81b62bfcfe..ebd76261cc 100644
--- a/web/src/features/organizations/components/AIFeatureSwitch.tsx
+++ b/web/src/features/organizations/components/AIFeatureSwitch.tsx
@@ -122,7 +122,7 @@ export default function AIFeatureSwitch() {
<Card className="mb-4 p-3">
<div className="flex flex-row items-center justify-between">
<div className="flex flex-col gap-1">
- <h4 className="font-semibold">
+ <h4 className="font-bold">
Enable AI powered features for your organization
</h4>
<p className="text-sm">
@@ -158,7 +158,7 @@ export default function AIFeatureSwitch() {
{isAIFeatureSwitchEnabled && (
<div className="mt-4 flex flex-row items-center justify-between border-t pt-4">
<div className="flex flex-col gap-1">
- <h4 className="font-semibold">
+ <h4 className="font-bold">
AI Data Use for Product/Service Improvement
</h4>
<p className="text-sm">
diff --git a/web/src/features/organizations/components/DeleteOrganizationButton.tsx b/web/src/features/organizations/components/DeleteOrganizationButton.tsx
index 6873d3ffe1..675977746e 100644
--- a/web/src/features/organizations/components/DeleteOrganizationButton.tsx
+++ b/web/src/features/organizations/components/DeleteOrganizationButton.tsx
@@ -82,7 +82,7 @@ export function DeleteOrganizationButton() {
</DialogTrigger>
<DialogContent className="sm:max-w-[425px]">
<DialogHeader>
- <DialogTitle className="text-lg font-semibold">
+ <DialogTitle className="text-lg font-bold">
Delete Organization
</DialogTitle>
<DialogDescription>
diff --git a/web/src/features/payment-banner/PaymentBanner.tsx b/web/src/features/payment-banner/PaymentBanner.tsx
index 3e33e18728..ca977c17b6 100644
--- a/web/src/features/payment-banner/PaymentBanner.tsx
+++ b/web/src/features/payment-banner/PaymentBanner.tsx
@@ -96,7 +96,7 @@ export function PaymentBanner() {
<div className="flex items-center gap-3">
<AlertCircle className="h-4 w-4 shrink-0" />
<div className="flex flex-col gap-0.5 sm:flex-row sm:items-center sm:gap-2">
- <span className="text-sm font-semibold">Billing Issue:</span>
+ <span className="text-sm font-bold">Billing Issue:</span>
<span className="text-sm">
{`We have problems collecting subscription payment for your organization '${organization.name}'. Please update your payment information to continue using Langfuse.`}
</span>
diff --git a/web/src/features/playground/page/components/ConfigurationDropdowns.tsx b/web/src/features/playground/page/components/ConfigurationDropdowns.tsx
index 3033e2aa9b..bd6cff945d 100644
--- a/web/src/features/playground/page/components/ConfigurationDropdowns.tsx
+++ b/web/src/features/playground/page/components/ConfigurationDropdowns.tsx
@@ -80,7 +80,7 @@ export const ConfigurationDropdowns: React.FC = () => {
style={toolsPopoverWidth ? { width: toolsPopoverWidth } : undefined}
>
<div className="mb-3">
- <h4 className="mb-1 text-sm font-medium">Tools</h4>
+ <h4 className="mb-1 text-sm font-bold">Tools</h4>
<p className="text-muted-foreground text-xs">
Configure tools for your model to use.
</p>
@@ -117,7 +117,7 @@ export const ConfigurationDropdowns: React.FC = () => {
</PopoverTrigger>
<PopoverContent className="w-80 p-4" align="start">
<div className="mb-3">
- <h4 className="mb-1 text-sm font-medium">Structured Output</h4>
+ <h4 className="mb-1 text-sm font-bold">Structured Output</h4>
<p className="text-muted-foreground text-xs">
Configure JSON schema for structured output.
</p>
@@ -154,7 +154,7 @@ export const ConfigurationDropdowns: React.FC = () => {
</PopoverTrigger>
<PopoverContent className="w-80 p-4" align="start">
<div className="mb-3">
- <h4 className="mb-1 text-sm font-medium">
+ <h4 className="mb-1 text-sm font-bold">
Variables & Message Placeholders
</h4>
<p className="text-muted-foreground text-xs">
@@ -168,11 +168,11 @@ export const ConfigurationDropdowns: React.FC = () => {
>
<div className="space-y-4">
<div>
- <h5 className="mb-2 text-xs font-medium">Variables</h5>
+ <h5 className="mb-2 text-xs font-bold">Variables</h5>
<Variables />
</div>
<div>
- <h5 className="mb-2 text-xs font-medium">
+ <h5 className="mb-2 text-xs font-bold">
Message Placeholders
</h5>
<MessagePlaceholders />
diff --git a/web/src/features/playground/page/components/GenerationOutput.tsx b/web/src/features/playground/page/components/GenerationOutput.tsx
index b716e968a8..b98a71f184 100644
--- a/web/src/features/playground/page/components/GenerationOutput.tsx
+++ b/web/src/features/playground/page/components/GenerationOutput.tsx
@@ -107,7 +107,7 @@ export const GenerationOutput = () => {
>
<div className="bg-muted sticky top-0 z-10 p-3">
<div className="flex w-full items-center">
- <p className="flex-1 text-xs font-semibold">Output</p>
+ <p className="flex-1 text-xs font-bold">Output</p>
{copyButton}
</div>
</div>
diff --git a/web/src/features/playground/page/components/Messages.tsx b/web/src/features/playground/page/components/Messages.tsx
index 09b62d3980..1f6b5817a5 100644
--- a/web/src/features/playground/page/components/Messages.tsx
+++ b/web/src/features/playground/page/components/Messages.tsx
@@ -82,7 +82,7 @@ const SubmitButton = () => {
onClick={(e) => e.preventDefault()}
>
<div className="flex flex-col">
- <span className="font-medium">Stream responses</span>
+ <span className="font-bold">Stream responses</span>
<span className="text-muted-foreground text-xs">
{streamingEnabled
? "Real-time response streaming"
diff --git a/web/src/features/playground/page/components/NoModelConfiguredAlert.tsx b/web/src/features/playground/page/components/NoModelConfiguredAlert.tsx
index 9bd100e339..824a6bcd57 100644
--- a/web/src/features/playground/page/components/NoModelConfiguredAlert.tsx
+++ b/web/src/features/playground/page/components/NoModelConfiguredAlert.tsx
@@ -23,7 +23,7 @@ export function NoModelConfiguredAlert({
To use the playground, you need to configure a model first. Go to{" "}
<Link
href={`/project/${projectId}/settings/llm-connections`}
- className="font-medium underline underline-offset-4 hover:text-yellow-900 dark:hover:text-yellow-300"
+ className="font-bold underline underline-offset-4 hover:text-yellow-900 dark:hover:text-yellow-300"
>
<Settings className="inline h-3 w-3" /> LLM Connection Settings
</Link>{" "}
diff --git a/web/src/features/playground/page/components/PlaygroundTools/index.tsx b/web/src/features/playground/page/components/PlaygroundTools/index.tsx
index 7d841453ae..93aec7d2de 100644
--- a/web/src/features/playground/page/components/PlaygroundTools/index.tsx
+++ b/web/src/features/playground/page/components/PlaygroundTools/index.tsx
@@ -97,7 +97,7 @@ export const PlaygroundToolsPopover = () => {
className="text-muted-foreground shrink-0"
/>
<div className="min-w-0 flex-1">
- <div className="truncate font-medium" title={tool.name}>
+ <div className="truncate font-bold" title={tool.name}>
{tool.name}
</div>
<div className="text-muted-foreground line-clamp-1 text-xs">
@@ -271,7 +271,7 @@ export const PlaygroundTools = () => {
<WrenchIcon className="text-muted-foreground mt-0.5 h-4 w-4 shrink-0" />
<div className="min-w-0">
<h3
- className="truncate text-sm font-medium"
+ className="truncate text-sm font-bold"
title={tool.name}
>
{tool.name}
diff --git a/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx b/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx
index 6df24fde5b..6070358e34 100644
--- a/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx
+++ b/web/src/features/playground/page/components/StructuredOutputSchemaSection.tsx
@@ -109,7 +109,7 @@ export const StructuredOutputSchemaPopover = () => {
<div className="flex min-w-0 flex-1 items-center gap-2">
<BoxIcon className="text-muted-foreground h-4 w-4 shrink-0" />
<div className="min-w-0 flex-1">
- <div className="truncate font-medium" title={schema.name}>
+ <div className="truncate font-bold" title={schema.name}>
{schema.name}
</div>
<div className="text-muted-foreground line-clamp-1 text-xs">
@@ -284,7 +284,7 @@ export const StructuredOutputSchemaSection = () => {
<BoxIcon className="text-muted-foreground mt-0.5 h-4 w-4 shrink-0" />
<div className="min-w-0">
<h3
- className="truncate text-sm font-medium"
+ className="truncate text-sm font-bold"
title={structuredOutputSchema.name}
>
{structuredOutputSchema.name}
diff --git a/web/src/features/projects/components/DeleteProjectButton.tsx b/web/src/features/projects/components/DeleteProjectButton.tsx
index 7821fa6436..8b5cd27066 100644
--- a/web/src/features/projects/components/DeleteProjectButton.tsx
+++ b/web/src/features/projects/components/DeleteProjectButton.tsx
@@ -80,7 +80,7 @@ export function DeleteProjectButton() {
</DialogTrigger>
<DialogContent className="sm:max-w-[425px]">
<DialogHeader>
- <DialogTitle className="text-lg font-semibold">
+ <DialogTitle className="text-lg font-bold">
Delete Project
</DialogTitle>
<DialogDescription className=" ">
diff --git a/web/src/features/projects/components/TransferProjectButton.tsx b/web/src/features/projects/components/TransferProjectButton.tsx
index b1e662b256..05c532a299 100644
--- a/web/src/features/projects/components/TransferProjectButton.tsx
+++ b/web/src/features/projects/components/TransferProjectButton.tsx
@@ -107,7 +107,7 @@ export function TransferProjectButton() {
</DialogTrigger>
<DialogContent className="sm:max-w-[425px]">
<DialogHeader>
- <DialogTitle className="text-lg font-semibold">
+ <DialogTitle className="text-lg font-bold">
Transfer Project
</DialogTitle>
<Alert className="mt-2">
diff --git a/web/src/features/prompts/components/NewPromptForm/ReviewPromptDialog.tsx b/web/src/features/prompts/components/NewPromptForm/ReviewPromptDialog.tsx
index 0c0cc3cc29..85169e30be 100644
--- a/web/src/features/prompts/components/NewPromptForm/ReviewPromptDialog.tsx
+++ b/web/src/features/prompts/components/NewPromptForm/ReviewPromptDialog.tsx
@@ -78,7 +78,7 @@ export const ReviewPromptDialog: React.FC<ReviewPromptDialogProps> = (
<DialogHeader>
<DialogTitle>Review Prompt Changes</DialogTitle>
<DialogDescription className="flex items-center gap-2">
- <span className="font-medium">{initialPrompt.name}</span>
+ <span className="font-bold">{initialPrompt.name}</span>
</DialogDescription>
</DialogHeader>
@@ -87,7 +87,7 @@ export const ReviewPromptDialog: React.FC<ReviewPromptDialogProps> = (
<div className="space-y-6">
<div className="space-y-4">
<div>
- <h3 className="mb-2 text-base font-medium">Content</h3>
+ <h3 className="mb-2 text-base font-bold">Content</h3>
<DiffViewer
oldString={initialPromptContent}
newString={newPromptContent}
@@ -96,7 +96,7 @@ export const ReviewPromptDialog: React.FC<ReviewPromptDialogProps> = (
/>
</div>
<div>
- <h3 className="mb-2 text-base font-medium">Config</h3>
+ <h3 className="mb-2 text-base font-bold">Config</h3>
<DiffViewer
oldString={JSON.stringify(initialPrompt.config, null, 2)}
newString={newConfig ?? "failed"}
diff --git a/web/src/features/prompts/components/NewPromptForm/index.tsx b/web/src/features/prompts/components/NewPromptForm/index.tsx
index 8a1b280992..c2c4c80104 100644
--- a/web/src/features/prompts/components/NewPromptForm/index.tsx
+++ b/web/src/features/prompts/components/NewPromptForm/index.tsx
@@ -258,8 +258,8 @@ export const NewPromptForm: React.FC<NewPromptFormProps> = (props) => {
</FormControl>
{/* Custom form message to include a link to the already existing prompt */}
{form.getFieldState("name").error ? (
- <div className="text-destructive flex flex-row space-x-1 text-sm font-medium">
- <p className="text-destructive text-sm font-medium">
+ <div className="text-destructive flex flex-row space-x-1 text-sm font-bold">
+ <p className="text-destructive text-sm font-bold">
{errorMessage}
</p>
{errorMessage?.includes("already exist") ? (
@@ -288,9 +288,9 @@ export const NewPromptForm: React.FC<NewPromptFormProps> = (props) => {
Define your prompt template. You can use{" "}
<code className="text-xs">{"{{variable}}"}</code> to insert
variables into your prompt.
- <b className="font-semibold"> Note:</b> Variables must be
- alphabetical characters or underscores. You can also link other
- text prompts using the plus button.
+ <b className="font-bold"> Note:</b> Variables must be alphabetical
+ characters or underscores. You can also link other text prompts
+ using the plus button.
</FormDescription>
<Tabs
value={form.watch("type")}
diff --git a/web/src/features/prompts/components/PromptVersionDiffDialog.tsx b/web/src/features/prompts/components/PromptVersionDiffDialog.tsx
index 6eac17d6f8..9d5c3cd3d2 100644
--- a/web/src/features/prompts/components/PromptVersionDiffDialog.tsx
+++ b/web/src/features/prompts/components/PromptVersionDiffDialog.tsx
@@ -98,14 +98,14 @@ export const PromptVersionDiffDialog: React.FC<PromptVersionDiffDialogProps> = (
</DialogTitle>
<DialogDescription className="flex items-center gap-2">
- <span className="font-medium">Prompt {leftPrompt.name}</span>
+ <span className="font-bold">Prompt {leftPrompt.name}</span>
</DialogDescription>
</DialogHeader>
<DialogBody>
<div className="space-y-6">
<div className="space-y-4">
<div>
- <h3 className="mb-2 text-base font-medium">Content</h3>
+ <h3 className="mb-2 text-base font-bold">Content</h3>
<DiffViewer
{...createSmartDiff(leftPrompt, rightPrompt)}
oldLabel={`v${leftPrompt.version}`}
@@ -115,7 +115,7 @@ export const PromptVersionDiffDialog: React.FC<PromptVersionDiffDialogProps> = (
/>
</div>
<div>
- <h3 className="mb-2 text-base font-medium">Config</h3>
+ <h3 className="mb-2 text-base font-bold">Config</h3>
<DiffViewer
oldString={JSON.stringify(leftPrompt.config, null, 2)}
newString={JSON.stringify(rightPrompt.config, null, 2)}
diff --git a/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx b/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx
index 5955c2e51c..260edcbf85 100644
--- a/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx
+++ b/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx
@@ -204,7 +204,7 @@ export function SetPromptVersionLabels({
onClick={(event) => event.stopPropagation()}
className="flex flex-col"
>
- <h2 className="mb-3 font-semibold">Prompt labels</h2>
+ <h2 className="mb-3 font-bold">Prompt labels</h2>
<h2 className="mb-3 text-xs">
Use labels to fetch prompts via SDKs. The{" "}
<strong>production</strong> labeled prompt will be served by
diff --git a/web/src/features/prompts/components/delete-folder.tsx b/web/src/features/prompts/components/delete-folder.tsx
index 9cbe5a1d58..be04218c8c 100644
--- a/web/src/features/prompts/components/delete-folder.tsx
+++ b/web/src/features/prompts/components/delete-folder.tsx
@@ -78,7 +78,7 @@ export function DeleteFolder({ folderPath }: { folderPath: string }) {
<DialogBody>
<p className="text-muted-foreground text-sm">
This action permanently deletes the folder{" "}
- <code className="bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold break-all">
+ <code className="bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-bold break-all">
{folderPath}
</code>{" "}
and <b>all prompts inside it recursively</b>. This cannot be undone.
@@ -87,7 +87,7 @@ export function DeleteFolder({ folderPath }: { folderPath: string }) {
</p>
<div className="bg-muted/50 rounded-md border p-4">
- <h4 className="mb-2 text-sm font-medium">Prompts to delete:</h4>
+ <h4 className="mb-2 text-sm font-bold">Prompts to delete:</h4>
{prompts.isLoading ? (
<div className="flex items-center justify-center py-4">
<Spinner size="sm" variant="muted" />
@@ -128,7 +128,7 @@ export function DeleteFolder({ folderPath }: { folderPath: string }) {
</div>
<div className="space-y-2">
- <label className="text-sm font-medium">
+ <label className="text-sm font-bold">
To confirm, type the full path of the folder to delete:
</label>
<Input
@@ -141,7 +141,7 @@ export function DeleteFolder({ folderPath }: { folderPath: string }) {
{error && (
<div className="rounded border border-red-200 bg-red-50 p-3 text-sm text-red-700">
- <p className="font-medium">Error:</p>
+ <p className="font-bold">Error:</p>
<p className="whitespace-pre-wrap">{error}</p>
</div>
)}
diff --git a/web/src/features/prompts/components/delete-prompt-version.tsx b/web/src/features/prompts/components/delete-prompt-version.tsx
index d7b1e8b59d..2e07a839d5 100644
--- a/web/src/features/prompts/components/delete-prompt-version.tsx
+++ b/web/src/features/prompts/components/delete-prompt-version.tsx
@@ -77,17 +77,17 @@ export function DeletePromptVersion({
</Button>
</PopoverTrigger>
<PopoverContent>
- <h2 className="mb-3 font-semibold">Please confirm</h2>
+ <h2 className="mb-3 font-bold">Please confirm</h2>
<p className="mb-3 text-sm">
This action deletes the prompt version. Requests of version{" "}
- <code className="bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold">
+ <code className="bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-bold">
{version}
</code>
of this prompt will return an error.
</p>
{error && (
<div className="mb-3 rounded border border-red-200 bg-red-50 p-3 text-sm text-red-700">
- <p className="font-medium">Error:</p>
+ <p className="font-bold">Error:</p>
<p className="whitespace-pre-wrap">{error}</p>
</div>
)}
diff --git a/web/src/features/prompts/components/delete-prompt.tsx b/web/src/features/prompts/components/delete-prompt.tsx
index 63a9959e94..b6438e4afe 100644
--- a/web/src/features/prompts/components/delete-prompt.tsx
+++ b/web/src/features/prompts/components/delete-prompt.tsx
@@ -36,18 +36,18 @@ export function DeletePrompt({ promptName }: { promptName: string }) {
</Button>
</PopoverTrigger>
<PopoverContent>
- <h2 className="mb-3 font-semibold">Please confirm</h2>
+ <h2 className="mb-3 font-bold">Please confirm</h2>
<p className="mb-3 text-sm">
This action permanently deletes this prompt. All requests to fetch
prompt{" "}
- <code className="bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold">
+ <code className="bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-bold">
{promptName}
</code>{" "}
will error.
</p>
{error && (
<div className="mb-3 rounded border border-red-200 bg-red-50 p-3 text-sm text-red-700">
- <p className="font-medium">Error:</p>
+ <p className="font-bold">Error:</p>
<p className="whitespace-pre-wrap">{error}</p>
</div>
)}
diff --git a/web/src/features/prompts/components/duplicate-folder.tsx b/web/src/features/prompts/components/duplicate-folder.tsx
index d3c6032e02..52a89df33b 100644
--- a/web/src/features/prompts/components/duplicate-folder.tsx
+++ b/web/src/features/prompts/components/duplicate-folder.tsx
@@ -135,7 +135,7 @@ export function DuplicateFolder({ folderPath }: { folderPath: string }) {
<DialogBody>
<p className="text-muted-foreground text-sm">
Copy all prompts from{" "}
- <code className="bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold break-all">
+ <code className="bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-bold break-all">
{folderPath}/
</code>{" "}
to a new folder path.
@@ -228,7 +228,7 @@ export function DuplicateFolder({ folderPath }: { folderPath: string }) {
)}
{error && (
<div className="rounded border border-red-200 bg-red-50 p-3 text-sm text-red-700">
- <p className="font-medium">Error:</p>
+ <p className="font-bold">Error:</p>
<p className="whitespace-pre-wrap">{error}</p>
</div>
)}
diff --git a/web/src/features/prompts/components/prompt-detail.tsx b/web/src/features/prompts/components/prompt-detail.tsx
index bbf7d5fd61..e7962f5278 100644
--- a/web/src/features/prompts/components/prompt-detail.tsx
+++ b/web/src/features/prompts/components/prompt-detail.tsx
@@ -333,12 +333,12 @@ export const PromptDetail = ({
}}
>
<div className="grid flex-1 grid-cols-3 gap-4 overflow-hidden px-3 md:grid-cols-4">
- <Command className="flex flex-col gap-2 overflow-y-auto rounded-none border-r pr-3 font-medium focus:ring-0 focus:outline-hidden focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:outline-hidden data-focus:ring-0">
+ <Command className="flex flex-col gap-2 overflow-y-auto rounded-none border-r pr-3 font-bold focus:ring-0 focus:outline-hidden focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:outline-hidden data-focus:ring-0">
<div className="mt-3 flex items-center justify-between">
<CommandInput
showBorder={false}
placeholder="Search..."
- className="text-muted-foreground h-fit border-none py-0 text-sm font-light focus:ring-0"
+ className="text-muted-foreground h-fit border-none py-0 text-sm focus:ring-0"
/>
<Button
@@ -385,7 +385,7 @@ export const PromptDetail = ({
>
# {prompt.version}
</Badge>
- <span className="mb-0 line-clamp-2 min-w-0 text-lg font-medium break-all md:break-normal md:wrap-break-word">
+ <span className="mb-0 line-clamp-2 min-w-0 text-lg font-bold break-all md:break-normal md:wrap-break-word">
{prompt.commitMessage ?? prompt.name}
</span>
</div>
diff --git a/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx b/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx
index 4e1c851de3..09df9bf029 100644
--- a/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx
+++ b/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx
@@ -1292,7 +1292,7 @@ export function CreateLLMApiKeyForm({
<FormDescription>
Google Cloud region (e.g., global, us-central1,
europe-west4). Defaults to{" "}
- <span className="font-medium">global</span> as
+ <span className="font-bold">global</span> as
required for Gemini 3 models.
</FormDescription>
<FormControl>
diff --git a/web/src/features/rbac/components/RoleSelectItem.tsx b/web/src/features/rbac/components/RoleSelectItem.tsx
index cd0cd37061..372786afc0 100644
--- a/web/src/features/rbac/components/RoleSelectItem.tsx
+++ b/web/src/features/rbac/components/RoleSelectItem.tsx
@@ -47,9 +47,9 @@ export const RoleSelectItem = ({
) : (
<>
<div className="font-bold">Role: {formatRole(role)}</div>
- <p className="mt-2 text-xs font-semibold">Organization Scopes</p>
+ <p className="mt-2 text-xs font-bold">Organization Scopes</p>
<ul className="list-inside list-disc text-xs">{orgScopes}</ul>
- <p className="mt-2 text-xs font-semibold">Project Scopes</p>
+ <p className="mt-2 text-xs font-bold">Project Scopes</p>
<ul className="list-inside list-disc text-xs">{projectScopes}</ul>
<p className="mt-2 border-t pt-2 text-xs">
Note:{" "}
@@ -103,7 +103,7 @@ const reduceScopesToListItems = (
{inheritedActions.length > 0 ? inheritedActions.join(", ") : ""}
{newActions.length > 0 && inheritedActions.length > 0 ? ", " : ""}
</span>
- <span className="font-semibold">
+ <span className="font-bold">
{newActions.length > 0 ? newActions.join(", ") : ""}
</span>
</li>
diff --git a/web/src/features/score-analytics/components/SamplingDetailsHoverCard.tsx b/web/src/features/score-analytics/components/SamplingDetailsHoverCard.tsx
index 0caa2b8a23..8e97de0bf3 100644
--- a/web/src/features/score-analytics/components/SamplingDetailsHoverCard.tsx
+++ b/web/src/features/score-analytics/components/SamplingDetailsHoverCard.tsx
@@ -49,14 +49,14 @@ export function SamplingDetailsHoverCard({
<HoverCardContent className="w-80" align="start">
<div className="space-y-3">
<div>
- <h4 className="mb-2 text-sm font-semibold">
+ <h4 className="mb-2 text-sm font-bold">
{mode === "single" ? "Estimated Score Count" : "Estimated Scores"}
</h4>
<dl className="space-y-1 text-sm">
{mode === "single" ? (
<div className="flex justify-between">
<dt className="text-muted-foreground">Total Scores:</dt>
- <dd className="font-medium">
+ <dd className="font-bold">
~
{samplingMetadata.preflightEstimates?.score1Count.toLocaleString()}
</dd>
@@ -65,14 +65,14 @@ export function SamplingDetailsHoverCard({
<>
<div className="flex justify-between">
<dt className="text-muted-foreground">Score 1:</dt>
- <dd className="font-medium">
+ <dd className="font-bold">
~
{samplingMetadata.preflightEstimates?.score1Count.toLocaleString()}
</dd>
</div>
<div className="flex justify-between">
<dt className="text-muted-foreground">Score 2:</dt>
- <dd className="font-medium">
+ <dd className="font-bold">
~
{samplingMetadata.preflightEstimates?.score2Count.toLocaleString()}
</dd>
@@ -81,7 +81,7 @@ export function SamplingDetailsHoverCard({
<dt className="text-muted-foreground">
Estimated Matches:
</dt>
- <dd className="font-medium">
+ <dd className="font-bold">
~
{samplingMetadata.preflightEstimates?.estimatedMatchedCount.toLocaleString()}
</dd>
@@ -92,11 +92,11 @@ export function SamplingDetailsHoverCard({
</div>
<div>
- <h4 className="mb-2 text-sm font-semibold">Query Optimizations</h4>
+ <h4 className="mb-2 text-sm font-bold">Query Optimizations</h4>
<dl className="space-y-1 text-sm">
<div className="flex justify-between">
<dt className="text-muted-foreground">Sampling:</dt>
- <dd className="font-medium">
+ <dd className="font-bold">
{(samplingMetadata.samplingRate * 100).toFixed(1)}%
(hash-based)
</dd>
@@ -104,7 +104,7 @@ export function SamplingDetailsHoverCard({
{samplingMetadata.adaptiveFinal && (
<div className="flex justify-between">
<dt className="text-muted-foreground">Deduplication:</dt>
- <dd className="font-medium">
+ <dd className="font-bold">
{samplingMetadata.adaptiveFinal.usedFinal
? "Enabled"
: "Skipped for performance"}
diff --git a/web/src/features/score-analytics/components/ScoreAnalyticsHeader.tsx b/web/src/features/score-analytics/components/ScoreAnalyticsHeader.tsx
index 95e3eed388..e8f09996d9 100644
--- a/web/src/features/score-analytics/components/ScoreAnalyticsHeader.tsx
+++ b/web/src/features/score-analytics/components/ScoreAnalyticsHeader.tsx
@@ -87,7 +87,7 @@ export function ScoreAnalyticsHeader({
</HoverCardTrigger>
<HoverCardContent className="w-80">
<div className="space-y-2">
- <h4 className="text-sm font-semibold">Beta Feature</h4>
+ <h4 className="text-sm font-bold">Beta Feature</h4>
<p className="text-muted-foreground text-sm">
Score analytics is currently in beta. We&apos;re actively
improving this feature and would love to hear your feedback.
@@ -96,7 +96,7 @@ export function ScoreAnalyticsHeader({
href="https://langfuse.com/discussions"
target="_blank"
rel="noopener noreferrer"
- className="text-primary inline-flex items-center gap-1 text-sm font-medium hover:underline"
+ className="text-primary inline-flex items-center gap-1 text-sm font-bold hover:underline"
>
Share feedback on GitHub Discussions
<ExternalLink className="h-3 w-3" />
diff --git a/web/src/features/score-analytics/components/ScoreAnalyticsNoticeBanner.tsx b/web/src/features/score-analytics/components/ScoreAnalyticsNoticeBanner.tsx
index d9679da709..e008cae2c9 100644
--- a/web/src/features/score-analytics/components/ScoreAnalyticsNoticeBanner.tsx
+++ b/web/src/features/score-analytics/components/ScoreAnalyticsNoticeBanner.tsx
@@ -41,7 +41,7 @@ export function ScoreAnalyticsNoticeBanner() {
<div className="flex items-start gap-3">
<Clock className="text-muted-foreground mt-0.5 h-4 w-4 shrink-0" />
<div className="flex-1 space-y-1">
- <div className="text-sm font-medium">
+ <div className="text-sm font-bold">
{showLargeDataset
? "Processing large dataset..."
: "Loading analytics..."}
@@ -70,7 +70,7 @@ export function ScoreAnalyticsNoticeBanner() {
<div className="flex items-start gap-3">
<Info className="text-muted-foreground mt-0.5 h-4 w-4 shrink-0" />
<div className="flex-1 space-y-1">
- <div className="flex items-center gap-2 text-sm font-medium">
+ <div className="flex items-center gap-2 text-sm font-bold">
Sampled Data
<SamplingDetailsHoverCard
samplingMetadata={data.samplingMetadata}
diff --git a/web/src/features/score-analytics/components/cards/HeatmapCard.tsx b/web/src/features/score-analytics/components/cards/HeatmapCard.tsx
index 917d634d54..ccf2a6bfba 100644
--- a/web/src/features/score-analytics/components/cards/HeatmapCard.tsx
+++ b/web/src/features/score-analytics/components/cards/HeatmapCard.tsx
@@ -48,7 +48,7 @@ function HeatmapTooltipContent({
<div className="space-y-2">
{/* Header Section */}
<div className="border-border border-b pb-2">
- <p className="text-muted-foreground text-sm font-medium">
+ <p className="text-muted-foreground text-sm font-bold">
{dataType === "NUMERIC"
? `Bin ${cell.row}Γ—${cell.col}`
: `${cell.metadata?.rowCategory as string} β†’ ${cell.metadata?.colCategory as string}`}
@@ -57,7 +57,7 @@ function HeatmapTooltipContent({
{/* Primary Metrics Section */}
<div className="space-y-1">
- <p className="text-foreground text-base font-semibold">
+ <p className="text-foreground text-base font-bold">
{cell.value.toLocaleString()} observations
</p>
<p className="text-muted-foreground text-xs">
@@ -222,7 +222,7 @@ export function HeatmapCard() {
showLabels={true}
showAxisLabels={true}
/>
- <p className="text-muted-foreground text-center text-sm font-light">
+ <p className="text-muted-foreground text-center text-sm">
Select a second score to view comparison heatmap
</p>
</CardContent>
diff --git a/web/src/features/score-analytics/components/cards/StatisticsCard.tsx b/web/src/features/score-analytics/components/cards/StatisticsCard.tsx
index cd1f7158d5..74f8cb6876 100644
--- a/web/src/features/score-analytics/components/cards/StatisticsCard.tsx
+++ b/web/src/features/score-analytics/components/cards/StatisticsCard.tsx
@@ -127,7 +127,7 @@ export function StatisticsCard() {
<CardContent className="space-y-4">
{/* Section 1: Score 1 Data */}
<div>
- <h4 className="mb-2 text-xs font-semibold">
+ <h4 className="mb-2 text-xs font-bold">
{score1.name} ({score1.source})
</h4>
{dataType === "NUMERIC" ? (
@@ -216,7 +216,7 @@ export function StatisticsCard() {
{/* Section 2: Score 2 Data - Always show to set expectations */}
{showScore2Section && (
<div>
- <h4 className="mb-2 text-xs font-semibold">
+ <h4 className="mb-2 text-xs font-bold">
{score2?.name ?? "Score 2"}
{score2?.source ? ` (${score2.source})` : ""}
</h4>
@@ -313,7 +313,7 @@ export function StatisticsCard() {
{/* Section 3: Comparison Metrics - Always show to set expectations */}
{showComparisonSection && (
<div>
- <h4 className="mb-2 text-xs font-semibold">Comparison</h4>
+ <h4 className="mb-2 text-xs font-bold">Comparison</h4>
{dataType === "NUMERIC" ? (
<div className="space-y-4">
{/* First row: Matched, Pearson, Spearman */}
@@ -332,7 +332,7 @@ export function StatisticsCard() {
show: true,
content: (
<div className="space-y-2 text-xs">
- <p className="font-semibold">
+ <p className="font-bold">
Matched count exceeds individual score counts
due to Cartesian product
</p>
@@ -468,7 +468,7 @@ export function StatisticsCard() {
show: true,
content: (
<div className="space-y-2 text-xs">
- <p className="font-semibold">
+ <p className="font-bold">
Matched count exceeds individual score counts
due to Cartesian product
</p>
diff --git a/web/src/features/score-analytics/components/charts/Heatmap.tsx b/web/src/features/score-analytics/components/charts/Heatmap.tsx
index 7b34949c4d..197328a773 100644
--- a/web/src/features/score-analytics/components/charts/Heatmap.tsx
+++ b/web/src/features/score-analytics/components/charts/Heatmap.tsx
@@ -211,7 +211,7 @@ export function Heatmap({
className="w-auto"
>
<div className="space-y-1">
- <p className="font-semibold">{label}</p>
+ <p className="font-bold">{label}</p>
</div>
</HoverCardContent>
</HoverCard>
diff --git a/web/src/features/score-analytics/components/charts/HeatmapCell.tsx b/web/src/features/score-analytics/components/charts/HeatmapCell.tsx
index 342c789672..71502d2b6b 100644
--- a/web/src/features/score-analytics/components/charts/HeatmapCell.tsx
+++ b/web/src/features/score-analytics/components/charts/HeatmapCell.tsx
@@ -75,7 +75,7 @@ function CellWithData({
const sharedClassName = cn(
"h-full w-full rounded-sm border-[0.5px]",
"flex items-center justify-center",
- "text-xs font-medium",
+ "text-xs font-bold",
"transition-all duration-150",
"whitespace-pre-line text-center leading-tight",
hasInteraction && "cursor-pointer",
diff --git a/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx b/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx
index 8fa79b8890..41ce293398 100644
--- a/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx
+++ b/web/src/features/score-analytics/components/charts/HeatmapLegend.tsx
@@ -54,9 +54,7 @@ export function HeatmapLegend({
return (
<div className={cn("flex flex-col gap-2", className)}>
{title && (
- <div className="text-muted-foreground text-xs font-medium">
- {title}
- </div>
+ <div className="text-muted-foreground text-xs font-bold">{title}</div>
)}
<div className="flex flex-col gap-1">
{colors
diff --git a/web/src/features/score-analytics/components/charts/MetricCard.tsx b/web/src/features/score-analytics/components/charts/MetricCard.tsx
index 3ddbc39484..414ee9357a 100644
--- a/web/src/features/score-analytics/components/charts/MetricCard.tsx
+++ b/web/src/features/score-analytics/components/charts/MetricCard.tsx
@@ -89,11 +89,7 @@ export function MetricCard({
<span className="text-muted-foreground/50 text-sm">β€”</span>
) : (
// Normal styling for actual values
- <p
- className={
- isContext ? "text-lg font-semibold" : "text-lg font-semibold"
- }
- >
+ <p className={isContext ? "text-lg font-bold" : "text-lg font-bold"}>
{displayValue}
</p>
)}
diff --git a/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx b/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx
index e45e43c82a..66507de257 100644
--- a/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx
+++ b/web/src/features/score-analytics/components/charts/ScoreChartLegendContent.tsx
@@ -448,7 +448,7 @@ export const ScoreChartLegendContent = React.forwardRef<
>
<span>Show all {payload.length}</span>
{hiddenCount > 0 && (
- <span className="font-medium">(+{hiddenCount})</span>
+ <span className="font-bold">(+{hiddenCount})</span>
)}
<MoreVertical className="h-3 w-3" />
</Button>
@@ -460,7 +460,7 @@ export const ScoreChartLegendContent = React.forwardRef<
>
<div className="space-y-3">
<div className="flex items-center justify-between">
- <p className="text-sm font-medium">All Categories</p>
+ <p className="text-sm font-bold">All Categories</p>
<span className="text-muted-foreground text-xs">
{payload.length} total
</span>
@@ -471,7 +471,7 @@ export const ScoreChartLegendContent = React.forwardRef<
<div key={groupName}>
{/* Only show subheader if there are multiple groups */}
{Object.keys(groupedItems).length > 1 && (
- <h4 className="text-muted-foreground mb-2 text-xs font-medium">
+ <h4 className="text-muted-foreground mb-2 text-xs font-bold">
{groupName}
</h4>
)}
diff --git a/web/src/features/score-analytics/lib/ScoreChartTooltip.tsx b/web/src/features/score-analytics/lib/ScoreChartTooltip.tsx
index b4263e9a7e..1b613e84ea 100644
--- a/web/src/features/score-analytics/lib/ScoreChartTooltip.tsx
+++ b/web/src/features/score-analytics/lib/ScoreChartTooltip.tsx
@@ -114,7 +114,7 @@ export function ScoreChartTooltip({
<div className="border-border bg-background rounded-md border opacity-100 shadow-lg">
{/* Header with timestamp/label */}
<div className="border-border border-b px-3 py-1.5">
- <p className="text-muted-foreground text-sm font-medium">
+ <p className="text-muted-foreground text-sm font-bold">
{formattedLabel}
</p>
</div>
@@ -144,7 +144,7 @@ export function ScoreChartTooltip({
{seriesLabel?.toString() ?? ""}
</span>
{/* Formatted value */}
- <span className="text-foreground text-sm font-medium">
+ <span className="text-foreground text-sm font-bold">
{valueFormatter(Number(entry.value ?? 0))}
</span>
</div>
diff --git a/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx b/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx
index a3c3e738f0..97d0060f85 100644
--- a/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx
+++ b/web/src/features/score-configs/components/ArchiveScoreConfigButton.tsx
@@ -56,7 +56,7 @@ export const ArchiveScoreConfigButton = ({
onClick={(e) => e.stopPropagation()}
className="max-w-[500px]"
>
- <h2 className="mb-3 font-semibold">
+ <h2 className="mb-3 font-bold">
{isArchived ? "Restore config" : "Archive config"}
</h2>
<p className="mb-3 text-sm">
diff --git a/web/src/features/score-configs/components/ScoreConfigDetails.tsx b/web/src/features/score-configs/components/ScoreConfigDetails.tsx
index a1638af837..dbbc7df321 100644
--- a/web/src/features/score-configs/components/ScoreConfigDetails.tsx
+++ b/web/src/features/score-configs/components/ScoreConfigDetails.tsx
@@ -8,7 +8,7 @@ export function ScoreConfigDetails({ config }: { config: ScoreConfigDomain }) {
const isNameTruncated = name.length > 20;
return (
- <div className="bg-background p-2 text-xs font-light text-wrap">
+ <div className="bg-background p-2 text-xs text-wrap">
{!!description && <p>{`Description: ${description}`}</p>}
{isNumericDataType(dataType) &&
(isPresent(minValue) || isPresent(maxValue)) ? (
diff --git a/web/src/features/scores/components/AnnotationForm.tsx b/web/src/features/scores/components/AnnotationForm.tsx
index ed96e1c077..b3be061cbf 100644
--- a/web/src/features/scores/components/AnnotationForm.tsx
+++ b/web/src/features/scores/components/AnnotationForm.tsx
@@ -921,7 +921,7 @@ function InnerAnnotationForm<Target extends ScoreTarget>({
<HoverCardTrigger asChild>
<span
className={cn(
- "decoration-muted-gray line-clamp-2 min-w-0 text-xs font-medium wrap-break-word underline decoration-dashed underline-offset-2",
+ "decoration-muted-gray line-clamp-2 min-w-0 text-xs font-bold wrap-break-word underline decoration-dashed underline-offset-2",
config.isArchived
? "text-foreground/40"
: "",
@@ -937,7 +937,7 @@ function InnerAnnotationForm<Target extends ScoreTarget>({
) : (
<span
className={cn(
- "line-clamp-2 min-w-0 text-xs font-medium wrap-break-word",
+ "line-clamp-2 min-w-0 text-xs font-bold wrap-break-word",
config.isArchived ? "text-foreground/40" : "",
)}
title={score.name}
@@ -1189,7 +1189,7 @@ function InnerAnnotationForm<Target extends ScoreTarget>({
</Button>
</PopoverTrigger>
<PopoverContent>
- <h2 className="mb-3 font-semibold">
+ <h2 className="mb-3 font-bold">
Your score is archived
</h2>
<p className="mb-3 text-sm">
diff --git a/web/src/features/scores/components/DualAnnotationContent.tsx b/web/src/features/scores/components/DualAnnotationContent.tsx
index 7325d195bd..49342d9ca4 100644
--- a/web/src/features/scores/components/DualAnnotationContent.tsx
+++ b/web/src/features/scores/components/DualAnnotationContent.tsx
@@ -30,7 +30,7 @@ export function DualAnnotationContent({
<div className="flex max-h-[95vh] flex-col gap-4 overflow-y-auto">
{/* Observation-level scores */}
<div>
- <div className="text-muted-foreground mb-2 text-xs font-medium tracking-wide uppercase">
+ <div className="text-muted-foreground mb-2 text-xs font-bold tracking-wide uppercase">
Observation Scores
</div>
<AnnotationForm
@@ -55,7 +55,7 @@ export function DualAnnotationContent({
{/* Trace-level scores */}
<div>
- <div className="text-muted-foreground mb-2 text-xs font-medium tracking-wide uppercase">
+ <div className="text-muted-foreground mb-2 text-xs font-bold tracking-wide uppercase">
Trace Scores
</div>
<AnnotationForm
diff --git a/web/src/features/scores/components/ScoreRow.tsx b/web/src/features/scores/components/ScoreRow.tsx
index 88b23c37ae..539195c529 100644
--- a/web/src/features/scores/components/ScoreRow.tsx
+++ b/web/src/features/scores/components/ScoreRow.tsx
@@ -35,7 +35,7 @@ const ScoreDetailRow = ({
value: React.ReactNode;
}) => (
<div className="flex justify-between gap-2">
- <span className="text-muted-foreground w-14 font-medium">{label}</span>
+ <span className="text-muted-foreground w-14 font-bold">{label}</span>
<div className="min-w-0 flex-1 text-right">
{typeof value === "string" ? (
<span className="wrap-break-word">{value}</span>
@@ -57,7 +57,7 @@ const ScoreValueSection = ({
<div className="flex shrink-0 items-center gap-1">
{aggregate ? (
<>
- <span className="line-clamp-1 font-medium">
+ <span className="line-clamp-1 font-bold">
{resolveScoreValue(aggregate)}
</span>
{diff && (
@@ -125,7 +125,7 @@ export const ScoreRow = ({
return (
<HoverCard openDelay={700} closeDelay={100} onOpenChange={setIsHovered}>
<div className="flex h-6 w-full items-center gap-2">
- <span className="w-32 shrink-0 truncate font-medium" title={name}>
+ <span className="w-32 shrink-0 truncate font-bold" title={name}>
{name}
</span>
<HoverCardTrigger asChild>
@@ -140,7 +140,7 @@ export const ScoreRow = ({
align="start"
>
<div className="cursor-pointer space-y-3">
- <h4 className="text-sm font-medium">{name}</h4>
+ <h4 className="text-sm font-bold">{name}</h4>
<div className="space-y-2 text-xs">
<ScoreDetailRow
diff --git a/web/src/features/search-bar/components/ComposerTokens.tsx b/web/src/features/search-bar/components/ComposerTokens.tsx
index 9a3e0295cc..d36a14fe37 100644
--- a/web/src/features/search-bar/components/ComposerTokens.tsx
+++ b/web/src/features/search-bar/components/ComposerTokens.tsx
@@ -39,7 +39,7 @@ export const composerTokenVariants = cva("max-w-full", {
"mr-1 inline rounded border px-1.5 py-0.5 border-border bg-secondary text-secondary-foreground shadow-sm transition-colors hover:border-ring hover:bg-accent",
freeText:
"mr-1 inline rounded border px-1.5 py-0.5 border-transparent bg-muted/70 text-foreground/90 transition-colors hover:border-border hover:bg-accent",
- operator: "font-semibold uppercase text-qlang-keyword",
+ operator: "font-bold uppercase text-qlang-keyword",
paren: "text-muted-foreground",
invalid:
"mr-1 inline rounded border border-dashed px-1.5 py-0.5 border-destructive/70 bg-destructive/10 text-destructive transition-colors hover:border-destructive",
diff --git a/web/src/features/setup/components/SetupPage.tsx b/web/src/features/setup/components/SetupPage.tsx
index 56c08b8bab..cdc7e7460b 100644
--- a/web/src/features/setup/components/SetupPage.tsx
+++ b/web/src/features/setup/components/SetupPage.tsx
@@ -51,7 +51,7 @@ export function SetupPage() {
className={cn(
stepInt !== 1
? "text-muted-foreground"
- : "text-foreground font-semibold",
+ : "text-foreground font-bold",
)}
>
1. Create Organization
@@ -64,7 +64,7 @@ export function SetupPage() {
className={cn(
stepInt !== 2
? "text-muted-foreground"
- : "text-foreground font-semibold",
+ : "text-foreground font-bold",
)}
>
2. Create Project
diff --git a/web/src/features/slack/components/ChannelSelector.tsx b/web/src/features/slack/components/ChannelSelector.tsx
index 7c397122a1..1ca95cfd57 100644
--- a/web/src/features/slack/components/ChannelSelector.tsx
+++ b/web/src/features/slack/components/ChannelSelector.tsx
@@ -402,7 +402,7 @@ export const ChannelSelector: React.FC<ChannelSelectorProps> = ({
Private channels are not visible. To access private channels,{" "}
<button
type="button"
- className="font-medium underline"
+ className="font-bold underline"
onClick={() =>
window.open(
`${env.NEXT_PUBLIC_BASE_PATH ?? ""}/api/public/slack/install?projectId=${projectId}`,
diff --git a/web/src/features/slack/components/SlackConnectionCard.tsx b/web/src/features/slack/components/SlackConnectionCard.tsx
index 4792dd6bf9..fcb871a61f 100644
--- a/web/src/features/slack/components/SlackConnectionCard.tsx
+++ b/web/src/features/slack/components/SlackConnectionCard.tsx
@@ -168,20 +168,20 @@ export const SlackConnectionCard: React.FC<SlackConnectionCardProps> = ({
{/* Connection Status */}
<div className="flex items-center gap-2">
<CheckCircle className="h-4 w-4 text-green-500" />
- <span className="text-sm font-medium">Connected</span>
+ <span className="text-sm font-bold">Connected</span>
</div>
{/* Team Information */}
<div className="space-y-2">
<div className="flex items-center gap-2">
- <span className="text-sm font-medium">Workspace:</span>
+ <span className="text-sm font-bold">Workspace:</span>
<Badge variant="secondary" className="text-xs">
{integrationStatus.teamName}
</Badge>
</div>
<div className="flex items-center gap-2">
- <span className="text-sm font-medium">Team ID:</span>
+ <span className="text-sm font-bold">Team ID:</span>
<Badge variant="outline" className="font-mono text-xs">
{integrationStatus.teamId}
</Badge>
@@ -189,7 +189,7 @@ export const SlackConnectionCard: React.FC<SlackConnectionCardProps> = ({
{integrationStatus.botUserId && (
<div className="flex items-center gap-2">
- <span className="text-sm font-medium">Bot User:</span>
+ <span className="text-sm font-bold">Bot User:</span>
<Badge variant="outline" className="font-mono text-xs">
{integrationStatus.botUserId}
</Badge>
diff --git a/web/src/features/slack/components/SlackDisconnectButton.tsx b/web/src/features/slack/components/SlackDisconnectButton.tsx
index c63546f8ec..33771f7660 100644
--- a/web/src/features/slack/components/SlackDisconnectButton.tsx
+++ b/web/src/features/slack/components/SlackDisconnectButton.tsx
@@ -26,7 +26,7 @@ interface SlackDisconnectButtonProps {
/** Button variant */
variant?:
| "default"
- | "outline-solid"
+ | "outline"
| "secondary"
| "destructive"
| "ghost"
@@ -169,7 +169,7 @@ export const SlackDisconnectButton: React.FC<SlackDisconnectButtonProps> = ({
this project?
</p>
<div className="bg-muted space-y-2 rounded-md p-3">
- <p className="text-sm font-medium">This will:</p>
+ <p className="text-sm font-bold">This will:</p>
<ul className="ml-4 space-y-1 text-sm">
<li>β€’ Remove the bot from your Slack workspace</li>
<li>β€’ Disable all existing Slack automations</li>
diff --git a/web/src/features/support-chat/IntroSection.tsx b/web/src/features/support-chat/IntroSection.tsx
index e7e52ffbe6..011bba2e4c 100644
--- a/web/src/features/support-chat/IntroSection.tsx
+++ b/web/src/features/support-chat/IntroSection.tsx
@@ -51,7 +51,7 @@ export function IntroSection({ onStartForm }: { onStartForm: () => void }) {
return (
<div className="mt-1 flex flex-col gap-6">
<div className="flex flex-col gap-3">
- <div className="flex items-center gap-2 text-base font-semibold">
+ <div className="flex items-center gap-2 text-base font-bold">
<Sparkles className="h-4 w-4" /> Ask AI
</div>
<p className="text-muted-foreground mt-1 text-sm">
@@ -73,7 +73,7 @@ export function IntroSection({ onStartForm }: { onStartForm: () => void }) {
<Separator />
<div className="flex flex-col gap-3">
- <div className="flex items-center gap-2 text-base font-semibold">
+ <div className="flex items-center gap-2 text-base font-bold">
<LibraryBig className="h-4 w-4" /> Docs
</div>
<p className="text-muted-foreground text-sm">
@@ -99,7 +99,7 @@ export function IntroSection({ onStartForm }: { onStartForm: () => void }) {
{supportType === "custom" && (
<>
<div className="flex flex-col gap-3">
- <div className="flex items-center gap-2 text-base font-semibold">
+ <div className="flex items-center gap-2 text-base font-bold">
<LifeBuoy className="h-4 w-4" /> Support
</div>
<p className="text-muted-foreground text-sm">
@@ -157,7 +157,7 @@ export function IntroSection({ onStartForm }: { onStartForm: () => void }) {
{supportType === "in-app-support" && (
<>
<div className="flex flex-col gap-3">
- <div className="flex items-center gap-2 text-base font-semibold">
+ <div className="flex items-center gap-2 text-base font-bold">
<LifeBuoy className="h-4 w-4" /> Email a Support Engineer
</div>
<p className="text-muted-foreground text-sm">
@@ -176,7 +176,7 @@ export function IntroSection({ onStartForm }: { onStartForm: () => void }) {
{supportType === "community" && (
<>
<div className="flex flex-col gap-3">
- <div className="flex items-center gap-2 text-base font-semibold">
+ <div className="flex items-center gap-2 text-base font-bold">
<LifeBuoy className="h-4 w-4" /> Community Support
</div>
<p className="text-muted-foreground text-sm">
@@ -218,7 +218,7 @@ export function IntroSection({ onStartForm }: { onStartForm: () => void }) {
{supportType !== "custom" && (
<div>
- <div className="flex items-center gap-2 text-base font-semibold">
+ <div className="flex items-center gap-2 text-base font-bold">
<SiGithub className="h-4 w-4" /> Community & Resources
</div>
<p className="text-muted-foreground mt-1 text-sm">
diff --git a/web/src/features/support-chat/SuccessSection.tsx b/web/src/features/support-chat/SuccessSection.tsx
index 6d36ab5964..dce93ed328 100644
--- a/web/src/features/support-chat/SuccessSection.tsx
+++ b/web/src/features/support-chat/SuccessSection.tsx
@@ -11,7 +11,7 @@ export function SuccessSection({ onAnother }: { onAnother: () => void }) {
<div className="flex items-start gap-3">
<CheckCircle2 className="mt-0.5 h-5 w-5 text-green-600" />
<div className="space-y-0.5">
- <div className="text-sm font-medium">Thanks for your message</div>
+ <div className="text-sm font-bold">Thanks for your message</div>
<div className="text-muted-foreground text-sm">
We created a support ticket and will reply via email.
</div>
diff --git a/web/src/features/support-chat/SupportFormSection.tsx b/web/src/features/support-chat/SupportFormSection.tsx
index 6159fa5a23..6c088ec534 100644
--- a/web/src/features/support-chat/SupportFormSection.tsx
+++ b/web/src/features/support-chat/SupportFormSection.tsx
@@ -378,7 +378,7 @@ export function SupportFormSection({
return (
<div className="mt-1 flex flex-col gap-3">
- <div className="flex items-center gap-2 text-base font-semibold">
+ <div className="flex items-center gap-2 text-base font-bold">
E-Mail a Support Engineer
</div>
<p className="text-muted-foreground text-sm">
@@ -407,9 +407,7 @@ export function SupportFormSection({
{MESSAGE_TYPES.map((v) => (
<Button
key={v}
- variant={
- field.value === v ? "default" : "outline-solid"
- }
+ variant={field.value === v ? "default" : "outline"}
className="flex w-full items-center gap-2 text-sm font-normal"
size="default"
onClick={() => field.onChange(v)}
@@ -495,7 +493,7 @@ export function SupportFormSection({
</SelectTrigger>
<SelectContent>
<div className="p-2">
- <div className="text-muted-foreground mb-2 text-xs font-medium">
+ <div className="text-muted-foreground mb-2 text-xs font-bold">
Product Features
</div>
{TopicGroups["Product Features"].map((t) => (
@@ -505,7 +503,7 @@ export function SupportFormSection({
))}
</div>
<div className="border-t p-2">
- <div className="text-muted-foreground mb-2 text-xs font-medium">
+ <div className="text-muted-foreground mb-2 text-xs font-bold">
Operations
</div>
{TopicGroups.Operations.map((t) => (
@@ -637,8 +635,8 @@ export function SupportFormSection({
</Dropzone>
{files && files.length > 0 && (
- <div className="p-0 text-left text-sm font-medium">
- <div className="text-muted-foreground mb-2 text-xs font-medium">
+ <div className="p-0 text-left text-sm font-bold">
+ <div className="text-muted-foreground mb-2 text-xs font-bold">
Attached files
</div>
{files?.map((file) => (
diff --git a/web/src/features/table/components/TableActionMenu.tsx b/web/src/features/table/components/TableActionMenu.tsx
index 23c15162e4..8988cc4f7b 100644
--- a/web/src/features/table/components/TableActionMenu.tsx
+++ b/web/src/features/table/components/TableActionMenu.tsx
@@ -87,7 +87,7 @@ export function TableActionMenu({
<>
<div className="pointer-events-none fixed inset-x-0 bottom-16 z-50 flex justify-center">
<div className="ring-dark-blue/20 dark:border-dark-blue/30 dark:ring-dark-blue/30 bg-background pointer-events-auto flex items-center gap-2 rounded-lg border px-3 py-2 opacity-95 shadow-lg ring-2 backdrop-blur-md dark:shadow-none">
- <div className="text-sm font-medium">
+ <div className="text-sm font-bold">
{approximateCount ? (
<span> All matching selected</span>
) : selectedCount !== null ? (
diff --git a/web/src/features/tag/components/TagManager.tsx b/web/src/features/tag/components/TagManager.tsx
index 08d8ff985e..dfe07a8ca8 100644
--- a/web/src/features/tag/components/TagManager.tsx
+++ b/web/src/features/tag/components/TagManager.tsx
@@ -158,7 +158,7 @@ const TagManager = ({
<CommandGroup
heading={filteredTags.length > 0 ? "Available Tags" : ""}
className={cn(
- "mt-2 max-h-52 overflow-auto text-sm font-medium *:[[cmdk-group-heading]]:mb-2",
+ "mt-2 max-h-52 overflow-auto text-sm font-bold *:[[cmdk-group-heading]]:mb-2",
filteredTags.length > 0 && "mb-2",
)}
>
diff --git a/web/src/features/trace-graph-view/components/GraphNode.tsx b/web/src/features/trace-graph-view/components/GraphNode.tsx
index ea8375562a..3ea0d045bd 100644
--- a/web/src/features/trace-graph-view/components/GraphNode.tsx
+++ b/web/src/features/trace-graph-view/components/GraphNode.tsx
@@ -72,7 +72,7 @@ function GraphNodeComponent({
const style: React.CSSProperties = { left: x, top: y, width, height };
const shared = cn(
- "absolute flex select-none items-center justify-center gap-1.5 overflow-hidden rounded-md px-2 text-xs font-medium transition-[box-shadow]",
+ "absolute flex select-none items-center justify-center gap-1.5 overflow-hidden rounded-md px-2 text-xs font-bold transition-[box-shadow]",
onSelect && [
"cursor-pointer hover:ring-2 hover:ring-ring/40",
"focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none",
diff --git a/web/src/features/trace-graph-view/components/GraphViewModeSwitch.tsx b/web/src/features/trace-graph-view/components/GraphViewModeSwitch.tsx
index bba1a3b89f..0d67ef1f72 100644
--- a/web/src/features/trace-graph-view/components/GraphViewModeSwitch.tsx
+++ b/web/src/features/trace-graph-view/components/GraphViewModeSwitch.tsx
@@ -47,7 +47,7 @@ export function GraphViewModeSwitch({
aria-label={label}
title={title}
className={cn(
- "flex h-6 items-center gap-1.5 rounded-md px-2 text-xs font-medium transition-colors",
+ "flex h-6 items-center gap-1.5 rounded-md px-2 text-xs font-bold transition-colors",
value === mode
? "bg-primary text-primary-foreground shadow-sm"
: "text-muted-foreground hover:text-foreground",
diff --git a/web/src/features/v4/components/V4MigrationProjectCards.tsx b/web/src/features/v4/components/V4MigrationProjectCards.tsx
index 19f29c505c..fa89398b11 100644
--- a/web/src/features/v4/components/V4MigrationProjectCards.tsx
+++ b/web/src/features/v4/components/V4MigrationProjectCards.tsx
@@ -440,7 +440,7 @@ const InlineLink = ({
children: ReactNode;
}) => {
const className =
- "text-link hover:text-link-hover inline-flex items-center gap-1 text-sm font-semibold whitespace-nowrap";
+ "text-link hover:text-link-hover inline-flex items-center gap-1 text-sm font-bold whitespace-nowrap";
return external ? (
<a
@@ -485,7 +485,7 @@ const AuditSection = ({
<div className="min-w-0">
<div className="flex flex-wrap items-center gap-2">
<TriangleAlert className="text-dark-yellow h-4 w-4 shrink-0" />
- <h3 className="text-sm font-semibold">{title}</h3>
+ <h3 className="text-sm font-bold">{title}</h3>
<Badge variant="outline-solid" size="sm">
{countLabel}
</Badge>
@@ -505,7 +505,7 @@ const SuccessAudit = () => (
<div className="border-light-green flex items-start gap-3 border-l-2 py-2 pl-4">
<CircleCheck className="text-dark-green mt-0.5 h-4 w-4 shrink-0" />
<div className="min-w-0">
- <div className="text-sm font-semibold">
+ <div className="text-sm font-bold">
No required v4 migration changes detected
</div>
<div className="text-muted-foreground mt-0.5 text-sm">
@@ -544,7 +544,7 @@ const NonActionDetails = ({
<AccordionTrigger className="py-3 text-sm hover:no-underline">
<span className="flex min-w-0 items-center gap-2">
<Info className="text-muted-foreground h-4 w-4 shrink-0" />
- <span className="font-medium">
+ <span className="font-bold">
Details that do not require action
</span>
<Badge variant="outline-solid" size="sm">
@@ -556,7 +556,7 @@ const NonActionDetails = ({
{sdkUsageSeries.length ? (
<section className="flex flex-col gap-2">
<div>
- <h4 className="text-sm font-medium">SDK telemetry</h4>
+ <h4 className="text-sm font-bold">SDK telemetry</h4>
<p className="text-muted-foreground text-xs">
Current, unknown with API keys, unsupported, and invalid SDK
telemetry is shown for context only.
@@ -571,7 +571,7 @@ const NonActionDetails = ({
{passedChecks.length ? (
<section className="flex flex-col gap-2">
<div>
- <h4 className="text-sm font-medium">Passed checks</h4>
+ <h4 className="text-sm font-bold">Passed checks</h4>
<p className="text-muted-foreground text-xs">
These checks did not produce required customer work in the
selected range.
@@ -710,7 +710,7 @@ export const UsageStackedBarOverview = ({
return (
<div className="py-2">
<div className="mb-2 flex items-center justify-between gap-3">
- <span className="text-sm font-medium">Usage over time</span>
+ <span className="text-sm font-bold">Usage over time</span>
<span className="text-muted-foreground text-xs">
{numberFormatter(total, 0, 2)} {valueLabel}
</span>
@@ -775,7 +775,7 @@ export const UsageStackedBarOverview = ({
className="h-2.5 w-2.5 shrink-0 rounded-[2px]"
style={{ backgroundColor: item.color }}
/>
- <span className="truncate font-medium" title={item.name}>
+ <span className="truncate font-bold" title={item.name}>
{item.name}
</span>
<span className="text-muted-foreground shrink-0">
@@ -806,7 +806,7 @@ const SdkUsageDetails = ({
seriesLimit={null}
/>
<div className="overflow-hidden">
- <div className="text-muted-foreground hidden grid-cols-[minmax(0,1.35fr)_minmax(0,1fr)_7rem_7rem] gap-3 border-b py-2 text-xs font-medium md:grid">
+ <div className="text-muted-foreground hidden grid-cols-[minmax(0,1.35fr)_minmax(0,1fr)_7rem_7rem] gap-3 border-b py-2 text-xs font-bold md:grid">
<span>SDK</span>
<span>API key</span>
<span className="text-right">Last seen</span>
@@ -842,7 +842,7 @@ const SdkUsageDetails = ({
{getSdkUpgradeStatusLabel(item.upgradeStatus)}
</Badge>
<span
- className="truncate text-sm font-medium"
+ className="truncate text-sm font-bold"
title={
isUntrackedSdkUsage(item)
? "untracked"
@@ -878,7 +878,7 @@ const SdkUsageDetails = ({
<div className="text-muted-foreground text-xs md:text-right">
{item.lastSeen ? getBucketLabel(item.lastSeen) : "-"}
</div>
- <div className="text-sm font-medium md:text-right">
+ <div className="text-sm font-bold md:text-right">
{numberFormatter(item.total, 0, 2)}
</div>
</div>
@@ -909,7 +909,7 @@ const ActionRow = ({
<div className="grid gap-3 border-b py-2 last:border-b-0 md:grid-cols-[minmax(0,1fr)_8rem] md:items-center">
<div className="min-w-0">
<div
- className={cn("truncate text-sm font-medium", titleClassName)}
+ className={cn("truncate text-sm font-bold", titleClassName)}
title={title}
>
{title}
@@ -924,7 +924,7 @@ const ActionRow = ({
<div className="md:text-right">
{typeof total === "number" ? (
<>
- <div className="text-sm font-medium">
+ <div className="text-sm font-bold">
{numberFormatter(total, 0, 2)}
</div>
<div className="text-muted-foreground text-xs">
diff --git a/web/src/features/web-callouts/components/WebCalloutMenuItem.tsx b/web/src/features/web-callouts/components/WebCalloutMenuItem.tsx
index 832071f5d1..60b6fc1c90 100644
--- a/web/src/features/web-callouts/components/WebCalloutMenuItem.tsx
+++ b/web/src/features/web-callouts/components/WebCalloutMenuItem.tsx
@@ -102,7 +102,7 @@ export function WebCalloutMenuItem({
title={action.endpointName}
>
<span>Call </span>
- <span className="font-semibold">{action.endpointName}</span>
+ <span className="font-bold">{action.endpointName}</span>
</span>
</DropdownMenuItem>
{withSeparator && <DropdownMenuSeparator />}
diff --git a/web/src/features/web-callouts/components/WebCalloutSettingsPage.tsx b/web/src/features/web-callouts/components/WebCalloutSettingsPage.tsx
index 30796f7a12..2db82846e1 100644
--- a/web/src/features/web-callouts/components/WebCalloutSettingsPage.tsx
+++ b/web/src/features/web-callouts/components/WebCalloutSettingsPage.tsx
@@ -234,7 +234,7 @@ export function WebCalloutSettingsPage(props: { projectId: string }) {
) : (
endpoints.data?.map((endpoint) => (
<TableRow key={endpoint.id}>
- <TableCell density="comfortable" className="font-medium">
+ <TableCell density="comfortable" className="font-bold">
{endpoint.name}
</TableCell>
<TableCell
@@ -698,7 +698,7 @@ export function WebCalloutIntegrationCard(props: {
<Card className="p-3">
<div className="mb-4 flex items-center gap-2">
<Webhook className="text-foreground h-5 w-5" />
- <span className="font-semibold">Web Callouts</span>
+ <span className="font-bold">Web Callouts</span>
</div>
<p className="text-primary mb-4 text-sm">
Send backend callouts from trace, observation, and session detail views
diff --git a/web/src/features/widgets/chart-library/BigNumber.tsx b/web/src/features/widgets/chart-library/BigNumber.tsx
index 124ffc2ebe..b06c2090f0 100644
--- a/web/src/features/widgets/chart-library/BigNumber.tsx
+++ b/web/src/features/widgets/chart-library/BigNumber.tsx
@@ -173,7 +173,7 @@ export const BigNumber: React.FC<ChartProps> = ({
{displayValue.negative && (
<span
className={cn(
- "text-foreground font-extrabold tracking-tight",
+ "text-foreground font-bold tracking-tight",
fontSize,
)}
>
@@ -185,7 +185,7 @@ export const BigNumber: React.FC<ChartProps> = ({
)}
<span
ref={textRef}
- className={cn("text-center font-extrabold tracking-tight", fontSize)}
+ className={cn("text-center font-bold tracking-tight", fontSize)}
title={calculatedMetric.toString()}
>
{displayValue.negative && !displayValue.prefix ? "-" : ""}
diff --git a/web/src/features/widgets/chart-library/Chart.tsx b/web/src/features/widgets/chart-library/Chart.tsx
index 2c2559f686..62cb2dbb41 100644
--- a/web/src/features/widgets/chart-library/Chart.tsx
+++ b/web/src/features/widgets/chart-library/Chart.tsx
@@ -255,7 +255,7 @@ const ChartComponent = ({
const renderWarning = () => (
<div className="flex flex-col items-center justify-center p-6 text-center">
<AlertCircle className="mb-4 h-12 w-12" />
- <h3 className="mb-2 text-lg font-semibold">Large Dataset Warning</h3>
+ <h3 className="mb-2 text-lg font-bold">Large Dataset Warning</h3>
<p className="text-muted-foreground mb-6 text-sm">
This chart has more than 2,000 unique data points. Rendering it may be
slow or may crash your browser. Try to reduce the number of dimensions
@@ -265,7 +265,7 @@ const ChartComponent = ({
<Button
variant="outline"
onClick={() => setForceRender(true)}
- className="font-medium"
+ className="font-bold"
>
I understand, proceed to render the chart
</Button>
diff --git a/web/src/features/widgets/chart-library/ChartInteractivity.stories.tsx b/web/src/features/widgets/chart-library/ChartInteractivity.stories.tsx
index 6e6341ac5d..699d7e0d5a 100644
--- a/web/src/features/widgets/chart-library/ChartInteractivity.stories.tsx
+++ b/web/src/features/widgets/chart-library/ChartInteractivity.stories.tsx
@@ -82,7 +82,7 @@ const SyncedDashboardDemo = ({
</p>
{PANELS.map((panel) => (
<div key={panel.title} className="bg-background rounded-md border p-3">
- <div className="mb-1 text-sm font-medium">{panel.title}</div>
+ <div className="mb-1 text-sm font-bold">{panel.title}</div>
<div className="h-[180px] w-full">
<LineChartTimeSeries
data={panel.data}
@@ -120,7 +120,7 @@ export const SyncedTimeline = meta.story({});
export const Spaghetti = meta.story({
render: () => (
<div className="bg-background h-[380px] w-full rounded-md border p-3">
- <div className="mb-1 text-sm font-medium">p95 Latency β€” 14 models</div>
+ <div className="mb-1 text-sm font-bold">p95 Latency β€” 14 models</div>
<div className="h-[330px] w-full">
<LineChartTimeSeries
data={spaghettiData}
diff --git a/web/src/features/widgets/chart-library/ChartLoadingState.tsx b/web/src/features/widgets/chart-library/ChartLoadingState.tsx
index 93086edb66..2f309c8e8a 100644
--- a/web/src/features/widgets/chart-library/ChartLoadingState.tsx
+++ b/web/src/features/widgets/chart-library/ChartLoadingState.tsx
@@ -141,7 +141,7 @@ export function ChartLoadingState({
{shouldRenderStatusTitle ? (
<p
className={cn(
- "text-foreground font-medium",
+ "text-foreground font-bold",
shouldShowProgress ? "text-left" : "text-center",
isTight ? "text-xs" : "text-sm",
)}
diff --git a/web/src/features/widgets/chart-library/ChartPolish.stories.tsx b/web/src/features/widgets/chart-library/ChartPolish.stories.tsx
index a3d6d9fd12..0c99e7bbea 100644
--- a/web/src/features/widgets/chart-library/ChartPolish.stories.tsx
+++ b/web/src/features/widgets/chart-library/ChartPolish.stories.tsx
@@ -111,7 +111,7 @@ const WidgetCard = ({
data: DataPoint[];
}) => (
<div className="bg-background flex h-[300px] w-[480px] flex-col rounded-lg border p-4">
- <span className="truncate font-medium">{title}</span>
+ <span className="truncate font-bold">{title}</span>
<div className="text-muted-foreground mb-2 truncate text-sm">
{description}
</div>
@@ -305,7 +305,7 @@ export const LegendDefaultVisibility = meta.story({
export const TooltipEdgePlacement = meta.story({
render: () => (
<div className="bg-background w-[95vw] rounded-md border p-3">
- <div className="mb-1 text-sm font-medium">
+ <div className="mb-1 text-sm font-bold">
Hover near the right edge β€” long names, viewport-wide chart
</div>
<div className="h-[300px] w-full">
diff --git a/web/src/features/widgets/chart-library/ChartingPrinciples.stories.tsx b/web/src/features/widgets/chart-library/ChartingPrinciples.stories.tsx
index 704bdb7919..ffa8702e77 100644
--- a/web/src/features/widgets/chart-library/ChartingPrinciples.stories.tsx
+++ b/web/src/features/widgets/chart-library/ChartingPrinciples.stories.tsx
@@ -293,7 +293,7 @@ const ChartFrame = ({
children: React.ReactNode;
}) => (
<div className="bg-background rounded-md border p-3">
- <div className="mb-1 text-sm font-medium">{title}</div>
+ <div className="mb-1 text-sm font-bold">{title}</div>
<div className="h-[280px] w-full">{children}</div>
</div>
);
diff --git a/web/src/features/widgets/chart-library/PivotTable.tsx b/web/src/features/widgets/chart-library/PivotTable.tsx
index 6fde273663..9714203511 100644
--- a/web/src/features/widgets/chart-library/PivotTable.tsx
+++ b/web/src/features/widgets/chart-library/PivotTable.tsx
@@ -167,7 +167,7 @@ const PivotTableRowComponent: React.FC<{
row.level === 1 && "pl-6", // 1.5rem indentation for level 1
row.level === 2 && "pl-10", // 2.5rem indentation for level 2
// Bold styling for subtotal and total rows
- (row.isSubtotal || row.isTotal) && "font-semibold",
+ (row.isSubtotal || row.isTotal) && "font-bold",
)}
style={{
// Fallback for levels beyond 2 using inline styles
@@ -184,7 +184,7 @@ const PivotTableRowComponent: React.FC<{
key={metric}
className={cn(
"p-2 text-right align-middle tabular-nums",
- (row.isSubtotal || row.isTotal) && "font-semibold",
+ (row.isSubtotal || row.isTotal) && "font-bold",
)}
>
{valueFormatter(row.values[metric], units?.[i])}
@@ -382,7 +382,7 @@ export const PivotTable: React.FC<PivotTableProps> = ({
? config.dimensions.map(formatColumnHeader).join(" / ") // Show all dimensions
: "Dimension"
}
- className="p-2 text-left font-medium first:pl-2"
+ className="p-2 text-left font-bold first:pl-2"
/>
{/* Metric column headers */}
@@ -393,7 +393,7 @@ export const PivotTable: React.FC<PivotTableProps> = ({
label={formatColumnHeader(metric)}
sortState={sortState}
onSort={handleSort}
- className="p-2 font-medium"
+ className="p-2 font-bold"
rightAlign={true}
/>
))}
diff --git a/web/src/features/widgets/chart-library/TimeSeriesLegend.tsx b/web/src/features/widgets/chart-library/TimeSeriesLegend.tsx
index 5d8e1350a7..888ada551f 100644
--- a/web/src/features/widgets/chart-library/TimeSeriesLegend.tsx
+++ b/web/src/features/widgets/chart-library/TimeSeriesLegend.tsx
@@ -229,7 +229,7 @@ export function TimeSeriesLegend({
/>
<span className="text-muted-foreground">{item.label}</span>
{item.summary !== null && (
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
{formatSummary(item.summary)}
</span>
)}
diff --git a/web/src/features/widgets/components/CopyWidgetDialog.tsx b/web/src/features/widgets/components/CopyWidgetDialog.tsx
index 9e8d275de8..a1adc6d893 100644
--- a/web/src/features/widgets/components/CopyWidgetDialog.tsx
+++ b/web/src/features/widgets/components/CopyWidgetDialog.tsx
@@ -43,7 +43,7 @@ export function CopyWidgetDialog({
</DialogHeader>
<DialogBody>
<p className="text-muted-foreground py-4 text-sm">
- <span className="text-foreground font-medium">
+ <span className="text-foreground font-bold">
&ldquo;{widgetName}&rdquo;
</span>{" "}
is maintained by Langfuse and can&rsquo;t be edited directly.
diff --git a/web/src/features/widgets/components/DashboardWidget.tsx b/web/src/features/widgets/components/DashboardWidget.tsx
index a9189e75d7..c1b3bde98d 100644
--- a/web/src/features/widgets/components/DashboardWidget.tsx
+++ b/web/src/features/widgets/components/DashboardWidget.tsx
@@ -618,7 +618,7 @@ export function DashboardWidget({
)}
<div className="flex items-center justify-between">
<span
- className="flex min-w-0 items-center gap-1.5 truncate font-medium"
+ className="flex min-w-0 items-center gap-1.5 truncate text-base font-bold"
title={widget.data.name}
>
<span className="truncate" title={widget.data.name}>
diff --git a/web/src/features/widgets/components/InlineWidget.tsx b/web/src/features/widgets/components/InlineWidget.tsx
index d514421b72..9fe20176d6 100644
--- a/web/src/features/widgets/components/InlineWidget.tsx
+++ b/web/src/features/widgets/components/InlineWidget.tsx
@@ -130,7 +130,7 @@ export function WidgetHeader({
return (
<div className={cn("mb-4", className)}>
<div className="flex items-center justify-between">
- <span className="truncate font-medium" title={title}>
+ <span className="truncate font-bold" title={title}>
{title}
</span>
{actions && <div className="flex space-x-2">{actions}</div>}
diff --git a/web/src/features/widgets/components/SelectWidgetDialog.tsx b/web/src/features/widgets/components/SelectWidgetDialog.tsx
index 0e6e30ace1..7193f4d9c6 100644
--- a/web/src/features/widgets/components/SelectWidgetDialog.tsx
+++ b/web/src/features/widgets/components/SelectWidgetDialog.tsx
@@ -63,7 +63,7 @@ function WidgetRow({
<button type="button" onClick={onClick} className={rowClassName}>
<RowIllustration type={widget.chartType} />
<div className="min-w-0 flex-1">
- <div className="truncate font-medium" title={widget.name}>
+ <div className="truncate font-bold" title={widget.name}>
{widget.name}
</div>
{widget.description ? (
@@ -178,7 +178,7 @@ export function SelectWidgetDialog({
>
<RowIllustration type="CUSTOM" />
<div className="min-w-0 flex-1">
- <div className="font-medium">Custom Chart</div>
+ <div className="font-bold">Custom Chart</div>
<div className="text-muted-foreground text-xs">
Pick a data view, metrics, and chart type from scratch
</div>
@@ -239,7 +239,7 @@ export function SelectWidgetDialog({
<RowIllustration type={meta.illustration} />
<div className="min-w-0 flex-1">
<div
- className="truncate font-medium"
+ className="truncate font-bold"
title={meta.name}
>
{meta.name}
diff --git a/web/src/features/widgets/components/WidgetForm.tsx b/web/src/features/widgets/components/WidgetForm.tsx
index 33eeb5b653..afd54fb7e4 100644
--- a/web/src/features/widgets/components/WidgetForm.tsx
+++ b/web/src/features/widgets/components/WidgetForm.tsx
@@ -1954,9 +1954,7 @@ export function WidgetForm({
{selectedChartType === "PIVOT_TABLE" && (
<div className="space-y-4">
<div>
- <h4 className="mb-2 text-sm font-semibold">
- Row Dimensions
- </h4>
+ <h4 className="mb-2 text-sm font-bold">Row Dimensions</h4>
<p className="text-muted-foreground mb-3 text-xs">
Configure up to {MAX_PIVOT_TABLE_DIMENSIONS} dimensions
for pivot table rows. Each dimension creates groupings
@@ -2032,7 +2030,7 @@ export function WidgetForm({
{selectedChartType === "PIVOT_TABLE" && (
<div className="space-y-4">
<div>
- <h4 className="mb-2 text-sm font-semibold">
+ <h4 className="mb-2 text-sm font-bold">
Default Sort Configuration
</h4>
<p className="text-muted-foreground mb-3 text-xs">
diff --git a/web/src/pages/account/settings/index.tsx b/web/src/pages/account/settings/index.tsx
index 0f2668ee11..0f5656df16 100644
--- a/web/src/pages/account/settings/index.tsx
+++ b/web/src/pages/account/settings/index.tsx
@@ -169,7 +169,7 @@ function DeleteAccountButton() {
</DialogTrigger>
<DialogContent className="sm:max-w-[425px]">
<DialogHeader>
- <DialogTitle className="text-lg font-semibold">
+ <DialogTitle className="text-lg font-bold">
Delete Account
</DialogTitle>
<DialogDescription>
@@ -184,7 +184,7 @@ function DeleteAccountButton() {
<li key={org.id}>
<Link
href={`/organization/${org.id}/settings`}
- className="text-primary hover:text-primary/80 font-semibold underline"
+ className="text-primary hover:text-primary/80 font-bold underline"
>
{org.name}
</Link>
diff --git a/web/src/pages/auth/enterprise-sso-required.tsx b/web/src/pages/auth/enterprise-sso-required.tsx
index ab920010df..949b5ea2b9 100644
--- a/web/src/pages/auth/enterprise-sso-required.tsx
+++ b/web/src/pages/auth/enterprise-sso-required.tsx
@@ -188,7 +188,7 @@ export default function EnterpriseSsoRequiredPage() {
</form>
</Form>
{error ? (
- <div className="text-destructive mt-4 text-center text-sm font-medium">
+ <div className="text-destructive mt-4 text-center text-sm font-bold">
{error}
<br />
Contact{" "}
diff --git a/web/src/pages/auth/sign-in.tsx b/web/src/pages/auth/sign-in.tsx
index d5f7d8a4b3..bc7d02c4c8 100644
--- a/web/src/pages/auth/sign-in.tsx
+++ b/web/src/pages/auth/sign-in.tsx
@@ -740,7 +740,7 @@ export default function SignIn({
page (CMD + SHIFT + R) or clear your browser cache.{" "}
<a
href="mailto:[email protected]"
- className="text-link hover:text-link-hover cursor-pointer text-xs font-medium whitespace-nowrap"
+ className="text-link hover:text-link-hover cursor-pointer text-xs font-bold whitespace-nowrap"
>
(contact us)
</a>
@@ -847,7 +847,7 @@ export default function SignIn({
</div>
)}
{credentialsFormError ? (
- <div className="text-destructive text-center text-sm font-medium">
+ <div className="text-destructive text-center text-sm font-bold">
{credentialsFormError}
<br />
Contact support if this error is unexpected.{" "}
@@ -869,7 +869,7 @@ export default function SignIn({
No account yet?{" "}
<Link
href={`/auth/sign-up${router.asPath.includes("?") ? router.asPath.substring(router.asPath.indexOf("?")) : ""}`}
- className="text-link hover:text-link-hover leading-6 font-semibold"
+ className="text-link hover:text-link-hover leading-6 font-bold"
>
Sign up
</Link>
diff --git a/web/src/pages/auth/sign-up.tsx b/web/src/pages/auth/sign-up.tsx
index cc971aa7fe..ddf8993c7d 100644
--- a/web/src/pages/auth/sign-up.tsx
+++ b/web/src/pages/auth/sign-up.tsx
@@ -296,7 +296,7 @@ function StandardSignupFlow({
{showPasswordStep ? "Sign up" : "Continue"}
</Button>
{formError ? (
- <div className="text-destructive text-center text-sm font-medium">
+ <div className="text-destructive text-center text-sm font-bold">
{formError}
</div>
) : null}
@@ -416,7 +416,7 @@ function VerifiedSignupFlow({
</h2>
<p className="text-muted-foreground mt-2 text-center text-sm">
We sent a verification code to{" "}
- <span className="font-medium">{otpEmail}</span>
+ <span className="font-bold">{otpEmail}</span>
</p>
</div>
@@ -425,7 +425,7 @@ function VerifiedSignupFlow({
<div>
<label
htmlFor="otp-code"
- className="mb-2 block text-sm font-medium"
+ className="mb-2 block text-sm font-bold"
>
Verification code
</label>
@@ -450,7 +450,7 @@ function VerifiedSignupFlow({
Verify
</Button>
{otpError && (
- <div className="text-destructive text-center text-sm font-medium">
+ <div className="text-destructive text-center text-sm font-bold">
{otpError}
</div>
)}
@@ -458,7 +458,7 @@ function VerifiedSignupFlow({
The code is valid for 3 minutes.{" "}
<button
type="button"
- className="text-link hover:text-link-hover font-medium"
+ className="text-link hover:text-link-hover font-bold"
onClick={() => {
setPhase("form");
setOtpCode("");
@@ -523,7 +523,7 @@ function VerifiedSignupFlow({
Continue
</Button>
{formError ? (
- <div className="text-destructive text-center text-sm font-medium">
+ <div className="text-destructive text-center text-sm font-bold">
{formError}
</div>
) : null}
@@ -586,7 +586,7 @@ function SignupFooter() {
Already have an account?{" "}
<Link
href={`/auth/sign-in${router.asPath.includes("?") ? router.asPath.substring(router.asPath.indexOf("?")) : ""}`}
- className="text-link hover:text-link-hover leading-6 font-semibold"
+ className="text-link hover:text-link-hover leading-6 font-bold"
>
Sign in
</Link>
diff --git a/web/src/pages/organization/[organizationId]/v4/index.tsx b/web/src/pages/organization/[organizationId]/v4/index.tsx
index 1a51528e4e..e0421b89e2 100644
--- a/web/src/pages/organization/[organizationId]/v4/index.tsx
+++ b/web/src/pages/organization/[organizationId]/v4/index.tsx
@@ -147,7 +147,7 @@ const ProjectReadinessTable = ({
<TableCell density="comfortable">
<Link
href={`/project/${project.projectId}`}
- className="font-medium hover:underline"
+ className="font-bold hover:underline"
>
{project.projectName}
</Link>
@@ -555,7 +555,7 @@ export default function OrganizationV4Page() {
<div className="flex flex-col gap-4">
<section className="flex flex-col gap-2">
<div className="flex flex-wrap items-center gap-2">
- <h3 className="text-sm font-medium">
+ <h3 className="text-sm font-bold">
Projects with required changes
</h3>
<Badge variant="outline-solid" size="sm">
@@ -606,7 +606,7 @@ export default function OrganizationV4Page() {
<AccordionItem value="migrated" className="border-b-0">
<AccordionTrigger className="py-3 text-sm hover:no-underline">
<span className="flex min-w-0 items-center gap-2">
- <span className="font-medium">
+ <span className="font-bold">
Projects without required changes
</span>
<Badge variant="outline-solid" size="sm">
diff --git a/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx b/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx
index fcff60c78b..1cff54750f 100644
--- a/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx
+++ b/web/src/pages/project/[projectId]/dashboards/[dashboardId]/index.tsx
@@ -1298,7 +1298,7 @@ export default function DashboardDetail() {
<Layer name="modal">
<div className="bg-background/80 pointer-events-none fixed inset-0 flex items-center justify-center backdrop-blur-xs">
<div className="border-primary bg-background rounded-lg border-2 border-dashed px-8 py-6 text-center shadow-lg">
- <p className="font-medium">Drop to import</p>
+ <p className="font-bold">Drop to import</p>
<p className="text-muted-foreground text-sm">
Langfuse dashboard or widget JSON
</p>
diff --git a/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx b/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx
index 398865a94a..58812d0072 100644
--- a/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx
+++ b/web/src/pages/project/[projectId]/datasets/[datasetId]/compare/charts.tsx
@@ -209,7 +209,7 @@ export default function DatasetCompare() {
key={key}
className="flex min-h-[200px] max-w-full min-w-0 flex-col gap-2"
>
- <span className="shrink-0 text-sm font-medium">
+ <span className="shrink-0 text-sm font-bold">
{title}
</span>
<NoDataOrLoading
@@ -236,7 +236,7 @@ export default function DatasetCompare() {
key={key}
className="flex min-h-[200px] max-w-full min-w-0 flex-col gap-2"
>
- <span className="shrink-0 text-sm font-medium">
+ <span className="shrink-0 text-sm font-bold">
{title}
</span>
<div className="min-h-[200px] min-w-0 flex-1">
diff --git a/web/src/pages/project/[projectId]/datasets/[datasetId]/runs/[runId].tsx b/web/src/pages/project/[projectId]/datasets/[datasetId]/runs/[runId].tsx
index c2f6ca2783..79eb5de055 100644
--- a/web/src/pages/project/[projectId]/datasets/[datasetId]/runs/[runId].tsx
+++ b/web/src/pages/project/[projectId]/datasets/[datasetId]/runs/[runId].tsx
@@ -121,7 +121,7 @@ export default function Dataset() {
<>
{run.data?.datasetVersion && (
<div className="flex flex-col gap-2 p-1">
- <span className="text-sm font-medium">Dataset Version</span>
+ <span className="text-sm font-bold">Dataset Version</span>
<Link
href={`/project/${projectId}/datasets/${datasetId}/items?version=${run.data.datasetVersion.toISOString()}`}
className="text-link hover:text-link-hover text-sm"
diff --git a/web/src/pages/project/[projectId]/experiments/analytics.tsx b/web/src/pages/project/[projectId]/experiments/analytics.tsx
index 6958d32b1d..b630fcd483 100644
--- a/web/src/pages/project/[projectId]/experiments/analytics.tsx
+++ b/web/src/pages/project/[projectId]/experiments/analytics.tsx
@@ -62,7 +62,7 @@ export default function ExperimentAnalytics() {
<FlaskConical className="text-muted-foreground h-8 w-8" />
</div>
<div className="space-y-2">
- <h3 className="text-xl font-semibold tracking-tight">
+ <h3 className="text-xl font-bold tracking-tight">
Analytics Coming Soon
</h3>
<p className="text-muted-foreground text-sm leading-relaxed">
diff --git a/web/src/pages/project/[projectId]/scores/analytics.tsx b/web/src/pages/project/[projectId]/scores/analytics.tsx
index dbbf343d30..60c0438668 100644
--- a/web/src/pages/project/[projectId]/scores/analytics.tsx
+++ b/web/src/pages/project/[projectId]/scores/analytics.tsx
@@ -220,7 +220,7 @@ export default function ScoresAnalyticsV2Page() {
<div className="bg-destructive/10 flex flex-col items-center justify-center gap-4 rounded-lg border p-12">
<BarChart3 className="text-destructive h-12 w-12" />
<div className="text-center">
- <h3 className="text-lg font-semibold">Error Loading Scores</h3>
+ <h3 className="text-lg font-bold">Error Loading Scores</h3>
<p className="text-muted-foreground mt-2 text-sm">
Failed to load score data. Please try refreshing the page.
</p>
@@ -230,7 +230,7 @@ export default function ScoresAnalyticsV2Page() {
<div className="bg-muted/20 flex flex-col items-center justify-center gap-4 rounded-lg border p-12">
<BarChart3 className="text-muted-foreground h-12 w-12" />
<div className="text-center">
- <h3 className="text-lg font-semibold">No Scores Available</h3>
+ <h3 className="text-lg font-bold">No Scores Available</h3>
<p className="text-muted-foreground mt-2 text-sm">
Create scores by adding evaluations to your traces and
observations.
@@ -241,20 +241,20 @@ export default function ScoresAnalyticsV2Page() {
<div className="bg-muted/20 flex flex-col items-center justify-center gap-6 rounded-lg border p-12">
<BarChart3 className="text-muted-foreground h-16 w-16" />
<div className="max-w-2xl text-center">
- <h3 className="text-2xl font-semibold">Select a Score</h3>
+ <h3 className="text-2xl font-bold">Select a Score</h3>
<p className="text-muted-foreground mt-3 text-base">
Choose one or two scores from the dropdowns above to view
analytics
</p>
<div className="text-muted-foreground mt-6 space-y-3 text-sm">
<div className="bg-background/50 rounded-lg p-4">
- <p className="text-foreground mb-1 font-semibold">
+ <p className="text-foreground mb-1 font-bold">
Single score selected:
</p>
<p>View distribution and trends over time</p>
</div>
<div className="bg-background/50 rounded-lg p-4">
- <p className="text-foreground mb-1 font-semibold">
+ <p className="text-foreground mb-1 font-bold">
Two scores selected:
</p>
<p>
diff --git a/web/src/pages/project/[projectId]/settings/index.tsx b/web/src/pages/project/[projectId]/settings/index.tsx
index 4ae89f5dd8..5d87c6529b 100644
--- a/web/src/pages/project/[projectId]/settings/index.tsx
+++ b/web/src/pages/project/[projectId]/settings/index.tsx
@@ -349,7 +349,7 @@ const Integrations = (props: { projectId: string }) => {
</Card>
<Card className="p-3">
- <span className="font-semibold">Blob Storage</span>
+ <span className="font-bold">Blob Storage</span>
<p className="text-primary mb-4 text-sm">
Configure scheduled exports of your trace data to S3 compatible
storages or Azure Blob Storage. Set up a scheduled export to your
@@ -378,7 +378,7 @@ const Integrations = (props: { projectId: string }) => {
<Card className="p-3">
<div className="mb-4 flex items-center gap-2">
<SiSlack className="text-foreground h-5 w-5" />
- <span className="font-semibold">Slack</span>
+ <span className="font-bold">Slack</span>
</div>
<p className="text-primary mb-4 text-sm">
Connect a Slack workspace and create channel automations to receive
diff --git a/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx b/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx
index 1d6f575c23..aaab77cde4 100644
--- a/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx
+++ b/web/src/pages/project/[projectId]/settings/integrations/mixpanel.tsx
@@ -341,7 +341,7 @@ const MixpanelIntegrationSettingsForm = ({
>
{exportSourceOptions.map((option) => (
<div key={option.value} className="space-y-0.5">
- <div className="font-medium">{option.label}</div>
+ <div className="font-bold">{option.label}</div>
<div className="text-muted-foreground text-xs">
{option.description}
</div>
diff --git a/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx b/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx
index 948ed167ac..0a3d0a0e01 100644
--- a/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx
+++ b/web/src/pages/project/[projectId]/settings/integrations/posthog.tsx
@@ -317,7 +317,7 @@ const PostHogIntegrationSettings = ({
>
{exportSourceOptions.map((option) => (
<div key={option.value} className="space-y-0.5">
- <div className="font-medium">{option.label}</div>
+ <div className="font-bold">{option.label}</div>
<div className="text-muted-foreground text-xs">
{option.description}
</div>
diff --git a/web/src/pages/project/[projectId]/settings/integrations/slack.tsx b/web/src/pages/project/[projectId]/settings/integrations/slack.tsx
index 4984d83cdc..c2ca860743 100644
--- a/web/src/pages/project/[projectId]/settings/integrations/slack.tsx
+++ b/web/src/pages/project/[projectId]/settings/integrations/slack.tsx
@@ -117,9 +117,7 @@ export default function SlackIntegrationSettings() {
</CardHeader>
<CardContent className="space-y-4">
<div>
- <h4 className="mb-2 text-sm font-medium">
- Select Test Channel
- </h4>
+ <h4 className="mb-2 text-sm font-bold">Select Test Channel</h4>
<div className="max-w-md">
<ChannelSelector
projectId={projectId}
@@ -135,18 +133,18 @@ export default function SlackIntegrationSettings() {
{selectedChannel && (
<div className="space-y-4 border-t pt-4">
<div>
- <h4 className="mb-3 text-sm font-medium">
+ <h4 className="mb-3 text-sm font-bold">
Channel Information
</h4>
<div className="grid gap-4 md:grid-cols-2">
<div>
- <p className="text-sm font-medium">Channel Name</p>
+ <p className="text-sm font-bold">Channel Name</p>
<p className="text-muted-foreground text-sm">
#{selectedChannel.name}
</p>
</div>
<div>
- <p className="text-sm font-medium">Channel Type</p>
+ <p className="text-sm font-bold">Channel Type</p>
{isManualEntry ? (
<span className="text-muted-foreground text-xs">
Available after sending a test message
@@ -158,7 +156,7 @@ export default function SlackIntegrationSettings() {
)}
</div>
<div>
- <p className="text-sm font-medium">Channel ID</p>
+ <p className="text-sm font-bold">Channel ID</p>
{isManualEntry ? (
<span className="text-muted-foreground text-xs">
Available after sending a test message
diff --git a/web/src/pages/project/[projectId]/settings/models/[modelId].tsx b/web/src/pages/project/[projectId]/settings/models/[modelId].tsx
index 217dcd39ae..e2e5090a33 100644
--- a/web/src/pages/project/[projectId]/settings/models/[modelId].tsx
+++ b/web/src/pages/project/[projectId]/settings/models/[modelId].tsx
@@ -99,7 +99,7 @@ export default function ModelDetailPage() {
if (!isLoading && !model) {
return (
<div className="flex min-h-screen flex-col items-center justify-center">
- <div className="mb-4 text-xl font-medium">Model not found</div>
+ <div className="mb-4 text-xl font-bold">Model not found</div>
<Button variant="outline" asChild>
<Link href={`/project/${projectId}/settings/models`}>
Return to Models page
@@ -167,14 +167,14 @@ export default function ModelDetailPage() {
</CardHeader>
<CardContent className="grid gap-4">
<div>
- <div className="text-muted-foreground text-sm font-medium">
+ <div className="text-muted-foreground text-sm font-bold">
Match Pattern
</div>
<div className="mt-1 font-mono text-sm">{model.matchPattern}</div>
</div>
<div>
- <div className="text-muted-foreground text-sm font-medium">
+ <div className="text-muted-foreground text-sm font-bold">
Maintained by
</div>
<div className="mt-1 text-sm">
@@ -183,7 +183,7 @@ export default function ModelDetailPage() {
</div>
<div>
- <div className="text-muted-foreground text-sm font-medium">
+ <div className="text-muted-foreground text-sm font-bold">
Tokenizer
</div>
<div className="mt-1 text-sm">{model.tokenizerId || "None"}</div>
@@ -191,7 +191,7 @@ export default function ModelDetailPage() {
{model.tokenizerId && (
<div>
- <div className="text-muted-foreground text-sm font-medium">
+ <div className="text-muted-foreground text-sm font-bold">
Tokenizer Config
</div>
<pre className="bg-muted mt-1 rounded p-2 text-sm">
@@ -208,7 +208,7 @@ export default function ModelDetailPage() {
<CardTitle>Pricing</CardTitle>
{model.pricingTiers.length > 1 && (
<div className="flex items-center gap-4">
- <label className="text-muted-foreground text-sm font-medium">
+ <label className="text-muted-foreground text-sm font-bold">
Pricing Tier
</label>
<Select
@@ -242,7 +242,7 @@ export default function ModelDetailPage() {
className="max-h-[80vh] w-[400px] overflow-auto"
collisionPadding={20}
>
- <p className="text-sm font-medium">
+ <p className="text-sm font-bold">
Pricing Tier Conditions
</p>
<p className="text-muted-foreground pt-2 text-sm">
@@ -271,7 +271,7 @@ export default function ModelDetailPage() {
</CardHeader>
<CardContent>
<div className="flex flex-col gap-2">
- <div className="border-border text-muted-foreground grid grid-cols-2 gap-2 border-b text-sm font-medium">
+ <div className="border-border text-muted-foreground grid grid-cols-2 gap-2 border-b text-sm font-bold">
<span>Usage Type</span>
<span className="flex items-center gap-2">
<span>Price {priceUnit}</span>
diff --git a/web/src/pages/project/[projectId]/users/[userId].tsx b/web/src/pages/project/[projectId]/users/[userId].tsx
index a274334b6a..e08d62b342 100644
--- a/web/src/pages/project/[projectId]/users/[userId].tsx
+++ b/web/src/pages/project/[projectId]/users/[userId].tsx
@@ -152,7 +152,7 @@ export default function UserPage() {
tab === currentTab
? "border-primary-accent text-foreground"
: "text-muted-foreground hover:border-border hover:text-foreground border-transparent",
- "border-b-2 px-4 py-3 text-sm font-medium whitespace-nowrap",
+ "border-b-2 px-4 py-3 text-sm font-bold whitespace-nowrap",
)}
aria-current={tab === currentTab ? "page" : undefined}
onClick={() => handleTabChange(tab)}
diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css
index f892599396..3a12219595 100644
--- a/web/src/styles/globals.css
+++ b/web/src/styles/globals.css
@@ -9,6 +9,35 @@
@custom-variant dark (&:where(.dark, .dark *));
+/* App font tokens. The typeface is deliberately DEFERRED: the app ships the
+ system stacks while the token system (families here, weight roles below,
+ text-* size+weight tokens) stays fully font-relative. Adopting a webfont
+ later = load it via next/font in a src/styles/fonts.ts (declare its vars on
+ :root from _app β€” next/font CSS is silently dropped in _document), prepend
+ its var to the stacks below, and retune the two weight-role numbers
+ (history: IBM Plex wanted bold 500, Inter bold 600). The theme-lab panel
+ can preview typefaces live without shipping them. Deliberately a plain
+ @theme block (not `inline`): preflight reads var(--font-sans) at runtime,
+ and only non-inline themes emit the :root custom property. `static`: emit
+ the weight-role vars even when unused in source β€” the theme-lab tool and
+ inline styles read them at runtime. */
+@theme static {
+ --font-sans:
+ ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
+ "Segoe UI Symbol", "Noto Color Emoji";
+ --font-mono:
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
+ "Courier New", monospace;
+
+ /* Weight ROLES β€” exactly TWO weights exist in this app: regular and bold.
+ Both are font-relative, so components never hardcode numbers.
+ `--font-weight-bold` deliberately overrides Tailwind's built-in bold
+ (700): the `font-bold` utility IS the bold role. font-medium /
+ font-semibold / raw numbers are drift β€” use font-bold or nothing. */
+ --font-weight-regular: 400;
+ --font-weight-bold: 600;
+}
+
@theme inline {
/* Disable unused built-in Tailwind color palettes. */
--color-lime-*: initial;
@@ -19,9 +48,11 @@
--color-neutral-*: initial;
--color-stone-*: initial;
--color-slate-*: initial;
+ --color-zinc-*: initial;
+ --color-indigo-*: initial;
/* TODO: Disable the remaining default palettes: red, orange, amber, yellow,
- green, emerald, teal, blue, indigo, violet, purple, pink, gray, zinc. */
+ green, emerald, teal, blue, violet, purple, pink, gray. */
--spacing-banner-offset: var(--banner-offset);
--spacing-screen-with-banner: calc(100svh - var(--banner-offset));
@@ -105,13 +136,26 @@
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
+ /* Text styles: each size token carries its canonical weight, so `text-*`
+ alone yields a complete style (one weight per token β€” the design-system
+ rule). Weights reference the font-relative weight roles above; heavier
+ text opts in via `font-bold` (the bold role) β€” never a raw number.
+ Any other weight utility is drift (the theme-lab tool samples drift
+ per token). */
--text-xs: 0.7rem;
+ --text-xs--font-weight: var(--font-weight-regular);
--text-sm: 0.825rem;
+ --text-sm--font-weight: var(--font-weight-regular);
--text-base: 0.9rem;
+ --text-base--font-weight: var(--font-weight-regular);
--text-lg: 1.1rem;
+ --text-lg--font-weight: var(--font-weight-regular);
--text-xl: 1.2rem;
+ --text-xl--font-weight: var(--font-weight-regular);
--text-2xl: 1.3rem;
+ --text-2xl--font-weight: var(--font-weight-regular);
--text-3xl: 1.5rem;
+ --text-3xl--font-weight: var(--font-weight-regular);
--animate-rainbow: rainbow var(--speed, 2s) infinite linear;
--animate-accordion-down: accordion-down 0.2s ease-out;
@@ -197,16 +241,16 @@
--surface-code: 0 0% 98%;
--popover: 0 0% 100%;
- --popover-foreground: 222.2 84% 4.9%;
+ --popover-foreground: var(--foreground);
--card: 0 0% 100%;
- --card-foreground: 222.2 84% 4.9%;
+ --card-foreground: var(--foreground);
/* Blocking overlay surfaces (Dialog/AlertDialog/Sheet/Drawer/peek).
Light themes keep the alternating white model (Carbon: light layers
alternate, dark layers step lighter), so this matches --background. */
--modal: 0 0% 100%;
- --modal-foreground: 222.2 84% 4.9%;
+ --modal-foreground: var(--foreground);
--header: 210 40% 98%;
--header-foreground: var(--foreground);
@@ -338,12 +382,12 @@
plus hairline borders, not shadows. */
/* Neutral (zero-saturation) ladder β€” de-tinted per Trang's call after a
cool/neutral/warm A-B. Text hierarchy comes from the WIDE GAP between
- tiers: emphasis 91% > body 88% > meta 54% > faint 40%, with sidebar nav
+ tiers: emphasis 91% > body 70% > meta 54% > faint 40% (body tuned live 2026-07-16), with sidebar nav
dimmer than content until active. Bright tiers cap near 91% (the docs
site caps at 90%) β€” never near-white. Don't compress the ramp β€” the
gap is the hierarchy. */
--background: 0 0% 6%;
- --foreground: 0 0% 88%;
+ --foreground: 0 0% 70%;
--muted: 0 0% 11.6%;
--muted-foreground: 0 0% 54%;
@@ -351,13 +395,13 @@
--surface-code: 0 0% 2.3%;
--popover: 0 0% 12%;
- --popover-foreground: 0 0% 88%;
+ --popover-foreground: var(--foreground);
--card: 0 0% 7.5%;
- --card-foreground: 0 0% 88%;
+ --card-foreground: var(--foreground);
--modal: 0 0% 9%;
- --modal-foreground: 0 0% 88%;
+ --modal-foreground: var(--foreground);
--header: 0 0% 2%;
--header-foreground: var(--foreground);